From:             [EMAIL PROTECTED]
Operating system: Debian (Sid) Linux
PHP version:      4.0CVS-2002-03-16
PHP Bug Type:     *Configuration Issues
Bug description:  readline prints errors if compiled along with apxs

If you compile PHP with readline and apxs then every invocation of the CLI
will print the following errors:

PHP Warning:  Function registration failed - duplicate name - readline in
Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_info in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_add_history in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_clear_history in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_list_history in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_read_history in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_write_history in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name -
readline_completion_function in Unknown on line 0
PHP Warning:  readline:  Unable to register functions, unable to load in
Unknown on line 0

In despite of these errors, everything (including readline) works fine.

To be completely clear, this is my configure line:
./configure --with-readline --with-apxs=/usr/local/apache/bin/apxs
Any other configure line (without apxs) seems to work fine.

Note: only 4.3.0-dev (ok, 4.2.1-dev :) seems to be affected, 4.2.0-dev
NOT.
-- 
Edit bug report at http://bugs.php.net/?id=16115&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16115&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16115&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16115&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16115&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16115&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16115&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16115&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16115&r=submittedtwice

Reply via email to