Hi @ all,
i am new here but i am not new to this question i asked to parallels, to our provider, nothing... nobody can help me..
on our Plesk 10.3.1 we enabled FastCGI mode on "example.com" domain:
but it seems that Apache always uses "/etc/php.ini" and ignores "/var/www/vhosts/example.com/conf/php.ini" ...
http://download1.parallels.com/Plesk/PP ... =69310.htm
We made "example.com" with the default "Apache module", "/var/www/vhosts/example.com/conf/" and "/var/www/vhosts/example.com/etc/" folders were without any "php.ini"
After set FastCGI mode on "example.com", only in "/var/www/vhosts/example.com/etc/" folder appeared the "php.ini" as is:
[PHP]
open_basedir = /var/www/vhosts/example.com/httpdocs:/tmp
safe_mode = Off
"/var/www/vhosts/example.com/conf/" folder remains without any php.ini (is it normal ?)
so i put in "/example.com/conf/" this php.ini and I restarted Apache (httpd)
[PHP]
safe_mode = Off
open_basedir = /var/www/vhosts/example.com/httpdocs:/tmp
session.save_path = /var/www/vhosts/example.com/httpdocs/session ( <-- IGNORED !! the session was created in the default-php folder "/tmp" )
It seems that Apache IGNORES both "per domain php.ini" and it looks only to the general default "/etc/php.ini" ...
Why so ? Something missing ?
Thank you.
Plesk 10.3.1 and "per domain php.ini" --> doesn't work :|
-
- Forum Regular
- Posts: 661
- Joined: Mon Oct 29, 2007 6:51 pm
Re: Plesk 10.3.1 and "per domain php.ini" --> doesn't work :
Did you try this?
http://kb.parallels.com/9059
Using custom php.ini for Php in FastCGI mode per-domain
http://kb.parallels.com/9059
Using custom php.ini for Php in FastCGI mode per-domain
Re: Plesk 10.3.1 and "per domain php.ini" --> doesn't work :
Thank you,hostingguy wrote:Did you try this?
http://kb.parallels.com/9059
Using custom php.ini for Php in FastCGI mode per-domain
but this attach is for Plesk 9.x ...
APPLIES TO: Plesk 9.x for Linux/Unix
I have 10.3.1, i don't know if i can use..
and i cannot personalize php.ini per domain
with fcgi htaccess don't work ... moreover parallels doesn't help with KB or manuals ...
HELP !
thank you.