store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat Apr 19, 2014 8:39 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Plesk 10.3.1 and "per domain php.ini" --> doesn't work :|
Unread postPosted: Fri Sep 30, 2011 7:13 am 
Offline
New Forum User
New Forum User

Joined: Fri Sep 30, 2011 6:57 am
Posts: 2
Location: ITA
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/PP10/10.3.1/Doc/en-US/online/plesk-linux-advanced-administration-guide/index.htm?fileName=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.


Top
 Profile  
 
 Post subject: Re: Plesk 10.3.1 and "per domain php.ini" --> doesn't work :
Unread postPosted: Fri Sep 30, 2011 3:30 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 29, 2007 6:51 pm
Posts: 635
Did you try this?

http://kb.parallels.com/9059
Using custom php.ini for Php in FastCGI mode per-domain


Top
 Profile  
 
 Post subject: Re: Plesk 10.3.1 and "per domain php.ini" --> doesn't work :
Unread postPosted: Mon Oct 03, 2011 4:24 am 
Offline
New Forum User
New Forum User

Joined: Fri Sep 30, 2011 6:57 am
Posts: 2
Location: ITA
hostingguy wrote:
Did you try this?

http://kb.parallels.com/9059
Using custom php.ini for Php in FastCGI mode per-domain


Thank you,

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 :evil:
with fcgi htaccess don't work ... moreover parallels doesn't help with KB or manuals ...

HELP !

thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group