ID:               14387
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: All
 PHP Version:      4.1.0
 New Comment:

Set the INSTALL_ROOT butthead:

]$ INSTALL_ROOT=/home/sterling/tmp make install

many thanks to snoopy, err, sniper :)


Previous Comments:
------------------------------------------------------------------------

[2001-12-08 17:47:14] [EMAIL PROTECTED]

Something similair to Apache's DESTDIR option to make would be great,
when building PHP to be distributed on a cluster of webservers, you
often have a test environment where you're not root -- In these cases,
you need to test your php installation (with appropriate paths, such as
/usr/local/lib/php).  However, you need the data to be installed in
your home directory.

ie,

make install :=

/usr/lib/php/PEAR.php
/usr/bin/php
etc.

make install DESTDIR=/home/sterling

/home/sterling/usr/lib/php/PEAR.php
/home/sterling/usr/bin/php


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=14387&edit=1

Reply via email to