logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Big problem on running php on apache
Author
sasan



Joined: 12 Oct 2006
Posts: 3

PostPosted: Thu 12 Oct '06 11:40    Post subject: Big problem on running php on apache Reply with quote

hi
i read this article http://www.apachelounge.com/viewtopic.php?t=570
i have a question about this line in article
Quote:
Finally, this should be the last step, edit the Apache CONF file (httpd.conf) with:

LoadModule php5_module "c:/php5/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php-source .phps
# configure the path to php.ini
PHPIniDir "c:/php5"


in witch part of httpd.conf i should insert these lines??
i insert first line after LoadModule part in httpd.conf file and insert second and third line after AddType part. i do not khow where i should inser forth line??
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 12 Oct '06 12:21    Post subject: Reply with quote

Copy all lines

Code:

LoadModule php5_module "c:/php5/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php-source .phps
# configure the path to php.ini
PHPIniDir "c:/php5"

and put this block at put in the httpd.conf
Back to top
sasan



Joined: 12 Oct 2006
Posts: 3

PostPosted: Sun 15 Oct '06 20:04    Post subject: Reply with quote

in witch line of httpd.conf i shoud put in this block?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 15 Oct '06 20:18    Post subject: Reply with quote

Put it where you like to.
Back to top
sasan



Joined: 12 Oct 2006
Posts: 3

PostPosted: Mon 16 Oct '06 10:18    Post subject: Reply with quote

hi
thanks mr james blond
Back to top


Reply to topic   Topic: Big problem on running php on apache View previous topic :: View next topic
Post new topic   Forum Index -> Other Software