PHP with Apache 2 is not working for me - help.

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
shankariyer
Forum Newbie
Posts: 1
Joined: Sat Jun 22, 2002 12:34 am

PHP with Apache 2 is not working for me - help.

Post by shankariyer »

hello,

I've Apache 2.0.35 up and running. Installed PHP 4.2.1( for W2k ). I've some basic questions, can someone help me.

I followed the instructions on install.txt but it doesn't seem to work.

The only change I did in php.ini is including the extension_dir where I had installed PHP.
Q : Do I need to copy this file to %SYSTEMROOT%( winnt/system32 ) or leave it in PHP's home directory ?

On httpd.conf,
Q : Do I need give the directory structure for "ScriptAlias" or not ?

I added the entry - AddType application/x-httpd-php .php .phtml
Q : I guess I need this, correct ?

I also added
Action application/x-httpd-php "F:/Program Files/php-4.2.1-Win32/php.exe"
Q : Is this required ?

Basic question of all,
Q : while I give the directory entries, is it \ or / ?

All help are really appreciated. Thanks.

- shanky.
MattF
Forum Contributor
Posts: 225
Joined: Sun May 19, 2002 9:58 am
Location: Sussex, UK

Post by MattF »

I installed and uninstalled Apache2 4 times yesterday and messed about with it for ages. I gave up in the end. I suggest you stick with the older versions for the time being until they all get their acts together. Apache2 has several "issues" so I hear.
Post Reply