Koozali.org: home of the SME Server

PHP 4.4.2?

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
PHP 4.4.2?
« on: January 13, 2006, 04:19:17 PM »
A new PHP is out
http://www.php.net/release_4_4_2.php

Is this  (or will this be) available for SME 6.x ?
............

ergozd

PHP 4.4.2?
« Reply #1 on: January 14, 2006, 10:22:01 AM »
Hi Ian!

Just compiled them and check that they work (well, they did for me anyway)... ;-)

Pls read carefully before you upgrade... ;-)

1- If you have any accelerators (mmcache, eAccelerator) install pls upgrade them as well, you might experience problems. I've also upgraded php-eaccelerator RPM...
http://ergin.dyndns.org/download/RPMS/contribs/EAccelerator/php-eaccelerator-4.4.2_0.9.3-1eo.i386.rpm

2- If you're planning to upgrade to SME7 soon pls make sure to read about GregSwallow's Removal script

3- You upgrade at your own risk... ;-)

4- php has a dependency issue libiconv.so.2, so I modified the upgrade script to check if you have libiconv rpm installed

5- php-pgsql has a dependency libpq.so.2, and there's a workaround...
http://forums.contribs.org/index.php?topic=28990.msg120771#msg120771

6 - If you still want to go ahead and upgrade
http://ergin.dyndns.org/download/RPMS/contribs/PHP/

and upgrade script
http://ergin.dyndns.org/download/scripts/php4.4.2-upgrade.sh

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: PHP 4.4.2?
« Reply #2 on: January 14, 2006, 07:45:55 PM »
Quote from: "wellsi"
A new PHP is out
http://www.php.net/release_4_4_2.php

Is this  (or will this be) available for SME 6.x ?


1. Is there any need for it?

2. Wouldn't you be the first to know?

3. Will upgrade to 7.0 work OK if you find such an update and install it?

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: PHP 4.4.2?
« Reply #3 on: January 14, 2006, 09:16:32 PM »
Quote from: "CharlieBrady"

1. Is there any need for it?

2. Wouldn't you be the first to know?

3. Will upgrade to 7.0 work OK if you find such an update and install it?


The maintenance team will only release PHP updates based on 4.1.2, and hopefully I am the first to know about those.

For people who started down the 4.3 branch which has now reached 4.4.2 there will be a problem upgrading as 7.0 will use PHP 4.3.9.

I certainly do not recommend that anyone should use 4.4.2.

However, Thanks Ergin - it works here.
............

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
PHP 4.4.2?
« Reply #4 on: February 14, 2006, 05:38:53 AM »
Hi ergozd.
Thank you very much for this new releas of PHP.
I have installed with your scrip, and run ok, but I see in the messages log three issues. These librarys not found.

libmcrypt.so.4
libmhash.so.2
libsablot.so.0

I found the solution for the last library libsablot. This require sablotron, and has a dependancy with two js librarys. I have upload for temporary time 3 rpms, run ok with php 4.4.1 and 4.4.2.
Install with rpm -Uvh *.rpm

Here it is:
http://www.unixlan.com.ar/med/sablotron-1.0.2-1.0.rh7.rf.i386.rpm
http://www.unixlan.com.ar/med/js-devel-1.5-1.0.rh7.rf.i386.rpm
http://www.unixlan.com.ar/med/js-1.5-1.0.rh7.rf.i386.rpm

Is possible to solve the situation with libmhash and mcrypt librarys?
A final issue. Libiconv rpm install under /opt directory. It is normal?
Thank you again
Normando

ergozd

PHP 4.4.2?
« Reply #5 on: February 14, 2006, 07:36:35 AM »
Quote from: "PicsOne"
Hi ergozd.
Thank you very much for this new releas of PHP.
I have installed with your scrip, and run ok, but I see in the messages log three issues. These librarys not found.

libmcrypt.so.4
libmhash.so.2
libsablot.so.0

I found the solution for the last library libsablot. This require sablotron, and has a dependancy with two js librarys. I have upload for temporary time 3 rpms, run ok with php 4.4.1 and 4.4.2.
Install with rpm -Uvh *.rpm

Here it is:
http://www.unixlan.com.ar/med/sablotron-1.0.2-1.0.rh7.rf.i386.rpm
http://www.unixlan.com.ar/med/js-devel-1.5-1.0.rh7.rf.i386.rpm
http://www.unixlan.com.ar/med/js-1.5-1.0.rh7.rf.i386.rpm

Is possible to solve the situation with libmhash and mcrypt librarys?

Yes
for mhash fecth and install
http://ergin.dyndns.org/download/RPMS/updates/mhash-0.8.1-1.i386.rpm

for mcrypt fetch and install files
http://ergin.dyndns.org/download/RPMS/updates/mcrypt-2.5.5-1.i386.rpm
http://ergin.dyndns.org/download/RPMS/updates/libmcrypt-2.5.7-1.dag.rh73.i386.rpm
Quote from: "PicsOne"

A final issue. Libiconv rpm install under /opt directory. It is normal?

I am not sure if it's normal but that's how I did when I found a libiconv RPM and did minimal modifications.
Quote from: "PicsOne"

Thank you again
Normando

Thanks and good luck.

Offline gregswallow

  • *
  • 651
  • +1/-0
PHP 4.4.2?
« Reply #6 on: February 14, 2006, 09:08:21 AM »
Quote from: "ergozd"

2- If you're planning to upgrade to SME7 soon pls make sure to read about GregSwallow's Removal script


Ergin, the script I made was specifically made for the last version of the "update script" that was posted - it doesn't cover removing these rpms - and in it's current state it is unlikely to work for most people.

Charlie and I spent some time today tracking down a bug report that was a failed upgrade to SME7 because they had a version of your php rpms installed.  

Please consider stopping your development efforts for SME6 and perhaps put some time into testing upgrades from modified 6.x servers to SME7 so the many users of your RPMS can have a good experience when they upgrade to SME7.  All you have to do, is do an upgrade and post a bug report and attach the upgrade.log and upgrade.log.syslog files from the root directory.  

And create a bugzilla account so I can CC bugs to you when they involve your rpms ;-)  Thanks

ergozd

PHP 4.4.2?
« Reply #7 on: February 14, 2006, 05:18:37 PM »
Quote from: "gregswallow"
Quote from: "ergozd"

2- If you're planning to upgrade to SME7 soon pls make sure to read about GregSwallow's Removal script


Ergin, the script I made was specifically made for the last version of the "update script" that was posted - it doesn't cover removing these rpms - and in it's current state it is unlikely to work for most people.

Charlie and I spent some time today tracking down a bug report that was a failed upgrade to SME7 because they had a version of your php rpms installed.  

Please consider stopping your development efforts for SME6 and perhaps put some time into testing upgrades from modified 6.x servers to SME7 so the many users of your RPMS can have a good experience when they upgrade to SME7.  All you have to do, is do an upgrade and post a bug report and attach the upgrade.log and upgrade.log.syslog files from the root directory.  

And create a bugzilla account so I can CC bugs to you when they involve your rpms ;-)  Thanks


I agree... As of today I will NOT release any updates for SME 6.x...

PS: I already have an bugzilla account (ergin@ergin.net) so feel free to send over any issue that might releated, will try to help as much as I can.