computermax2328 Posted November 14, 2012 Share Posted November 14, 2012 Hello All, So I signed up for some free web hosting to have a server to test some PHP on. The server isn't running my PHP script. I created a page with a form and of course some PHP script to accommodate the form, but the page went blank when I ran the page. Then I took the PHP our completely and the page ran the HTML and CSS. What is up with that?? Quote Link to comment https://forums.phpfreaks.com/topic/270689-server-not-running-php/ Share on other sites More sharing options...
jazzman1 Posted November 14, 2012 Share Posted November 14, 2012 Phone them ! Quote Link to comment https://forums.phpfreaks.com/topic/270689-server-not-running-php/#findComment-1392396 Share on other sites More sharing options...
Scott_S Posted November 14, 2012 Share Posted November 14, 2012 a) php isn't installed on that server B) web server is configured to only run php scripts with some other file extension c) you code has errors and error reporting is turned off on the web server you can try phpinfo() check your web hosts documentation Quote Link to comment https://forums.phpfreaks.com/topic/270689-server-not-running-php/#findComment-1392397 Share on other sites More sharing options...
computermax2328 Posted November 14, 2012 Author Share Posted November 14, 2012 No phpinfo(). Bastards said they ran PHP 5 Quote Link to comment https://forums.phpfreaks.com/topic/270689-server-not-running-php/#findComment-1392408 Share on other sites More sharing options...
AyKay47 Posted November 14, 2012 Share Posted November 14, 2012 (edited) Use XAMPP to test scripts. Edited November 14, 2012 by AyKay47 Quote Link to comment https://forums.phpfreaks.com/topic/270689-server-not-running-php/#findComment-1392410 Share on other sites More sharing options...
PFMaBiSmAd Posted November 14, 2012 Share Posted November 14, 2012 Post the exact .php script you used with the phpinfo statement in it, showing the opening php tag you used. Quote Link to comment https://forums.phpfreaks.com/topic/270689-server-not-running-php/#findComment-1392434 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.