Loading...

Checking the install

After installing Apache and PHP try this minimal PHP script. It will show some of your server's web environment information. <?php ...

After installing Apache and PHP try this minimal PHP script. It will show some of your server's web environment information.
<?php
phpinfo();
?>
Save it in the Apache document root as phpinfo.php. If you installed XAMPP in Windows then your document root is C:\Program Files\xampp\htdocs. My Linux default document root is/var/www/html. If you can't find it search and ask for help in the forum.
To watch the output of the phpinfo.php script type in your browser's address bar:http://localhost/phpinfo.php. If you installed Apache in a machine other than your desktop then replace localhost with the IP address of the server. My server IP address is 10.1.1.103 so i type in the address bar: http://10.1.1.103/phpinfo.php. If you already have a public web server with an assigned domain type: http://example.tld/phpinfo.php"
PHP Tutorial 4560503625330316189

Post a Comment

emo-but-icon

Home item

ADS

Active Search Results

Popular Posts

Labels

Random Posts

Submit Articles for Free
Authors can submit copyright free articles and enjoy the many benefits provided by ArticleGeek.com.

Flickr Photo