Re: php on server without root access
| From: | José A. Guzmán | Date: | Tue, 19 Feb 2002 19:31:42 +0000 |
| Subject: | Re: php on server without root access | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6058@lists.php.net to get a copy of this message | ||
Chris Hewitt wrote:
Hello all, Thanks for reading this. I have an account on a Compaq Raq server (running linux) and would like to use php. I do not have root access, the computer does not have php or a compiler. I would need to compile php on my own computer (running RedHat 7.2) and install resulting files in my home directory on the server manually. From what I have heard on this list and elsewhere, it should be possible to compile php on my computer and then install it. So far all I have not been able to get this to work. I've looked through the php manual, on phpbuilder, emailed someone who asked a similar question in 2000 (the email bounced) and am presently stuck as to how to do this. Does anyone know whether there there some instructions somewhere to do this? There probably are and its me not looking in the right place so please excuse me if I have missed something obvious. Thanks in advance for any help. Regards Chris You don't need root access to install and run php/apache.add a: --prefix=/your/home/dir/apache to the ./configure of apache you are using make && make install then and add/change --with-apxs=../apache/bin/apxs to the ./configure of php (assuming you installed the php source at the same directory level as apache, of course). then make && make install and make a tarball of the directory where you installed apache and untar that in the server you want to play. You should change the default port of apache to something higher than 1024 (8080 is commonly used as an alternative) and you are all set. If this doesn't make any sense to you, read the INSTALL docs on the apache and php distributions, you should have done that anyway.