PDA

View Full Version : Php 4.3.9


l0rdphi1
09-23-2004, 04:18 PM
PHP 4.3.9 was released today ;)

l0rdphi1
09-24-2004, 03:13 AM
Well, since DA hasn't updated their version yet, this apparently will upgrade PHP for you:
cd /usr/local/directadmin/customapache
wget http://us4.php.net/get/php-4.3.9.tar.gz/from/this/mirror
perl -pi -e 's/(PHP_VER=).+/${1}4.3.9/' ./build
./build php
Then restart Apache :)

Chrysalis
09-24-2004, 12:57 PM
bah I forgot the perl command and it rebuilt 4.3.8 LOL

incidently it asks if I want to rebuild various components and I selected yes to be on the safe side but is it ok to say no?

Chrysalis
09-24-2004, 01:03 PM
incidently is there a reason register_globals needs to be enabled since I noticed directadmin enables it, I prefer to have it off but if there is a reason it needs to be on I will have it on.

Chrysalis
09-24-2004, 01:15 PM
it compiled without error but now all php page show this

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

Chrysalis
09-24-2004, 02:38 PM
fixed now i did a build clean then build all

jeffery
09-24-2004, 07:23 PM
Remember to restart your apache after upgrading. =)

l0rdphi1
09-24-2004, 07:29 PM
Thanks, I updated my post :D

jeffery
09-24-2004, 08:00 PM
One thing to take out, if you have installed MMCache, the new version of php may crash with your MMCache.

Recompile MMCache as well or simply disable it. =)

Good luck:D

jmstacey
09-24-2004, 10:29 PM
Originally posted by Chrysalis
incidently is there a reason register_globals needs to be enabled since I noticed directadmin enables it, I prefer to have it off but if there is a reason it needs to be on I will have it on.

Thats the default. Disabling it will help make scripts more secure, although personally I leave it on and code my php scripts properly :p

jlasman
09-25-2004, 08:49 AM
Originally posted by jmstacey
Thats the default. Disabling it will help make scripts more secure, although personally I leave it on and code my php scripts properly :p
But do all your users code their PHP scripts properly?

Jeff

Chrysalis
09-25-2004, 11:52 AM
yes security is the reason I like it off, there seems to be no ill effects from it so I just edit php configuration after the install.

blacknight
09-25-2004, 06:48 PM
Originally posted by Chrysalis
yes security is the reason I like it off, there seems to be no ill effects from it so I just edit php configuration after the install.

Turning it off is a good idea, but you should warn your users before you do so.

neorder
09-25-2004, 06:58 PM
Originally posted by jeffery
One thing to take out, if you have installed MMCache, the new version of php may crash with your MMCache.

Recompile MMCache as well or simply disable it. =)

Good luck:D

Yes, this is something very important to know before you upgrade.

btw, i recompiled my MMCache but still failed to start httpd after upgrading, so i had no choice but switch back to 4.3.7.

i guess i will spend my time to upgrade when DA will use php 5.0

jeffery
09-25-2004, 07:53 PM
Originally posted by neorder
Yes, this is something very important to know before you upgrade.

btw, i recompiled my MMCache but still failed to start httpd after upgrading, so i had no choice but switch back to 4.3.7.

i guess i will spend my time to upgrade when DA will use php 5.0

I haven't tried it with 4.3.9, but i have no problem with 4.3.8, so you may try to upgrade your php to 4.3.8 instead of staying at 4.3.7.
:)

Chrysalis
09-26-2004, 10:34 AM
well I can put up a warning about it sure, but if you check the reccomended php config not the dist version you will see register globals is set to off anyway so if all sites started using the reccomended config then the off sertting would be mainstream.

toml
09-26-2004, 05:55 PM
MMCache works fine with php 4.3.9. I just did amake clean
phpize
make
make install
and it started fine.

Chrysalis
09-26-2004, 06:30 PM
whats phpize do?

toml
09-26-2004, 06:53 PM
phpize is part of the build process for MMCache. It sets up build parameters for your specific version/install of php.

jmstacey
10-07-2004, 06:49 PM
If Turck-mmcache wasn't so picky about this and that and actually installed without errors on generic systems I would be tempted to write a customized customapache build script that included it. But so far, every installation I've done has ended up with a couple of hours of debugging to get it to work properly. :(

Maybe the next version of turck-mmcache if the project is picked back up again. (I noticed their working on a new website at least)

Icheb
10-08-2004, 04:31 AM
Have I missed anything from DA support or something ?

Last time I checked, few days back, the build script wasn't even updated.
John, Mark, are you guys alright ?

DirectAdmin Support
10-10-2004, 06:09 PM
build system updated to 4.3.9

I've been out of town for a week (back now) and didn't check the forum to notice this thread :rolleyes:

Thanks for helping each other for the update until now ;)

John

l0rdphi1
10-10-2004, 06:16 PM
John,

You should subscribe to this version updates forum ;)

Cheers!

Phi1.