PHP 5.2.5 woes

Support/Development for PHP
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

They said december, but being a developer myself I know that all of us are optimists. :P
exi1ed0ne
Forum Regular
Forum Regular
Posts: 190
Joined: Sun Nov 20, 2005 4:16 pm
Location: Right Behind You!
Contact:

Unread post by exi1ed0ne »

It's issues like these that I am really glad I found this site. When something is broke in Plesk, this is my first stop.

Thanks to everyone for all the help, and in particular for Scott hosting such a useful Plesk resource!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I havent automated this yet, but you can use the event manager to automatically update the zz psa file, and any other config you want when something changes. Basically you do a regex like this:

perl -p -i -e "s/php_admin_value include_path/php_value include_path/g" <path to file>
jusu313
Forum User
Forum User
Posts: 16
Joined: Wed May 24, 2006 12:05 pm

Unread post by jusu313 »

scott wrote:I havent automated this yet, but you can use the event manager to automatically update the zz psa file, and any other config you want when something changes. Basically you do a regex like this:

perl -p -i -e "s/php_admin_value include_path/php_value include_path/g" <path to file>
Thanks Scott. Nice little hack.
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

scott wrote:I havent automated this yet, but you can use the event manager to automatically update the zz psa file, and any other config you want when something changes. Basically you do a regex like this:

perl -p -i -e "s/php_admin_value include_path/php_value include_path/g" <path to file>
This command doesnt work for me :( perl -p -i -e "s/php_admin_value include_path/php_value include_path/g" /etc/httpd/conf.d/zz010_psa_httpd.conf

Thanks for any help.

CentOS 5
Plesk 8.2.1
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Seems to work just fine here. Don't forget httpd needs to be reloaded after modifying the configuration.
Lemonbit Internet Dedicated Server Management
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

After the command
perl -p -i -e "s/php_admin_value include_path/php_value include_path/g" /etc/httpd/conf.d/zz010_psa_httpd.conf

I restart httpd, but it doesnt work. I need modify the file with the "/usr/share/psa-horde/lib:/usr/share/psa-horde:/usr/share/psa-horde/pear:." for it works.

The issue appear each time when domain status change, domain creation, etc, etc...
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

You'll have to add another regexp to fix the Horde include_path then. We reverted to PHP 5.2.3 last week and I think we'll wait for a Plesk update.
Lemonbit Internet Dedicated Server Management
pspcrazy
Forum User
Forum User
Posts: 22
Joined: Thu Nov 03, 2005 8:31 pm

Unread post by pspcrazy »

Wait am i not seeing it or is 8.3, really named 8.2.1? Just a bit confused as i want to use 5.2.5 but don't know if 8.2.1 is really 8.3. Can someone tell me thanks!
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

8.3 is just 8.3, but 8.3 has not been released yet.
Lemonbit Internet Dedicated Server Management
pspcrazy
Forum User
Forum User
Posts: 22
Joined: Thu Nov 03, 2005 8:31 pm

Unread post by pspcrazy »

No 8.3 was out yesterday. They recalled it though due to some bug, i read that on the plesk forums. Thanks though :)
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

Hi,
The issue has been resolved with Plesk 8.3 and Horde.
Now, All OK again.

Bye!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Awesome news!
pspcrazy
Forum User
Forum User
Posts: 22
Joined: Thu Nov 03, 2005 8:31 pm

Unread post by pspcrazy »

yep it's been pulled by plesk. They say they will re release it this coming week
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Doh, they pulled the release huh?
Post Reply