RE: [PHP-INST] php on server without root access
| From: | Hunter, Ray | Date: | Tue, 19 Feb 2002 20:57:17 +0000 |
| Subject: | RE: [PHP-INST] php on server without root access | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6062@lists.php.net to get a copy of this message | ||
If you want apache to handle it then you need access to configure apache for
php. You can have cgi scripts that access you php executable then pass that
information to your html page. However, you will not be able to use apache
for this...
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Chris Hewitt [mailto:g0pae@manordat.demon.co.uk]
Sent: Tuesday, February 19, 2002 1:58 PM
To: php-install@lists.php.net
Subject: Re: [PHP-INST] php on server without root access
Jose,
Sorry, my original email should have been clearer. The server already
has apache (without php). Several companies are using this (virtual web
hosting) and I do not want to touch apache itself. I meant to specify
that I want php as a cgi in my home directory (no write access outside
it) but did not make that very clear. There is no compiler so no "make"
possible.
I have done a compilation on my computer (in a directory that is a copy
of the one on the server I want php to end up on). It works on my
computer, I've tar'ed it up, ftp'd across and untar'd it there. Added
php.ini and .htaccess but the best I have so far is an "internal server
error" reported. Probably some library dependency due to different
versions or locations.
Thanks for your help, everyone. Tomorrow is another day.
Regards
Chris
José A. Guzmán wrote:
> 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
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php