PHP5.20 + Apache2.2.3 configuration problems in Windows
Source: Internet
Author: User
In Windows, the PHP installation directory for PHP5.20 + Apache2.2.3 is D: \ php5.2.0httpd. the related PHP settings in conf are: LoadModule & nbsp; php5_module & nbsp; & quot; d:/php5.2.0/php5apache2. dll & quot; PHP5.20 + Apache2.2.3 configuration problems in Windows
PHP installation directory: D: \ php5.2.0
The related PHP settings in httpd. conf are as follows:
LoadModule php5_module "d:/php5.2.0/php5apache2. dll"
PHPIniDir "d:/php5.2.0 /"
But why is it always unsuccessful? after commenting the two lines, it can be started again ....
Help me. I just learned PHP.
------ Solution --------------------
LoadModule php5_module "d: \ php5.2.0 \ php5apache2. dll"
PHPIniDir "d: \ php5.2.0 \ php. ini"
Make sure that php. ini is in this directory. change httpd. conf and try again.
------ Solution --------------------
LoadModule php5_module "% PATH %/php/php5apache2_2.dll"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service