Configuring apache supports PHP5 under Windows

xiaoxiao2021-03-06  52

1 When you install Apache, then install the PHP5 installation, select the APCHE server, then find the httpd.conf file under the Apache / Conf directory to change the port 80 to other parameters, such as 8083 (the system is not occupied) 80 port is generally IIS is occupied.

2 find

Add to join

Scriptalias / cgi-bin / "d: / apache / cgi-bin /"

Scriptalias / php / "c: / php /" addtype application / x-httpd-php .php addtype application / x-httpd-php .php3 addtype application / x-httpd-php .php4 action application / x-httpd-php " / php/php-cgi.exe "

3 test

Establish the following file to the HTDOCS / HTML directory PHPINFO.PHP

PHPINFO ();?> Test http: / localhost: 8083 / html / phpinfo.php test success!

转载请注明原文地址:https://www.9cbs.com/read-116234.html

New Post(0)