Need help in configuring PHP with Apache
Posted: Tue Jan 06, 2015 5:31 pm
[text][/text]Hi
I am new to PHP and Apache. And am in a process of installing PHP and APache...
I downloaded Apache 2.4 and PHP 5.4.13. And I installed..but as per the instructions i went through I changed the con
C:\Apache24\conf\httpd configuration file.
After changing the file Apache server is not starting.
changes done :
A.Add the following line after all of the LoadModule statements:
LoadModule php5_module "c:/php/php5apache2_2.dll"
B. Search for AddType, and add the following after the last AddType line:
AddType application/x-httpd-php .php
C. Add the PHP location to the end of the httpd.conf file. For example, at the end of the file, add the following:
PHPIniDir "c:/php"
Afetr updating the file am getting error on Apache start up.
Can any one please help me to configure and can run PHP from apache.
Regards
Sudhakar
I am new to PHP and Apache. And am in a process of installing PHP and APache...
I downloaded Apache 2.4 and PHP 5.4.13. And I installed..but as per the instructions i went through I changed the con
C:\Apache24\conf\httpd configuration file.
After changing the file Apache server is not starting.
changes done :
A.Add the following line after all of the LoadModule statements:
LoadModule php5_module "c:/php/php5apache2_2.dll"
B. Search for AddType, and add the following after the last AddType line:
AddType application/x-httpd-php .php
C. Add the PHP location to the end of the httpd.conf file. For example, at the end of the file, add the following:
PHPIniDir "c:/php"
Afetr updating the file am getting error on Apache start up.
Can any one please help me to configure and can run PHP from apache.
Regards
Sudhakar