Hello,
Not sure how to enable PHP on my system. I get the errors:
Warning: phpinfo() has been disabled for security reasons in /home/romniel/public_html/cgi/test.php on line 2
Thanks,
-Mark
Hello,
Not sure how to enable PHP on my system. I get the errors:
Warning: phpinfo() has been disabled for security reasons in /home/romniel/public_html/cgi/test.php on line 2
Thanks,
-Mark
It's as the message says: Warning: phpinfo() has been disabled for security reasons in /home/romniel/public_html/cgi/test.php on line 2
phpinfo is disable on all free hosting account due to security reasons. What did you need to know about php from that?
I was trying to figure out if PHP was supported. I tried to print/echo out
<?php
Print "hello";
Echo "world";
?>
but that didn't work, and I still ended up getting the error message.
PHP is enabled.
What error message to you get with that last snippet?
Nothing is always absolutely so.
got it working! I placed the .php file into a cgi-bin directory (which didn't work) but I placed it out side the directory and it worked.
I'm glad it's working for you now. Just to let you know, now, that the cgi-bin is disabled on all free hosting accounts due to security reasons. I'm sorry that I didn't catch that before now after seeing the url you provided in the error message you originally posted about.