Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: ergozd on April 01, 2005, 10:25:44 AM

Title: [Announce] - PHP RPMS for v4.3.11
Post 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.
Title: Re: [Announce] - PHP RPMS for v4.3.11
Post by: raem on April 03, 2005, 07:11:55 PM
ergozd

Are you aware of any security issues that affect sme 6.x that the new php rpms fix ?
Thanks
Title: [Announce] - PHP RPMS for v4.3.11
Post by: raem on April 03, 2005, 07:17:37 PM
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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: wellsi on April 03, 2005, 08:44:37 PM
Quote
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.
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Normando on April 04, 2005, 06:23:57 AM
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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: raem on April 04, 2005, 08:30:51 AM
PicsOne

Did you try what Ergin suggested ?

"When I upgraded I had to re-install pear DB module with"

pear install DB
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Normando on April 04, 2005, 03:05:52 PM
Yes Ray, I do. ANd check templates and are all ok.
Don't worry. later I try again with other server.
Thank you
PicsOne
Title: [Announce] - PHP RPMS for v4.3.11
Post by: MasterSleepy on April 05, 2005, 06:09:55 AM
Hello,

Tested on my a test server and work like a charme.
Great job.

Regards.
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on April 05, 2005, 06:10:09 PM
Quote from: "PicsOne"
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
Code: [Select]
[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.
Code: [Select]
[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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Marcoof on April 06, 2005, 12:31:15 AM
This update work great for me ! Some troubles with the webmail after the update. Maybe php parameters?

Regards,
Marcoof
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Normando on April 06, 2005, 05:18:59 AM
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.
Title: [Announce] - PHP RPMS for v4.3.11
Post by: arnoldob on April 25, 2005, 04:08:07 AM
Installed just fine, no obvious breakage.

Thanks, good work  :-D
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Tib on April 25, 2005, 09:24:37 AM
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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on April 25, 2005, 06:23:58 PM
Hi Tib!

I've added
Code: [Select]
# pear upgrade DB
# pear upgrade Mail
to solve those issues to php-upgrade-script (php4.3.11-upgrade.sh)

Best rgds, Ergin
Title: [Announce] - PHP RPMS for v4.3.11
Post by: edb on April 28, 2005, 01:55:19 AM
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?
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on April 28, 2005, 08:51:00 AM
Quote
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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: edb on April 29, 2005, 02:30:17 AM
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.
Title: [Announce] - PHP RPMS for v4.3.11
Post by: AndyCocker on May 09, 2005, 05:07:14 PM
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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Normando on May 10, 2005, 09:54:33 PM
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
Quote
#

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
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on May 11, 2005, 07:11:34 AM
Quote from: "PicsOne"
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
Quote
#

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.
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Normando on May 12, 2005, 04:45:55 AM
Thank you very much Ergin. Tomorrow I test spanish characters.
Thanks again for your effort and contributions
Normando
Title: [Announce] - PHP RPMS for v4.3.11
Post by: simplemouse on May 12, 2005, 10:47:22 AM
Working Fine thnx

No Problem
Title: [Announce] - PHP RPMS for v4.3.11
Post by: Normando on May 14, 2005, 05:04:49 AM
Spanish characters are all ok!!!!!Thanks Ergin   :-D
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on May 14, 2005, 10:09:13 AM
Quote from: "PicsOne"
Spanish characters are all ok!!!!!Thanks Ergin   :-D


Glad to be able to help Normando...
Title: [Announce] - PHP RPMS for v4.3.11
Post by: gregswallow on May 15, 2005, 12:08:36 AM
Does SME7's php have --with-iconv --enable-mbstring=all --enable-mbregex?

I would check myself but my test server is at work...
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on May 15, 2005, 10:21:00 AM
I checked the .spec file and looks like all three options were enabled.

http://ergin.dyndns.org/download/SPECS/php4311_1eo_sme7.spec
Title: [Announce] - PHP RPMS for v4.3.11
Post by: wellsi on May 15, 2005, 10:22:24 AM
Thank you for the mcrypt support.
Title: [Announce] - PHP RPMS for v4.3.11
Post by: ergozd on May 16, 2005, 03:26:21 PM
Quote from: "wellsi"
Thank you for the mcrypt support.


You're welcome Ian.