PDA

View Full Version : Php 4.3.7


DirectAdmin Support
03-29-2004, 12:25 PM
Php 4.3.5 has been released. To upgrade run the following as root:

cd /usr/local/directadmin/customapache
./build clean
./build update
./build php
John

interfasys
04-09-2004, 12:40 PM
Does it keep all our setting such as Zend?

toml
04-09-2004, 02:59 PM
Yes it will keep all your Zend Settings. The only problem I ran into was I also use mmcache and it needed to be recoompiled for this php 4.3.5. Of course it gave no indication that was the problem. On my Solaris box at home it just wouldn't load it, the DA box just didn't start the httpd service.

Luckily I quickly recompiled mmcache and apache started again happily.

So, if you use mmcache, you should plan on recompiling that as well, or your web server may not start.

hostpc.com
04-09-2004, 04:16 PM
Ug, I hate recompiles.

interfasys
04-09-2004, 04:50 PM
I'm glad I asked ;)

twhiting9275
04-11-2004, 07:46 PM
It may keep the settings for Zend, but ZO is not forwards compatable in most cases (ie: it was setup for 4.3.4 and may need to be reinstalled for 4.3.5 , etc).

toml
04-12-2004, 07:51 AM
I had to upgrade Zend any way, I upgraded Whois.cart() and it needed at least version 2.5.0 Zend Optimizer.

Zend doesn't care too much about which version of php it is, but if you get something encoded with the latest version , then you need the latest optimizer to decode them. That is why I needed the upgrade.

Perhaps DA could include the latest version, I see the latest one for DA is still 2.1.0, while the latest Zend version is 2.5.1.

DirectAdmin Support
04-12-2004, 12:11 PM
Hello,

Thanks for the post, I'll update the build script to the new version of zend.

John

deltaned
04-13-2004, 04:22 AM
I think there is something wrong with PHP 4.3.5 See topic: http://www.directadmin.com/forum/showthread.php?s=&threadid=2786

The last post about the Iframe!

ProWebUK
04-13-2004, 06:00 AM
I cant see a standard php source package containing that, recompilation of php wont modify or harm webmail in any way also...

I can give you a fair bit of assurance that its got nothing to do with the php update.

Chris

netspace
04-14-2004, 03:18 AM
There is a confirmed bug with fsockopen() in PHP 4.3.5 - at least its confirmed for me :)

We got some clients complaining that webmail is not working after we upgraded to 4.3.5 yesterday. Checked and was getting fsockopen errors in logs

fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known

Recompiled php 5 times changing options and even a suggested fix in ./main/php_config.h --- however, nothing worked.

Rolled back to PHP 4.3.4 and voila - it was working again. That's a confirmed bug in my books.

thoroughfare
04-14-2004, 05:09 AM
How do we rollback using the custom apache build system?

Thanks,
Matt :)

netspace
04-14-2004, 05:27 AM
edit /usr/local/directadmin/customapache/build

Change the php version to 4.3.4

./build php

l0rdphi1
04-15-2004, 07:31 PM
PHP 4.3.6 is now out.

Not many changes, but I suppose, it's worth the upgrade ;)

DirectAdmin Support
04-16-2004, 10:36 AM
Ok, build system updated for 4.3.6. Same steps as for 4.3.5.

John

jeffery
04-30-2004, 12:12 PM
Just updated.

But only worked after I restarted httpd again!

l0rdphi1
04-30-2004, 12:24 PM
Yes, you have to restart httpd after updating PHP.

l0rdphi1
06-03-2004, 08:21 AM
Now it's PHP 4.3.7's turn ;)

jeffery
06-03-2004, 10:08 AM
Originally posted by l0rdphi1
Now it's PHP 4.3.7's turn ;)


Guy, Your notification is faster than a mailing list~

:D

DirectAdmin Support
06-03-2004, 12:35 PM
Already updated :)

John

lesmak
06-03-2004, 12:42 PM
John, you are too fast ! ;-)

Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Enabling register_globals...
PHP Installed.


Thanks