Hi Graeme,

you're on the right way, --prefix is the answer. You should try this:

./configure --prefix=/home/yourloginname/apache ...

./configure --prefix=/home/yourloginname/php \
  --with-apxs=/home/yourloginname/apache/bin/apxs  ...

for both apache and php respectively (obviously you won't be able to
start/restart apache, if it is not yours ...). php and apache will
install their stuff into your home directory. note that you must
specify your own apxs if building php as a module.

HTH
Vic

> I am in need of some urgent help. We have a computer design project in
> progress for my university course and I wish to install PHP 4 onto an apache
> (1.3.19) server. We are running RedHat 6.2.
> 
> The so module appears to be installed (says so when I run httpd -l) in
> apache. I cannot figure out how to install php 4 without root access. The
> problem is the only directory I can write to is my home directory which is
> home/sysd. I can obviously can create files and directories in this and have
> managed to install Apache. However when I follow the instructions to install
> PHP it attempts to write to the usr directory which I do not have permission
> to(and will never have). I need to install PHP 4 with MySQL support (and
> preferably everything else that would be included if I was installing it on
> Windows). Does anyone know the options I should give ./configure? I tried
> some settings including prefix but this didn't seem to help. Please help.
> Thanks.
> 
> Graeme



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to