|
|
Re: Call to undefined function ... json_decode() with cli script [message #1639650 is a reply to message #1639165] |
Fri, 27 February 2015 19:00 |
Ernest Wagner Messages: 6 Registered: July 2014 |
Junior Member |
|
|
When I first started Luna (4.4.1), there was no project default PHP until I used the "Installed PHP" button to search for the system php (/bin/php) file. There, I set the PHP and the location of the system (/etc/php.ini) file. Luna then used that as the project default.
Even though the php.ini file indicated that I didn't have to use "extension = /path/to/json.so ", I did add it to the php.ini and the error message stopped.
BUT!!
I reverted to Kepler (PDT 3.2.0) and discovered that it isn't necessary to add "extension=/path/to/json.so to the php.ini. In fact, if it is added, PHP will give a warning that it is already loaded.
So I don't know if that is a bug or not in Luna, but Kepler also fixes another problem: In Luna, xdebug wasn't displaying each step through every statement in a function. Kepler does.
I just noticed that Luna SR 2 has been published so I'll give that a try.
Thanks for your input.
Regards
[Updated on: Fri, 27 February 2015 19:31] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04896 seconds