UBB.Dev
Posted By: Brett apache - 01/24/2002 2:40 AM
I just set up apache on my win 98se system and i have a few questions.

How can i set up php and cgi?

I'm more concerned with getting php setup, i downloaded both the 4.1.1.tar.gz file and the php-4.1.1.win32.zip file(currently).

I edited the httpd.conf file to uncomment the addtypes on both cgi and php filetypes.

Now what?
Posted By: DPK.ducky.quack Re: apache - 01/24/2002 5:47 AM
i hope u don't plan to publically host anything on that server, win98 is not the best thing in the world to put a server on. upgrade to win2k or winxp for better performance.

for cgi download ActivePerl from ActiveState

http://www.activestate.com/Products/Download/Get.plex?id=ActivePerl

for php, the readme included with the zip should basically explain itself. unzip it, put it in a dir, put php.ini in ure root directory, edit it.

and don't forget this in httpd.conf for apache (adjust for your needs, i just ripped this out of my config file):

# PHP
ScriptAlias /php/ "d:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

[ 01-23-2002 09:50 PM: Message edited by: DPK ]
Posted By: Brett Re: apache - 01/24/2002 3:12 PM
Oh dear god no. My machine couldn't handle that, this is just for testing purposes.

I was able to install php after some trial and errors.

Thanks for the cgi link!
Posted By: navaho Re: apache - 01/24/2002 10:45 PM
You do realize that UBB 6 will not work properly on a win98 system, don't you?
© UBB.Developers