Home>Article>Backend Development> What should I do if the system cannot find the specified path in PHP?

What should I do if the system cannot find the specified path in PHP?

藏色散人
藏色散人 Original
2020-07-23 09:19:36 3434browse

Solution to the problem that the system cannot find the specified path in php: First click the "Configuration" button and select the "Mapping" tab; then click "Add executable file" and add the "fcgiext.dll" extension Set it to ".php"; finally save the settings.

What should I do if the system cannot find the specified path in PHP?

Configuring PHP keeps prompting "The system cannot find the specified file."?

1. Click the "Configuration" button and select the "Mapping" tab page. Click "Add... executable file" and set it to: C:\WINDOWS\system32\inetsrv\fcgiext.dll. Set the extension to .php

Be sure to select "Confirm whether the file exists and then "OK" to save Settings

2. Edit C:\WINDOWS\system32\inetsrv\fcgiext.ini

Put the following content at the end of the file.

[Types] php=PHP [PHP] ExePath="你的php的目录\php-cgi.exe"

Recommended: "PHP Tutorial

3. Restart IIS

Instructions: After downloading fastcgi from Microsoft, two fcgiext.dll

fcgiext.ini

are installed by default. File to C:\WINDOWS\system32\inetsrv\

The above is the detailed content of What should I do if the system cannot find the specified path in PHP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn