#20001 [NEW]: 'make install' struggling with existing php.ini and safe_mode
| From: | joerg@php.net | Date: | Sun, 20 Oct 2002 16:10:54 +0000 |
| Subject: | #20001 [NEW]: 'make install' struggling with existing php.ini and safe_mode | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10148@lists.php.net to get a copy of this message | ||
From: joerg@php.net
Operating system: Linux
PHP version: 4CVS-2002-10-20
PHP Bug Type: PEAR related
Bug description: 'make install' struggling with existing php.ini and safe_mode
When updating a box with the latest cvs vetrsion where mod_php/php(4.2.1)
already running and the existing php.ini have settings like 'safe_mode =
on' the make install prozess shows the following errors. Same is happend
when using the 4.3pre1.
./configure
..
"--with-config-file-path=/usr/apache/conf" \
"--with-apxs=/usr/apache/bin/apxs" \
....
tng-web:/usr/src/php4-200210200600 # make install
Installing PHP SAPI module
[activating module `php4' in /usr/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/apache/libexec/libphp4.so
chmod 755 /usr/apache/libexec/libphp4.so
cp /usr/apache/conf/httpd.conf /usr/apache/conf/httpd.conf.bak
cp /usr/apache/conf/httpd.conf.new /usr/apache/conf/httpd.conf
rm /usr/apache/conf/httpd.conf.new
Installing shared extensions:
/usr/lib/php/extensions/no-debug-non-zts-20020429/
Installing PHP CLI binary: /usr/bin/
Installing PEAR environment: /usr/lib/php/
Warning: file_exists() [http://www.php.net/function.file-exists]: SAFE
MODE Restriction in effect. The script whose uid is 100 is not allowed to
access /root owned by uid 0 in
/daten/src/php4-200210200600/pear/PEAR/Config.php on line 282
Warning: file_exists() [http://www.php.net/function.file-exists]: SAFE
MODE Restriction in effect. The script whose uid is 100 is not allowed to
access /usr/etc owned by uid 0 in
/daten/src/php4-200210200600/pear/PEAR/Config.php on line 285
Warning: file_exists() [http://www.php.net/function.file-exists]: SAFE
MODE Restriction in effect. The script whose uid is 100 is not allowed to
access /usr/lib/php owned by uid 0 in
/daten/src/php4-200210200600/pear/PEAR/Registry.php on line 101
[..]
and 100 more ...
Looks like that the php cli version is using during install and its
struggling with the existing php.ini settings.
--
Edit bug report at http://bugs.php.net/?id=20001&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20001&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20001&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20001&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20001&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20001&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20001&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20001&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20001&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20001&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20001&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20001&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20001&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20001&r=isapi