Page 1 of 1

FATAL ERROR: register_globals is disabled in

Posted: Sun May 11, 2003 3:34 am
by juraba
Hello.... i have just installed the script setup_wamp_1.1.0.exe that installs apache server mysql and php4 on a windows xp pc. The server and the database works fine . I'm having trouble with oscommerce installation on my localhost. When i try to launch the installation script i get this error (FATAL ERROR: register_globals is disabled in php.ini, please enable it!) I have changed the file php.ini and set the (register_globals to "on" and place it in the windows/system directory. Do i have to change other tnings in order to make it work? httpd.conf parameters seems to be ok also..

Thanks to all and regards

Juraba.

Posted: Sun May 11, 2003 4:11 am
by twigletmac
The php.ini should just be in the windows directory - not in the windows/system directory - if you move the file there and then restart Apache you should have reg_globals turned on.

Mac

Posted: Sun May 11, 2003 5:35 am
by volka
if not

Code: Select all

<?php phpinfo(); ?>
will tell you which php.ini is used (if present)
You might also place a file .htaccess in the script directory with

Code: Select all

php_flag register_globals On
as contents.