FATAL ERROR: register_globals is disabled in php.ini, please enable it!

To resolve this error we need to add or modify our php.ini file to enable the register_globals setting.

Find the location of the php.ini file.

Edit the file /usr/local/lib/php.ini  using vi editor and uncomment the line (removing the ; will uncomment the line) register_globals.
Change register_globals = Off to  register_globals = On

Save the file and exit .