Forum Moderators: coopster

Message Too Old, No Replies

2 php's one=reg glob on, other reg glob off

Is it possible to run RH with 2 PHP flavors

         

henry0

11:50 am on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it possible to run one RH9 installed with 2 PHP.ini
one with the register global off
the other with register global on

can that be achieved short of dual booting two full RH install

thanks

Henry

coopster

1:25 pm on Feb 26, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Not to the best of my knowledge. There are other workarounds though, especially if you are running virtual hosts [httpd.apache.org]. A quick and easy is to drop an .htaccess [httpd.apache.org] file in the root directory of the virtual host that you would like to alter. The following threads have some insights:

Clarification of Global Variables OFF [webmasterworld.com]
Work around for global_variables=off [webmasterworld.com]
php.ini problems [webmasterworld.com]
Troubleshooting [webmasterworld.com]

henry0

2:02 pm on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Coopster
the .htaccess direction should work