Re: PHP 4.0 Bug #5046: Install tries to put stuff in /usr/local even when --prefix is specified

From: Date: Thu, 15 Jun 2000 00:01:17 +0000
Subject: Re: PHP 4.0 Bug #5046: Install tries to put stuff in /usr/local even when --prefix is specified
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21364@lists.php.net to get a copy of this message
On 14 Jun 2000 jleffler@informix.com wrote: >From: jleffler@informix.com >Operating system: Solaris 7 >PHP version: 4.0.0 Release >PHP Bug Type: Installation problem >Bug description: Install tries to put stuff in /usr/local even when --prefix is specified > >configure line: >./configure --prefix=/usr/php/v4.0.0 --with-mysql=/usr/mysql >--with-apxs=/usr/apache/v1.3.12/bin/apxs --with-informix --with-exec-dir=/usr/php/v4.0.0/bin > >Note that the addition of --with-exec-dir is symptomatic of the problem. > >The configure.in script sets the location of the php.ini file around line 412. It gets around >to looking at --prefix around line 677. > Add --with-config-file-path=/usr/php/v4.0.0/conf to the ./configure line. (or what ever you want the path to you php.ini file to be.) --Jani Note to developers: Would it be possible to place this option in the beginning of the list ./configure --help prints ?? Maybe people would notice it then? And name it something like --config-prefix= or whatever. At least for me that --with.. is a bit confusing with this option.

« previous php.dev (#21364) next »