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

藏色散人
Release: 2023-03-02 22:24:01
Original
3482 people have browsed it

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"
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template