PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Oct 17, 2019 6:42 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jan 06, 2015 6:31 pm 
Offline
Forum Newbie

Joined: Tue Jan 06, 2015 6:18 pm
Posts: 1
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


Top
 Profile  
 
PostPosted: Tue Jan 06, 2015 6:37 pm 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada

_________________


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group