| 1 |
You have to config in php.ini file which located in /etc/php5/apache2/php.ini |
|
|
| 2 |
Now go to Terminal by Applications > Accessories > Terminal |
|
|
|
| 3 |
Copy the following command and paste to Terminal
sudo gedit /etc/php5/apache2/php.ini
|
|
|
|
| 4 |
After that gedit will open php.ini file and ready for you to modify |
|
|
|
| 5 |
Press Ctrl+F and type register_global |
|
|
|
| 6 |
Just make sure that register_globals = On |
|
|
|
| 7 |
Restart apache by typing in Terminal
sudo /etc/init.d/apache2 restart |
|
|
|