[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RE: RaQ4 - update PHP? is version 4.2.2 available for RaQ4 in a PKG?



4.2 does add in some new features, and is relatively easy to install. Also,
there are a great deal of improvements made and bugs fixed. For example,
they added TIFF support for getimagesize(), fixed crash bug with ob_end_*(),
added multibyte enabled regex functions, added array_chunk().... the list
just goes on and on.

Anyhow, I was able to install 4.2.2 on my RaQ4 with virtually no problems.
All I did was download gd 1.8.4 to get the headers / libs, and copy them
into /usr/local (gd 1.8.4 was already installed on the RaQ, but was lacking
any headers). I also downloaded curl 7.9.7 for the same reason (needed
headers), copied to /usr/local (also did not have curl-config, which is
required, so that went in /usr/local/bin). Also downloaded lib jpeg, png,
and ssl (again, needed headers and libraries) and sent them off to
/usr/local. Once that was all done, I just had to make a minor change to
php_configure.h - I had to comment out #define HAVE_GD_GIF_READ 1 (it was
creating all sorts of problems on compile, and getting rid of it doesn't
really make a difference.) After that was done, I just ran

'./configure' '--prefix=/home/php-4.2.2' '--with-apxs' '--with-zlib'
'--enable-ftp' '--with-gd' '--with-png-dir=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-pdflib=shared' '--with-ldap'
'--with-pgsql=shared' '--with-ttf' '--with-interbase=shared'
'--disable-debug' '--enable-magic-quotes' '--with-gettext' '--with-gdbm'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-track-vars'
'--enable-wddx=shared' '--enable-mm=shared' '--enable-xml'
'--enable-inline-optimization' '--with-curl' '--with-imap-ssl'

then make install, and then I fixed httpd.conf (apxs added a second
loadmodule statement, which I just commented out.) and restarted apache
(/etc/rc.d/init.d/httpd restart) and I had a working PHP 4.2.2 install.

(also had to copy php.ini-recommended to /home/php-4.2.2/lib/)

Anyhow, if you're not real comfortable in linux, I guess you could wait for
a .pkg, although at this rate it looks like pkgmaster might be holding out
for 4.3.1 or 4.3.2 before they release a pkg. However, if you are
comfortable in *nix, you might want to try it. It wasn't bad at all... just
back up httpd.conf before installing, and also your PHP modules, and go for
it.


> From: "Kevin" <owner@xxxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Subject: RE: [cobalt-users] RaQ4 - update PHP ? is version 4.2.2 available
for RaQ4 in a PKG ?
> Date: Wed, 24 Jul 2002 16:18:17 -0400
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
> The current release 4.1.2 is stable with no security issues?
> I for one believe if it isn't broke, why would you want to fix it?
> I normally wait for the Great Crew at PkgMaster to bring out the
> upgrades.
> If I don't see it there, I don't go looking.
>
> This is just my Opinion, not a rant or rave.
>
> Thank you.