Home ›
Drush problems with... json?Drush problems with... json?
Submitted by Benjamin Melançon on October 15, 2007 - 12:26pm
PHP Warning: Module 'json' already loaded in Unknown on line 0
drush 5.x-1.0-beta4
Followed these instructions (modified for Apache) but they didn't help.
(If you've installed the module php5-json and get warnings like this one:
PHP Warning: Module 'json' already loaded in Unknown on line 0
it means that the module got loaded twice. Open /etc/php5/cgi/php.ini, scroll down to the end and comment out the line extension=json.so:
vi /etc/php5/cgi/php.ini
[...]
;extension=json.so
[...]Then restart Lighttpd again:
/etc/init.d/lighttpd restart
The warnings should now be gone.)
Comments
Post new comment