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.
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!