469,586 Members | 2,196 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,586 developers. It's quick & easy.

PHP Warning: Module 'readline' already loaded in Unknown on line 0

Hi group,

PHP Warning: Module 'readline' already loaded in Unknown on line 0
what this warning means?
please help me by explaining

May 9 '07 #1
3 9842
On May 9, 9:58 am, geevaa <govivasa...@gmail.comwrote:
Hi group,

PHP Warning: Module 'readline' already loaded in Unknown on line 0

what this warning means?
please help me by explaining
You probably have a module dynamically loaded in php.ini twice. IE,
something like this:

extension=readline.dll
;...more settings in between maybe...
extension=readline.dll

..dll would be .so if you are on Linux. You might also be using dl() to
load something that's already loaded.

The PHP documentation says you need to configure PHP with --with-
readline (if and when you compile it) to use Readline. If you have PHP
configured with that already and are loading the module also (like
above), that may be causing the error. Use <?php phpinfo(); ?to see
your configuration settings (near the top) and some other stuff (will
probably have a section for Readline if it's loaded).

-Mike PII

May 10 '07 #2
A copy of php.ini pasted below.
there's no readline.so
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the
following
; syntax:
;
; extension=modulename.extension
;
; For example:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory
information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
;;;;
; Note: packaged extension modules are now loaded via the .ini files
; found in the directory /etc/php.d; these are loaded by default.
;;;;

May 10 '07 #3
geevaa wrote:
A copy of php.ini pasted below.
That's your *whole* php.ini?

Are you sure you don't have another php.ini hidden away somewhere?

--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux
May 10 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Dmitry Duginov | last post: by
6 posts views Thread by delusion7 | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.