Can't run php script ?

Status
Not open for further replies.

debugsit

New Member
Messages
2
Reaction score
0
Points
1
Is php enabled by default ?

I'm testing with this,


Code:
<!DOCTYPE html>
<html>
<body>
<h1>HTML Header 1</h1>
<?php
echo "PHP!";
?>
</body>
</html>

But all that is printed is "HTML Header 1"

EDIT: Free Account btw.
 

Anna

I am just me
Staff member
Messages
11,783
Reaction score
595
Points
113
The answer is yes, we support php, version 5.4 is installed on the servers.

To get the server to parse any php you would need to have the file saved as a php file (file.php), otherwise the server would not know it is expected to parse php.
 
Status
Not open for further replies.
Top