Just by writing one short line of php code, you can extract 4 or 5 pages of information about the php installed on your server.
Write the following codes in a notepad and save as "phpinfo.php" in your "www" folder.
The word "phpinfo()" is one of the Php functions called "Php Built in Function".
Type http://localhost/phpinfo.php in your browser and click enter. The following will appears.
Php code တေၾကာင္းထဲ ေရး ရံုနဲ ့ သင့္ server ေပၚ မွာ run လုပ္ေနတဲ့ Php ရဲ့ information စာမ်က္ႏွာ ၄-၅ ရ႕က္ ေလာက္ ေခၚၾကည့္ လို ့ရပါ တယ္။
ေအာက္ပါ code ကို notepad မွာေရး ျပီး phpinfo.php ဆိုတဲ့ file name နဲ ့ server ရဲ့ www folder မွာ save လုပ္ပါ။
<html> <head> <title>PhpInfo</title> </head> <body> <?php phpinfo(); ?> </body> </html>
phpinfo() ဆိုတဲ့ စာေၾကာင္း ေလးဟာ "Php Built in Function" လို ့ေခၚ တဲ့ Php function အုပ္စု ထဲမွ တခု ျဖစ္ ပါတယ္၊
Browser တြင္ http://localhost/phpinfo.php ကိုရုိက္ထဲ့ ျပီး enter ကိုႏွိိပ္ ပါ က ေအာက္ပါ အတိုင္း ေပၚလာ ပါမယ္။