Author |
|
sasan
Joined: 12 Oct 2006 Posts: 3
|
Posted: Thu 12 Oct '06 11:40 Post subject: Big problem on running php on apache |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 12 Oct '06 12:21 Post subject: |
|
|
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
|
Posted: Sun 15 Oct '06 20:04 Post subject: |
|
|
in witch line of httpd.conf i shoud put in this block? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sun 15 Oct '06 20:18 Post subject: |
|
|
Put it where you like to. |
|
Back to top |
|
sasan
Joined: 12 Oct 2006 Posts: 3
|
Posted: Mon 16 Oct '06 10:18 Post subject: |
|
|
hi
thanks mr james blond |
|
Back to top |
|