From: jarmak at 2i dot pl Operating system: RedHat 9 PHP version: 4.3.3 PHP Bug Type: Compile Failure Bug description: Undefined reference to `php_check_open_basedir_ex' in last snapshot
Description: ------------ I tried to compile PHP (php-4.3.3 snapshot: 200309120730) + Apache2 (httpd-2.0.47) + OpenSSL (openssl-0.9.7b). I compiled and installed OpenSSL and Apache2 from sources - It was working. I had started compiling PHP: ./configure \ --prefix=/usr/local/php \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-zlib \ --with-pgsql=/usr/local/pgsql \ --without-mysql \ --with-config-file-path=/usr/local/apache2/conf result: no errors when I made 'make' I got: /home/jarmak/installs/php/php4-200309120730/ext/standard/var_unserializer.c: In function `php_var_unserialize': /home/jarmak/installs/php/php4-200309120730/ext/standard/var_unserializer.c:308: warning: comparison is always false due to limited range of data type ext/standard/filestat.lo(.text+0xdc1): In function `php_stat': /home/jarmak/installs/php/php4-200309120730/ext/standard/filestat.c:575: undefined reference to `php_check_open_basedir_ex' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 How can I fix this error? In bug http://bugs.php.net/bug.php?id=23792 I found similar bug, but It was fixed in new snapshots of the sources ... but I not in 200309120730. -- Edit bug report at http://bugs.php.net/?id=25520&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25520&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25520&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25520&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25520&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25520&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25520&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25520&r=support Expected behavior: http://bugs.php.net/fix.php?id=25520&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25520&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25520&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25520&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25520&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25520&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25520&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25520&r=gnused