PHP & CGI, getting it to work

cookie

Joined: 2002-10-03
Posts: 14
Posted: Thu, 2002-10-03 22:33

This is in reference to FAQ B.3---

I do not have linux at home, thus can't compile the binary file. My host server is linux, thus it must be compiled (?). How can I get the PHP binary FTP'd from my Win computer to the linux server if I can't compile? (server stuck in safe-mode, must run PHP under CGI as stated in this FAQ).

This appears to be my only sticking point.

 
zjs2k

Joined: 2002-08-24
Posts: 33
Posted: Thu, 2002-10-03 22:55

I am not an expert, but I suppose you should upload the source file to your linux box and complie the php there. Not on your win machine. Your Win binary files won't work on unix. If you are not familar with unix installation, I suggest you to ask your administrator to install it for you.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2002-10-04 22:01

Download the Linux binary to your local machine, then ftp it to your webserver (in binary mode).