Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: ergozd on April 01, 2005, 10:25:44 AM
-
PHP RPMS are generated for the latest php version 4.3.11.
Upgrade script is available at
http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/php4.3.11-upgrade.sh
RPMS are available at
http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/
PS : When I upgraded I had to re-install pear DB module with
pear install DB
Use them at your own risk. ;-) Any feedback are welcome.
-
ergozd
Are you aware of any security issues that affect sme 6.x that the new php rpms fix ?
Thanks
-
Here is the changelog, but I'm not sure if any of the fixes are critical to sme.
http://www.php.net/ChangeLog-4.php#4.3.11
-
These are maintenance releases that in addition to non-critical bug fixes address several security issues. All Users of PHP are strongly encouraged to upgrade to one of these releases as soon as possible.
Well the PHP guys strongly recommend an upgrade.
However no version from Fedora Legacy at the moment.
-
When upgrade to 4.3.11 I have this error:
[root@server-printing php.ini]# /etc/e-smith/events/actions/restart-httpd-full
Shutting down http: [ FAILED ]
Starting httpd: [ OK ]
serviceControl: Couldn't system(/etc/rc.d/rc7.d/S85httpd-e-smith, restart):
Couldn't restart httpd-e-smith at /etc/e-smith/events/actions/restart-httpd-full line 45.
Then I try to fix with post-upgrade but I can't lucky.
The http server don't work.
Then, I uninstall all 4.3.11 rpms and reinstall 4.3.10 again and then work all ok
I have SME 6.0.1-01 version
PicsOne
-
PicsOne
Did you try what Ergin suggested ?
"When I upgraded I had to re-install pear DB module with"
pear install DB
-
Yes Ray, I do. ANd check templates and are all ok.
Don't worry. later I try again with other server.
Thank you
PicsOne
-
Hello,
Tested on my a test server and work like a charme.
Great job.
Regards.
-
When upgrade to 4.3.11 I have this error:
[root@server-printing php.ini]# /etc/e-smith/events/actions/restart-httpd-full
Shutting down http: [ FAILED ]
Starting httpd: [ OK ]
serviceControl: Couldn't system(/etc/rc.d/rc7.d/S85httpd-e-smith, restart):
Couldn't restart httpd-e-smith at /etc/e-smith/events/actions/restart-httpd-full line 45.
Then I try to fix with post-upgrade but I can't lucky.
The http server don't work.
Then, I uninstall all 4.3.11 rpms and reinstall 4.3.10 again and then work all ok
I have SME 6.0.1-01 version
PicsOne
Hi!
Can you check what might be the problem with
[root@XXXX root]# httpd -t
Syntax OK
If httpd-server syntax is OK php -v to see if you get any message, if you get nothing there might be some config issues with your php.ini file.
[root@XXXX root]# php -v
PHP 4.3.11 (cli) (built: Apr 1 2005 07:47:01)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.2, Copyright (c) 2004-2005 eAccelerator, by eAccelerator
I had to re-install pear modules (so make sure to check)
- DB
- Mail
- Net_Socket (required by Net_SMTP)
- Net_SMTP
- Auth_SASL
-
This update work great for me ! Some troubles with the webmail after the update. Maybe php parameters?
Regards,
Marcoof
-
well well well...I found the error. It is eaccelerator. Through various test when I remove php template-custom files , then run again when I remove 91eaccelerator. Maybe not support php 4.3.11?
Thank you Ergin for your reply.
-
Installed just fine, no obvious breakage.
Thanks, good work :-D
-
Works great except if you update after horde 3 update then you have to run a few other fixes.
pear install DB ... to fix logon screen
pear install Mail ... to fix no mail showing up in inbox after login.
After these fixes all seems to work fine.
Tib
-
Hi Tib!
I've added
# pear upgrade DB
# pear upgrade Mail
to solve those issues to php-upgrade-script (php4.3.11-upgrade.sh)
Best rgds, Ergin
-
Has anyone else tried this script with ZEND installed?
Does it work with the "mcrypt" php module installed and is this rpm available for this version?
-
Has anyone else tried this script with ZEND installed?
Does it work with the "mcrypt" php module installed and is this rpm available for this version?
Hi edb!
1 - ZEND - if you mean Zend Optimizer yes, if you have version 2.5.7 of Zend Optimizer the script will work fine.
2 - MCRPYT - Yes, there php-mcrypt is in the script, you'll have to edit and uncomment it.
Good luck
-
Thanks for the reply Ergin.
I'll give it a whurl then. I'm running an ecommerce site and just didn't want any surprises.
-
Just upgraded using the script. I needed at least php 4.2 to install Docman on Mambo 4.5.2.
No problems so far, which is great for a newbie like myself. Great work!
Andy Cocker
-
Hello Ergin, and thank you for your work. One question. I use horde with spanish characters, like á é í ó ú and so on. I have some issues with horde, and read horde doc and say
#
UTF-8 support --with-iconv --enable-mbstring=all --enable-mbregex
If these extensions are enabled, Horde can support the UTF-8 character set (meaning that content with any charset can be viewed with any translation).
Spanish is UTF-8 and I see phpinfo for your 4.3.11 PHP and not found mbregex.
Any way to include that? or I need to recompile all php sources?
Thank you
Normando
-
Hello Ergin, and thank you for your work. One question. I use horde with spanish characters, like á é í ó ú and so on. I have some issues with horde, and read horde doc and say
#
UTF-8 support --with-iconv --enable-mbstring=all --enable-mbregex
If these extensions are enabled, Horde can support the UTF-8 character set (meaning that content with any charset can be viewed with any translation).
Spanish is UTF-8 and I see phpinfo for your 4.3.11 PHP and not found mbregex.
Any way to include that? or I need to recompile all php sources?
Thank you
Normando
I'll give it a go with those options today or tomorrow.
-
Thank you very much Ergin. Tomorrow I test spanish characters.
Thanks again for your effort and contributions
Normando
-
Working Fine thnx
No Problem
-
Spanish characters are all ok!!!!!Thanks Ergin :-D
-
Spanish characters are all ok!!!!!Thanks Ergin :-D
Glad to be able to help Normando...
-
Does SME7's php have --with-iconv --enable-mbstring=all --enable-mbregex?
I would check myself but my test server is at work...
-
I checked the .spec file and looks like all three options were enabled.
http://ergin.dyndns.org/download/SPECS/php4311_1eo_sme7.spec
-
Thank you for the mcrypt support.
-
Thank you for the mcrypt support.
You're welcome Ian.