MoreThanSixChars
New Pleskian
Hello world,
in order to apply domain specific php.ini settings in a Plesk 11.5 setup, I tried to follow
http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=69310.htm
If I understand correctly, this basically says:
- Make sure that PHP runs in CGI or FastCGI mode
- Put your settings into /var/www/vhosts/<domain_name>/conf/php.ini
- These settings will be merged with those made via the Plesk GUI (in case of conflicts, the "conf" setting wins)
- The resulting merged php.ini will be written to /var/www/vhosts/<domain_name>/etc/php.ini
- The merge will not occur automatically, but must be triggered in the Plesk GUI
However, I can't get this to work. My observations are:
- A newly created webspace is located at /var/www/vhosts/<domain_name>, but has no "conf" or "etc" subdirectories by default.
- PHP is set to run as FastCGI by default already.
- If I create a "conf" subdirectory and place a php.ini file in it, this file will be ignored.
- Plesk does NOT create an "etc" subdirectory with a merged php.ini no matter how often I change PHP settings in the GUI (although the GUI settings have been confirmed and are remembered by Plesk).
What am I doing wrong?
in order to apply domain specific php.ini settings in a Plesk 11.5 setup, I tried to follow
http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=69310.htm
If I understand correctly, this basically says:
- Make sure that PHP runs in CGI or FastCGI mode
- Put your settings into /var/www/vhosts/<domain_name>/conf/php.ini
- These settings will be merged with those made via the Plesk GUI (in case of conflicts, the "conf" setting wins)
- The resulting merged php.ini will be written to /var/www/vhosts/<domain_name>/etc/php.ini
- The merge will not occur automatically, but must be triggered in the Plesk GUI
However, I can't get this to work. My observations are:
- A newly created webspace is located at /var/www/vhosts/<domain_name>, but has no "conf" or "etc" subdirectories by default.
- PHP is set to run as FastCGI by default already.
- If I create a "conf" subdirectory and place a php.ini file in it, this file will be ignored.
- Plesk does NOT create an "etc" subdirectory with a merged php.ini no matter how often I change PHP settings in the GUI (although the GUI settings have been confirmed and are remembered by Plesk).
What am I doing wrong?