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

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

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 \

result: no errors

when I made 'make' I got:

In function `php_var_unserialize':
warning: comparison is always false due to limited range of data type
ext/standard/filestat.lo(.text+0xdc1): In function `php_stat':
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 [url][/url] I found similar bug, but It
was fixed in new snapshots of the sources ... but I not in 200309120730.

Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]