I've set up a test site on my computer (it happens to use Win ME) with Apache2.0.36 and PHP 4.2.1 and MySQL. It all seems to works fine.
But I'm trying to set up a PHP-based online photoalbum system called Gallery (http://gallery.jacko.com/index.php). It is a Linux project, but works equally on Windows.
The trouble is, in the setup folder there's a .htaccess file, and when trying to run setup, Apache complains with an Error 500:
Error message:
C:/Apache2/htdocs/nuke/modules/gallery/setup/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
What gives? php_value not valid on Apache2?? If I comment that out, it complains about the next line with php_flag. Only when I disable .htaccess by renaming it can the setup run, without setting the values in .htaccess. I'd prefer not to set it in the main httpd.conf file, but to have it work as it should. I set OptionsOverride All in Apache (it's just an intranet site). I used the standard msi installer from Apache and PHP zip manual install.
The .htaccess file is as follows:
php_value auto_prepend_file php_value_ok.php
php_flag magic_quotes_gpc off
php_flag register_globals on
Options FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule (index.php)$ index.php?init_mod_rewrite=1&ersandbroken= [QSA]
</IfModule>
Something I should be enabling or setting? Problems with Apache2?