PHP 4.0 Bug #5046 Updated: Install tries to put stuff in /usr/local even when --prefix is specified
| From: | Bug Database | Date: | Fri, 11 Aug 2000 09:45:47 +0000 |
| Subject: | PHP 4.0 Bug #5046 Updated: Install tries to put stuff in /usr/local even when --prefix is specified | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28504@lists.php.net to get a copy of this message | ||
ID: 5046
Updated by: sniper
Reported By: jleffler@informix.com
Status: Closed
Bug Type: Installation problem
Assigned To:
Comments:
--------USER FEEDBACK-----------
PHP 4.0.1pl2 still does the same as originally reported with PHP 4.0.0.
I configure around it now, specifying --prefix but also:
PHPDIR=/usr/php/v4.0.1pl2
./configure --prefix=$PHPDIR2 \
--with-apxs=/usr/apache/v1.3.12/bin/apxs \
--with-informix=/usr/informix/9.20.UC2 \
--with-exec-dir=$PHPDIR2/bin \
--with-lib-dir=$PHPDIR2/lib \
--with-config-file-path=$PHPDIR2/lib
I doubt whether I needed both --with-lib-dir and --with-exec-dir, but
the --with-lib-dir does not set the config file path either.
-------END OF USER FEEDBACK --------
<cut configure --help >
--with-exec-dir[=DIR] Only allow executables in DIR when in safe mode
<end cut>
This isn't what you want to accomplish??
And there isn't any --with-lib-dir in php4's configure. (or I'm blind)
--with-config-file-path is used to tell php where to look for php.ini .
--Jani
Full Bug description available at: http://bugs.php.net/?id=5046