Page 1 of 1

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

Posted: Sat Jun 22, 2002 12:34 am
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.

Posted: Sat Jun 22, 2002 4:41 pm
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.