LinqLOL
Basic Pleskian
General
It seems that when using subdomains the php.ini of the site is not being used but the system wide php.ini in the /etc directorie.
This breaks stuff a lot!
Howto reproduce:
* Create a subdomain under a hosting package (with php fastcgi)
* be sure you change the php setting: session.save_patch to {WEBSPACEROOT}/tmp/
* create a php test file showing phpinfo(); on BOTH main domain and subdomain.
* compare both test.php files output. You will see that on the mainwebsite the php variable "Loaded Configuration File" is filled with /var/www/vhosts/xxxxxx.com/etc/php.ini but on the subdomain it shows: /etc/php.ini
Result SHOULD return:
The session.save_patch in phpinfo(); should show something like this: /var/www/vhosts/xxxxxxxx.com/tmp/
Actual result
But under subdomains it's showing: "/var/lib/php/session"
I tested this on a Plesk 11 installation not older then 1 month. More people who can confirm this?
It seems that when using subdomains the php.ini of the site is not being used but the system wide php.ini in the /etc directorie.
This breaks stuff a lot!
Howto reproduce:
* Create a subdomain under a hosting package (with php fastcgi)
* be sure you change the php setting: session.save_patch to {WEBSPACEROOT}/tmp/
* create a php test file showing phpinfo(); on BOTH main domain and subdomain.
* compare both test.php files output. You will see that on the mainwebsite the php variable "Loaded Configuration File" is filled with /var/www/vhosts/xxxxxx.com/etc/php.ini but on the subdomain it shows: /etc/php.ini
Result SHOULD return:
The session.save_patch in phpinfo(); should show something like this: /var/www/vhosts/xxxxxxxx.com/tmp/
Actual result
But under subdomains it's showing: "/var/lib/php/session"
I tested this on a Plesk 11 installation not older then 1 month. More people who can confirm this?