|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-06-15 01:24 UTC] jleffler at informix dot com
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. That might not matter if /usr/local is locally controlled, but on my machine, it is an NFS automounted readonly file system with only archaic stuff on it. Please can you upgrade the script to ensure that everything is keyed off the user define prefix very early in the configure.in code! And testing with an empty read-only /usr/local directory hierarchy is an exceptionally good discipline for finding this sort of problem. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 20:00:02 2026 UTC |
--------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