1

On each virtualhost, I have a custom php.ini:

PHPINIDir /var/www/site1/php.ini

What I currently do is copy the original /etc/php.ini to /var/www/site1/php.ini then do the modifications. But it's a headache, how can I just enter only the values which I want to change so the content of /var/www/site1/php.ini for example will just override the default php.ini?

memory_limit = 256M
Jürgen Paul
  • 1,315

1 Answers1

2

You can use php_value to override specific values, e.g. php_value memory_limit 256M.

ThiefMaster
  • 398
  • 1
  • 4
  • 19