G
gp92300
Guest
Hi all,
I'm running Plesk v9.3 and I successfully configured a Joomla 1.7.3 installation.
Under Plesk domain configuration PHP is on, Safe Mode is off, CGI is on, FastCGI is on.
Still I need to tweak PHP directives (memory_limit, upload_max_filesize, and so on) using php.ini
I followed instructions found on Plesk Knowledge Base here :
Using custom php.ini for PHP in FastCGI mode per-domain
http://kb.parallels.com/en/9059
When I place php.ini under /var/www/vhosts/domain.tld/conf/
it is not taken into account and it makes me angryyyyy.
I created a phpinfo.php with <?php phpinfo(); ?> inside which shows this :
PHP Version 5.2.4-2ubuntu5.17
Server API: CGI/FastCGI
Virtual Directory Support: disabled
Configuration File (php.ini) Path: /etc/php5/cgi
Loaded Configuration File: (none)
PHP API: 20041225
PHP Extension: 20060613
Environment
PATH: /usr/local/bin:/usr/bin:/bin
PHPRC: /etc/php.ini
PWD: /var/www/cgi-bin/cgi_wrapper
What is your advice for having a php.ini file for each domain ?
Thanks (and happy new year!)
I'm running Plesk v9.3 and I successfully configured a Joomla 1.7.3 installation.
Under Plesk domain configuration PHP is on, Safe Mode is off, CGI is on, FastCGI is on.
Still I need to tweak PHP directives (memory_limit, upload_max_filesize, and so on) using php.ini
I followed instructions found on Plesk Knowledge Base here :
Using custom php.ini for PHP in FastCGI mode per-domain
http://kb.parallels.com/en/9059
When I place php.ini under /var/www/vhosts/domain.tld/conf/
it is not taken into account and it makes me angryyyyy.
I created a phpinfo.php with <?php phpinfo(); ?> inside which shows this :
PHP Version 5.2.4-2ubuntu5.17
Server API: CGI/FastCGI
Virtual Directory Support: disabled
Configuration File (php.ini) Path: /etc/php5/cgi
Loaded Configuration File: (none)
PHP API: 20041225
PHP Extension: 20060613
Environment
PATH: /usr/local/bin:/usr/bin:/bin
PHPRC: /etc/php.ini
PWD: /var/www/cgi-bin/cgi_wrapper
What is your advice for having a php.ini file for each domain ?
Thanks (and happy new year!)