Web Hosting Talk







View Full Version : PHP4 for the RaQ


TheGman
06-27-2001, 03:06 AM
is there a Pkg file for php4 with myadmin for the Raq3? if so where could i download?

Chicken
06-27-2001, 06:53 PM
Far as I know, no php pkg files.

Starhost
06-27-2001, 07:38 PM
Ok, login as root


su -

(your password)

# wget http://www.php.net/do_download.php?download_file=php-4.0.6.tar.gz&source_site=www.php.net
# tar -zxvf php-4.0.6.tar.gz
# cd php-4.0.6
# ./configure --with-mysql --with-apxs --with-ftp --with-xml --enable-track-vars --enable-versioning
# make
# make install
# cp /root/php-4.0.6/php.ini-optimized /usr/local/lib/php.ini

If you have a raq 3 and you get an error when you do ./configure or make then do the following.
# pico /usr/sbin/apxs
change my $CFG_SBINDIR = '/usr/bin';
to
change my $CFG_SBINDIR = '/usr/sbin';
Now start again


When you have a raq 3 and you get an error while you do make install. Then do the following:

# cp -i ./libs/libphp4.so /usr/lib/apache/libphp4.so.406
# cp -i /usr/lib/apache/libphp4.so /usr/lib/apache/libphp4.so.405
# cp -i /usr/lib/apache/libphp4.so.406 /usr/lib/apache/libphp4.so
Overwrite the existing file!

# /etc/rc.d/init.d/httpd restart


DONE! :):)