1. Create a php file in your web root directory,
If you are using Linux then it will in /var/www directory
Create a file using linux commands:
cd /var/www
nano phpinfo.php
2. Write the following code
<?php
phpinfo();
?>
3. Then run this php script on the browser and have fun!!!
If you are using Linux then it will in /var/www directory
Create a file using linux commands:
cd /var/www
nano phpinfo.php
2. Write the following code
<?php
phpinfo();
?>
3. Then run this php script on the browser and have fun!!!
Comments
Post a Comment