Results 1 to 1 of 1
Hi folks,
I followed following scripts on;
PHP 101 (part 1): Down the Rabbit Hole
A
Code:
<html>
<head></head>
<body>
Agent: So who do you think you are, anyhow?
<br ...
- 04-02-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
json loaded twice. Where to check?
Hi folks,
I followed following scripts on;
PHP 101 (part 1): Down the Rabbit Hole
ACode:<html> <head></head> <body> Agent: So who do you think you are, anyhow? <br /> <?php // print output echo 'Neo: I am Neo, but my people call me The One.'; ?> </body> </html>
B.
Code:<html> <head></head> <body> Agent: So who do you think you are, anyhow? <br /> <?php // define variables $name = 'Neo'; $rank = 'Anomaly'; $serialNumber = 1; // print output echo "Neo: I am <b>$name</b>, the <b>$rank</b>. You can call me by my serial number, <b>$serialNumber</b>."; ?> </body> </html>
and created 2 files namely test_A.php and test_B.php respectively.
On testing them;
$ php test_A.phpCode:PHP Warning: Module 'json' already loaded in Unknown on line 0 <html> <head></head> <body> Agent: So who do you think you are, anyhow? <br /> Neo: I am Neo, but my people call me The One. </body> </html>
$ php test_B.phpit seems 'json' loaded twice.Code:PHP Warning: Module 'json' already loaded in Unknown on line 0 <html> <head></head> <body> Agent: So who do you think you are, anyhow? <br /> Neo: I am <b>Neo</b>, the <b>Anomaly</b>. You can call me by my serial number, <b>1</b>. </body> </html>
On /etc/php5/apache2/php.ini I can't find the lineor even the word "json". Please advise where I have to check?Code:extension=json.so
TIA
B.R.
satimis


Reply With Quote