How Do I Know My Setup is Working?
After you have successfully installed everything, it is time to check if php is working fine. Start the apache server or the xampp server. And create a file, named phptest.php. Add following line in that file:
Code:
|
<?php phpinfo(); ?>
|
Put this file in the root web directory. This means if you are running WAMPP on windows, put it in C:\wampp\htdocs. f you are using some web hosting server, upload it to the server where you would upload HTML files. Now open following link in browser.
|
http://localhost/phptest.php or http://your-domain/phptest.php
|
This would give you all the information related to the php and related modules. If you can see this screen, Congratulations you have php working fine and now you can start writing master codes in php.

Recent comments
1 week 3 hours ago
2 weeks 5 days ago
4 weeks 12 hours ago
4 weeks 2 days ago
4 weeks 4 days ago
4 weeks 5 days ago
29 weeks 1 day ago
29 weeks 5 days ago
29 weeks 5 days ago
30 weeks 20 hours ago