PHP and Apache
Moderator: General Moderators
-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am
PHP and Apache
Wondering if anyone can help me. I am trying to set up an Apache 1.3.3 server and enable PHP with it. I have got Apache installed. Then I installed PHP 5. I read the install and grabbed the two lines of code and entered it into to proper locations by loadmodule and addmodule. But after I restarted the server it still doesn't recognize any PHP scripts. Does anyone know what I did wrong or what I might still need to do?
thanks in advance!
thanks in advance!
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phpsMoved to Web Servers.
-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am
-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
have you tried following the direction here:
http://php.net/install.windows.apache1
http://php.net/install.windows.apache1
-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am
# Add to the end of the LoadModule section
LoadModule php5_module "C:/php/php5apache.dll"
# Add to the end of the AddModule section
AddModule mod_php5.c
These are the two lines i mention in first post. the only thing that confuses me is that "php5apache.dll" is not in the php directory after install?? i have "php5ts.dll"
LoadModule php5_module "C:/php/php5apache.dll"
# Add to the end of the AddModule section
AddModule mod_php5.c
These are the two lines i mention in first post. the only thing that confuses me is that "php5apache.dll" is not in the php directory after install?? i have "php5ts.dll"
-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am
-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
oops, sorry DirectoryIndexOne I use locally.. The files are listed in order of precedence...
Code: Select all
DirectoryIndex portal.php index.php default.php index.html index.html.var-
youngblood
- Forum Newbie
- Posts: 9
- Joined: Thu Sep 01, 2005 9:24 am