Web Hosting Talk







View Full Version : PHP 4.2.2 on RAQ4?


Frenck
07-25-2002, 12:32 PM
Hi, I would love to install PHP 4.2.2. on my RAQ4.

Is it possible to install it from the source? If yes, how to that?

I have currently installed the 4.1.2-3 package from PKGMaster.com, do i need to uninstall that one first?

Thx already.

blacknight
07-25-2002, 12:54 PM
Please look further down in this forum - I gave detailed instructions for this earlier today.

Frenck
07-25-2002, 01:09 PM
Owkee thx, found it!

http://www.webhostingtalk.com/showthread.php?s=&threadid=61449


Only one question left... Is it handy to uninstall the pkg from the pkgmaster first?

What will happen if I don't uninstall....

What do you think? Install from source? Or wait for a new PKG?

blacknight
07-25-2002, 01:23 PM
I didn't uninstall any pkg versions before I did the upgrade (I had to do it twice as PHP went from 4.2.1 to 4.2.2 while I was doing the upgrade)
you might end up with the binary having a different version to the standard script, but apart from that I can't see any real problems.

Just be careful - make backups of both php.ini and httpd.conf before you do anything.
It worked for me, but it might not for you, as my RAQ has a far from standard configuration.

Frenck
07-25-2002, 01:26 PM
k thx for your information, I make nightly backups of the server (including configurations (php.ini & httpd.conf)) nothing to worry about.

If it compiles without problems, than the install should not be a problem to.

If it worked out, I will drop a message.

blacknight
07-25-2002, 01:30 PM
Originally posted by Frenck
k thx for your information, I make nightly backups of the server (including configurations (php.ini & httpd.conf)) nothing to worry about.

So do I, but I prefer to make a local backup as well, so that the server is only messed up for a couple of seconds at a time

Frenck
07-25-2002, 02:46 PM
Local backup is also present :D

now i have got this error while compiling php 4.2.2

checking for CURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/


:S?! what to do....

Also there is a an other question in my mind, What about the admin interface... it's using php to right? won't it be affected? Sinds php 4.2.2 has got register_globals turned off?

blacknight
07-25-2002, 03:08 PM
The admin interface doesn't use PHP (unless on a RAQ 550)
as for libcurl - locate and point it to it

Frenck
07-25-2002, 03:19 PM
thx for your quick reply!

I've located curl:

[root php-4.2.2]# locate libcurl
/usr/lib/libcurl.so.2
/usr/lib/libcurl.so.2.0.2


Then used this configure line:

'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-gettext=/usr' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--with-ttf' '--with-db' '--with-gdbm' '--with-mbstring' '--with-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared' '--enable-mm=shared' '--enable-xml' '--enable-ftp' '--disable-debug' '--with-libdir=/usr/lib' '--with-db3' '--with-interbase=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-curl=/usr/lib' '--with-pdflib=shared'

but still the same error message :'(

blacknight
07-25-2002, 03:32 PM
Is libcurl available as a separate download? If it is download and install it. The RAQ installation might be missing something
Have u checked for the file that it's asking for??