A few changes with 10.04 LAMP
Just to save others scratching their heads. With the new system install there are a few changes that are quite important.
MagicQuotes are now OFF
Error reporting is now disabled. This is important as error reporting can give hints to hackers about your system.
To allow those like me, who need error reporting on for development work, they now ship some further information on it.
has the current file (production) for configuring up the php security and has comments as to what is turned on and off between 'production' and 'development'.
As they're real nice people, they have made things even easier and ship both the production and development versions over at
Simply copy over the one you need from there over to
To switch TO development security
sudo cp /usr/share/doc/php5-common/examples/php.ini-development /etc/php5/apache2/php.ini
To switch BACK to production security
sudo cp /usr/share/doc/php5-common/examples/php.ini-production /etc/php5/apache2/php.ini
In each case, you need to restart the apache server
sudo /etc/init.d/apache2 restart