At 13:32 2-4-03, you wrote:
FATAL ERROR: register_globals is disabled in php.ini, please enable it!

How can I make this?

First question would be: do i want this? Since PHP 4.10 the register_globals is turned off by default, see the release notes at http://www.php.net/release_4_1_0.php .


Second question: do you have access to php.ini? If not, ask your host to set it.

If you do have your own server, find php.ini, it is typically on the location you specified on installation (if you read the instructions), or else in
WINDOWS: c:/windows/php.ini or do a search for file php.ini
LINUX: /etc/ (something)/php.ini with (something) depending on your unix/linux type. try typing: where php.ini


In php.ini find the line that says register_globals=Off
and now change Off to ON.
Have a carefull look at the other options too. Change what you want to change.

Now, unless you know PHP runs as a CGI script, restart your server to make the changes have effect.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to