[KLUG Members] Oh, the joys of upgrading!

Robert G. Brown members@kalamazoolinux.org
Fri, 27 Dec 2002 00:56:02 -0500


Moving things along to Apache2/PHP, I couldn't help but notice that 
expressions like:

  php_flag magic_quotes_gpc Off

Seem to have gone out of fashion. This was even harder to ignore when
attempting to restart httpd.conf which such expressions yeilded the
following result:

Starting httpd: Syntax error on line 94 of /etc/httpd/conf/new-virthosts.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
                                                           [FAILED]

But...but... it worked in version 1.x!

OK, no whining. Time marches on and we no long are running PHP as a module. 
However, I'd like the same effect, being able to in essence set these values
per virtual host. It is interesting to note that there was no objection to
the use php_value on the previous line of the file.

If someone has been trhough this territory, please illuminate the way. Some
searches of php.net and other sources have been unrevealing.

							Regards,
							---> RGB <---