»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 11-04-2003, 07:57 PM   #1 (permalink)
Registered User
 
Join Date: Nov 2003
Posts: 60
pnewby is on a distinguished road
Send a message via AIM to pnewby Send a message via Yahoo to pnewby
installing PHP

alright i downloaded php-4.3.4-installer from php.net and installed it and it said that i had to set up apache (server i'm running) to work with php and to read the install file, well i took a look at the install file and my brain almost locked up trying to figure out what the heck they are talking about? can anyone help me?

pnewby is offline   Reply With Quote
Old 11-04-2003, 08:49 PM   #2 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Kingwood, TX
Posts: 935
Rand Dusing is on a distinguished road
Send a message via AIM to Rand Dusing
Let me find my httpd.conf file and I'll find the lines. Are you using Apache 2.x.xx? I'm using PHP 4.3.3 but it should be very similar. Make sure after you edit and save the file to restart apache.


I added the following lines under this line "ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"" without the extra quotes.

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

Here is an excerpt to make sure the quotes didn't confuse you:

# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

#
# "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
Rand Dusing is offline   Reply With Quote
Old 11-04-2003, 09:44 PM   #3 (permalink)
Registered User
 
Join Date: Nov 2003
Posts: 60
pnewby is on a distinguished road
Send a message via AIM to pnewby Send a message via Yahoo to pnewby
ok, i did all that now how do i use php on my server?
pnewby is offline   Reply With Quote
Old 11-05-2003, 04:20 PM   #4 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Kingwood, TX
Posts: 935
Rand Dusing is on a distinguished road
Send a message via AIM to Rand Dusing
Just restart the Apache server and it will load it up. Now PHP is enabled on your webpage or whatever. You can edit your php.ini file to your preferences but I wouldn't mess with it yet. To use it...you simply use something that needs PHP
Rand Dusing is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 11:09 PM.