[opensuse] Beware the ides of PHP53
Listmates, If you update to php5.3 from the OBS/php repository, be aware you will need to change your configuration a bit. There are fairly significant changes in php5.3 between what is a module and what is handled in a new sense. When you install php5.3, you will need to make use of the /etc/php5/*/php.ini.rpmnew files that contain the configuration layout expected by php5.3. The easy way to do this is just to copy your current php.ini to php.ini.52, then copy php.ini.rpmnew to php.ini. To move your changes over, the way I found least painful is to open the 52 ini file next to the new 53 ini in kdiff3, then with the new php.ini open in kwrite (as root), just adjust and merge your 52 setting into the ini file. If you are not familiar with kdiff3, just make sure you have it install and if not, install it: rpm -q kdiff3 || sudo zypper in kdiff3 You can simply just use diff, but I like the side-by-side scrolling of kdiff3. Pay particular attention to the following 2 settings: open_basedir = include_path = see: http://php.net/open-basedir http://php.net/include-path Specifically make sure there are no trailing '/' characters at the end of any of the path elements -- UNLESS -- you intend for apache and php to search that directory and NOT TO descend any further. Simply removing the trailing '/' in those setting cured 99% of my php5.2->5.3 update problems. YMMV Once you have finished moving your php 5.2 settings to the new php.ini, restart apache (rcapache2) and see if things are working. So far on my 10.3 servers, I still have XMLResponse errors with eGroupware and squirrelmail 1.52 will not log in. Otherwise, all is well. (I think the sqmail issue is an include_path issue) Good luck. (P.S. if it still won't work, just disable the php repo and downgrade to php 5.2.9 in the updates repository - works fine as well) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 31/08/09 13:16, David C. Rankin wrote: (I think the sqmail issue is an
include_path issue) Good luck.
This is a bug in the shipped PHP.ini file's default include_path, noticed that too.. will be fixed in the next update... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 31/08/09 13:16, David C. Rankin wrote:
(P.S. if it still won't work, just disable the php repo and downgrade to php 5.2.9 in the updates repository - works fine as well)
BTW.. it does work (now, after fixing a nasty problem with open_basedir...), however rpm won't overwrite your configuration files if you modified it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 31 August 2009 12:35:08 pm Cristian Rodríguez wrote:
On 31/08/09 13:16, David C. Rankin wrote:
(P.S. if it still won't work, just disable the php repo and downgrade to php 5.2.9 in the updates repository - works fine as well)
BTW.. it does work (now, after fixing a nasty problem with open_basedir...), however rpm won't overwrite your configuration files if you modified it.
Excellent, I'll reload php 5.3 and give it a go. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Cristian Rodríguez
-
David C. Rankin