![]() |
PHP Warning: Module 'json' already loaded in Unknown on line 0 - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: PHP Warning: Module 'json' already loaded in Unknown on line 0 (/thread-4162.html) |
PHP Warning: Module 'json' already loaded in Unknown on line 0 - zeyland - 09-02-2008 01:22 AM I´m testing ispcp with eaccelerator and get with php -v: "PHP Warning: Module 'json' already loaded in Unknown on line 0"
It seems that module is loaded twice, also i´m looking for php.ini and found only: nano /etc/ispcp/fcgi/parts/php5/php.ini and checked for extension=json.so but not exist here (?) but found this here nano /etc/php5/cli/php.ini and commended out ;extension=json.so Now, command php -v (or php-cgi -v) show me no errors: #PHP 5.2.0-8+etch11 (cli) (built: May 10 2008 10:46:24) #Copyright © 1997-2006 The PHP Group #Zend Engine v2.2.0, Copyright © 1998-2006 Zend Technologies Im not sure: 1. I was right with editing /cli/php.ini or not? json.so will working or not? 2. How can i check this (that module is right loaded)? 3. Where I can find global php.ini file(s) under ispcp Can anybody help me and answer my questions? I´m greenhorn here :-) ISPCP and PHP is new adventure for me :-) Debian Etch 4.0 PHP 5.2.0 ISPCP Omega 1.0.0 RC6 Regards zeyland RE: PHP Warning: Module 'json' already loaded in Unknown on line 0 - zeyland - 09-02-2008 01:34 AM PS I heard that JSON may be compiled into PHP, so loading it as an extension means it's loaded twice, so comment out in /etc/php5/cli/php.ini have sense BUT Im still not sure... |