Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Java & Json in Php
01-10-2008, 08:44 AM #1
- Join Date
- Dec 2007
- Thanked 0 Times in 0 Posts
Java & Json in Php
In my "php.ini", Settings are as below
but "php -m " display
but "print phpinfo();" display
java not enabled.
but "print_r(get_loaded_extensions());" display
and java is absent in this array!
Php Code :
if (extension_loaded('java')) print '<br/>Java is loaded.';
else print '<br/>Java is not loaded.';
if (extension_loaded('json')) print '<br/>Json is loaded.';
else print '<br/>Json is not loaded.';
Java is not loaded.
Json is loaded.
So can someone tell me which one is saying the truth .
I need both Java and Json to be active for use in PHP.
I am using Windows XP.
Thanks in Advance!