In a short time we will show you, how to change the PHP settings on your virtual server. If you need to change parameters memory_limit , open_basedir , safe_mode and many others, you can do it in the configuration file:
/etc/php5/apache2/php.ini
If you change the settings for command line:
/etc/php5/cli/php.ini
Subdirectory conf.d contains configuration files for each module.
If you have installed APC via package php-apc, you can change its parameters in:
/etc/php5/conf.d/apc.ini
if specifically for Apache2, then in:
/etc/php5/apache2/conf.d/apc.ini
For new configuration to load, you need to call:
apache2ctl graceful