By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,747 Members | 2,011 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,747 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.