#20001 [Opn->Csd]: 'make install' struggling with existing php.ini and safe_mode

From: Date: Tue, 29 Oct 2002 16:19:14 +0000
Subject: #20001 [Opn->Csd]: 'make install' struggling with existing php.ini and safe_mode
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10330@lists.php.net to get a copy of this message
ID: 20001 Updated by: iliaa@php.net Reported By: joerg@php.net -Status: Open +Status: Closed Bug Type: PEAR related Operating System: Linux PHP Version: 4CVS-2002-10-20 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-10-20 11:10:54] joerg@php.net 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 this bug report at http://bugs.php.net/?id=20001&edit=1

« previous php.pear.dev (#10330) next »