I want to use PHP to build & develop my website, but I'm not sure that my hosting server supports it, how can I check this issue?
Hi moll,
1.Create a blank file and call it "myfile.php" – The file must end with the ".php"
2.Use only this line of code -
<?php
phpinfo() ;
?>
3.Save the file and upload the file to your website server.
4.Go to www.mywebsite.com/myfile.php
If you see the line of code you wrote, it means you can't run PHP, if you see the PHP information it means you can run PHP on your server.
90% of commerciall servers supports PHP, but if your server is located in your intranet . make sure that the php package installed
in addition to mysql.
if your server is windows just download and install this application its easy and works just fine .
http://www.wampserver.com/en/
460 views
Usually answered in minutes!
i want to learn php but i dont know how to run php
That you can check with your hosting provider... If you want to run php file... you can choose linux hosting..
×