php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14387 DESTDIR option to make
Submitted: 2001-12-08 17:47 UTC Modified: 2002-04-17 17:38 UTC
From: sterling@php.net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.1.0 OS: All
Private report: No CVE-ID: None
 [2001-12-08 17:47 UTC] sterling@php.net
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-17 17:38 UTC] sterling@php.net
Set the INSTALL_ROOT butthead:

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

many thanks to snoopy, err, sniper :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 03:01:33 2024 UTC