Web Hosting Talk







View Full Version : PHP 4.1.2 package


ellebi
02-28-2002, 07:05 AM
PHP 4.1.2 package has been released for raq4.
It can be downloaded at http://pkgmaster.com/packages/raq/4
It requires the OS Update 2.0 an fixes vulnerabilities found in previous versions of PHP

driverdave
02-28-2002, 06:18 PM
Have you installed it yet? Just curious of any oddities. I'm gonna go for it tonight. Command line PHP loks nice.

Maximux
02-28-2002, 06:42 PM
I just completed the upgrade to php-4.1.2 a while ago. I have not seen any problems with the various apps I am running (webmail, stats, postnuke).

I would caution you though to first download the .pkg file locally then use the 'browse' feature when installing instead of using the "From URL" installation. The download is SLOW from the new site and your raq will most likely timeout while trying to perform the upgrade.

On a second web server (not raq) I had problems with phpnuke after upgrading. "File name too long" type of errors. I had to slightly modify the nuke code to get it working again.

Best of luck to you!

skylab
02-28-2002, 07:17 PM
has anyone installed the pkg yet? i'm curious as to how it goes before i get near it.

driverdave
02-28-2002, 07:18 PM
Thanks. I'm doing the OS2 and the PHP updates tonight. Hopefully everything will work.

I got burned when they updated PHP to spit out XHTML. I did replaces of <br>'s in data I ran through nl2br. Then they changed the <br>s to <br />s. It was a fun 4-5 hours looking for all the places I used that replace....

burnz
03-01-2002, 09:34 AM
i was successful installing php 4.1.2 on my RAQ4 server.. no error or whatsoever... everything running smoothly...

kmurrey
03-01-2002, 10:26 AM
I installed without any problems. The Raq even said that I was over installing 4.06.

Everything went fine.

________________
Keith

SeanC
03-01-2002, 12:13 PM
I don't see a package yet for the raq3. do they generally do the 4 first?


thanks!
Sean

Angel78
03-01-2002, 12:20 PM
so most of you did the Apache, OS2 upgrade without problems?

"those are needed for 4.1.2 = as stated on the website" ?

Pingu
03-01-2002, 12:59 PM
Originally posted by SeanC
I don't see a package yet for the raq3. do they generally do the 4 first?
I just compile the stuff from source. That way I'm assured to always have access to the latest version instead of having to wait on some pkg. Especially since I wonder whether there will be any new pkg's for the raq3 at all???
Looking at the official Cobalt updates released "lately", I don't think we'll ever see more then critical fixes from now on.

SeanC
03-01-2002, 01:13 PM
Originally posted by Pingu

I just compile the stuff from source.


so once it's compiled, it should be able to work on any flavor? You're ahead of me, but I'm still working on it...

I noticed on the php.net site, they have an older version already compliled. Once the new one is posted compiled, would I load that as a package into the raq3?

Thanks!
Sean

Pingu
03-01-2002, 01:33 PM
The installation is pretty simple.

The only thing that REALLY matters is the ./configure options. But if you have a phpinfo file, then all the way at the top you should see the current configuration options used. Copy that (without the ' quotes) and you are assured to have the same functions.

Other then that just follow the instructions.

Hmm, no I'm lying. Some (most) of the stuff on a raq3 is quite outdated. Watch the output of the ./configure command. I noticed zend stuff couldn't be compiled into php because bison was too old (amongst other things). Upgraded that with a "newer" rpm and (re)configured php

monkey_boy
03-01-2002, 03:27 PM
pkgmaster also posted a "fix" for webalizer. It didn't work for me, however. I followed their directions, but get libpng.so.2 not found errors from webalizer.pl.

It looks like I have libpng.so.3 installed, and so I will now hit the books.

Any advice greatly appreciated (maybe this has to do with me NOT having the new GD?)

monkey_boy

microsol
03-02-2002, 03:25 PM
Originally posted by monkey_boy
pkgmaster also posted a "fix" for webalizer. It didn't work for me, however. I followed their directions, but get libpng.so.2 not found errors from webalizer.pl.

It looks like I have libpng.so.3 installed, and so I will now hit the books.

Any advice greatly appreciated (maybe this has to do with me NOT having the new GD?)

monkey_boy

After you install and do
/etc/cron.daily/webalizer.pl
you get
webalizer: error in loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory

cd cd /usr/lib
cp libpng.so.3 libpng.so.2
/etc/cron.daily/webalizer.pl
libpng warning: Application was compiled with png.h from libpng-1.0.3
libpng warning: Application is running with png.c from libpng-1.2.1
gd-png: fatal libpng error: Incompatible libpng version in application and library

Fine, no problem at all. Just do
cp libpng.so.2 libpng.so.3
/etc/cron.daily/webalizer.pl

and everything is fine :)

PS: That's a personal fix :)

[EDIT]
DO NOT DO THIS!!! IT DOESN'T WORK AND IT'S STUPID ANYWAY :rolleyes: :angry: