php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24596 CLI fails to link with an undefined reference to `php_check_open_basedir_ex'
Submitted: 2003-07-10 17:03 UTC Modified: 2003-07-10 17:41 UTC
From: phpbug-100703 at smayw dot nask dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4CVS-2003-07-10 (stable) OS: RedHat Linux 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: phpbug-100703 at smayw dot nask dot com
New email:
PHP Version: OS:

 

 [2003-07-10 17:03 UTC] phpbug-100703 at smayw dot nask dot com
Description:
------------
compiling most current CVS of php4 will fail when building the CLI version of php:

ext/standard/filestat.lo(.text+0xdfd): In function `php_stat':
/usr/local/src/php-cvs/php-src/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
$

the build will go through when --disable-cli is added to ./configure options; the ./configure options I used are:

./configure --with-config-file-path=/etc/httpd/conf --with-apxs2=/usr/local/apache/current/bin/apxs --with-gettext --with-xml --with-dom --with-mysql --with-ldap --with-mcrypt --enable-mime-magic --with-iconv --enable-mbstring --with-imap --disable-posix --with-zlib --with-bz2


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-10 17:41 UTC] sniper@php.net
Works fine here. Get a snapshot, those work much better.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 03:01:31 2025 UTC