These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for PHP Fatal error: Directive 'register_globals' is no longer available in PHP in Unknown on line 0 on the new forum.
Howdy,
Was this domain migrated from an older distribution perhaps?
You may want to review your PHP config files within /etc/, and comment out the "register_globals" line if you see one.
-Eric
thx no its new install
latest php on debian
there is no register_globals in php.ini
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
http://serverfault.com/questions/449562/register-globals-error-in-php
why do I need this cron job? [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean ?
is it set by webmin ?
i found it
root@ns1:/etc/cron.d# grep register_globals /etc/php5/*/php.ini /etc/php5/cgi/php.ini:register_globals = On
Howdy,
I'm glad you found it!
That option shouldn't be seen in a new installation though... I'd double-check to make sure your php.ini file didn't come from another installation.
As far as the cron job you mentioned, that is installed by PHP itself.
-Eric