Web Hosting Talk







View Full Version : PhP on a RaQ3


Shepski
08-13-2001, 11:45 AM
Hi All,

I am currently trying to configure PhP on our RaQ3 with MySQL. I have installed the pkg for MySQL and tried many different attempts to install PhP but all have failed.

All I get when trying to run a .php page is the box popping up asking me to save it or open it from location!!

I enclose a pretty much standard help for installing PhP but with no success.

go to any directory /home/sites/home/ will work
type wget http://www.php.net/do_download.php?download_file=php-4.0.6.tar.gz&source_site=www.php.net
This will download the latest tar file
when it is done
type gunzip php-4.0.6.tar.gz
then type
tar xvf php-4.0.6.tar
cd to the directory it creates
in that directory
./configure --with-mysql
make
make install

Any help would be much appreciated.

regards

Simon Malings

microsol
08-13-2001, 12:04 PM
There's everything you need about Raq3's at these boards. Just search. There's just no point answering the same questions over and over. ;)

-Edward-
08-13-2001, 12:34 PM
http://www.unixfusion.co.uk/php.html take a look at that.

Shepski
08-13-2001, 12:46 PM
Originally posted by Technics
http://www.unixfusion.co.uk/php.html take a look at that.

Hi M8

thanks for the reply. I have done as it says but I am missing the libphp4.so file. I have a modphp.so which I tried but see here (http://www.orbit-internet.com/php/) for the results!

Can you offer anymore advice on how to get this file installed or am I missing something.

cheers

Simon

Shepski
08-15-2001, 04:16 AM
^^ bump ^^

Theo Runia
08-15-2001, 09:04 AM
I had a missing file to when I treid to start the webserver again.
the file was just in another directory.
Have a look around your server for the file, and have the right path in /etc/httpd/conf/httpd.conf for Loadmodule.

In my case the .so was located in /usr/local/php/libs/libphp4.so

Shepski
08-15-2001, 09:20 AM
cant find the file anywhere so i copied it from a raq4 but now when i try and issue a httpd restart it comes up with :

Cannot load /usr/lib/apache/libphp4.so into server: libldap.so.1: cannot open shared object file: No such file or directory

Lost for ideas but really need to get this running asap

Simon

Shepski
08-18-2001, 08:51 AM
Finally got it going. found out that the 4.0.6 version php download from php.net is corrupt. when i did a make it bombed out at the end with an error on the libphp4 file so i guess thats why i cant find it. i have installed v4.0.4 which works a dream.

thanks for all ur advice guys.

simon