Guest Posted February 17, 2006 Posted February 17, 2006 After installing OSC manually and via fantastico deluxe ( said install sucessful): I keep getting the error message after login: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. Please help with any suggestion most welcome! Thanks!!! :rolleyes:
mreigle Posted February 17, 2006 Posted February 17, 2006 After installing OSC manually and via fantastico deluxe ( said install sucessful): I keep getting the error message after login: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. Please help with any suggestion most welcome! Thanks!!! :rolleyes: I Googled and found this: -------------------------- Providing your host has enabled AllowOverrides for your account, you can enable register_globals for your web application via your .htaccess file! Here is how to enable register_globals via .htaccess: 1. Create an .htaccess in your virtual host's root directory 2. put the following code in it: # Override PHP settings. The first IfModule is # for Apache 1.3, the second for Apache 2. <IfModule mod_php4.c> php_value register_globals 1 </IfModule> <IfModule sapi_apache2.c> php_value register_globals 1 </IfModule> 3. Save the settings 4. Run your previous phpinfo script and check the settings. register_globals will now be enabled for your virtual host! --------------------- Keep in mind, this only works if your host has allowed overrides. Where it refers to the phpinfo script, do this: (it's not required but gives you all sorts of useful info about your install of PHP) Create an empty file named phpinfo.php and put this inside the document: <?PHP phpinfo(); ?> Save and access phpinfo.php through your browser.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.