Errors after Upgrading Apache 2.0 and RedHat 8.0

chanphoto
chanphoto's picture

Joined: 2002-10-20
Posts: 1
Posted: Sun, 2002-10-20 19:43

HTTPD Error Logs

[Sun Oct 20 15:21:30 2002] [alert] [client 66.152.24.6] /var/www/chanphoto/gallery/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.chanphoto.com/intro.html

I upgrade from 7.3 to 8.0 RedHat and I am now getting Apache ~ Server 500 Error and the above line in my log files. Help!

Chris

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7988
Posted: Mon, 2002-10-21 07:02

We don't support Apache 2 because PHP doesn't. See the requirements page, the sticky notes in this and the installation forum, etc.

Having said that, try using Gallery v1.3.2 from CVS -- I think I've fixed this particular problem.

 
mhaldima

Joined: 2002-09-08
Posts: 11
Posted: Wed, 2002-10-30 21:48

I encountered the same problem, but it's easily solved:
Just remove the line containing the 'php_flag' from the .htaccess file supplied with gallery and everything works.
Please note that the .htaccess-file will be placed back to its original (non-working) state when you run the configuration script later.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Thu, 2002-10-31 04:40

Try changing "php_flag" (which was deprecated) to "php_value". This has been fixed in the latest CVS version.