How to activate php

HanBrouwer

New Member
Messages
1
Reaction score
0
Points
1
I started a free site on x10, made a small database, made a little html file and go to it in the browser the html is perfect. I have set php to version 8... but I see that it is 7..... When i add a small php line like
<?php echo "Het werkt"; ?>
in the body of my html, I can see in the browser only the html part. When I make a php-file with the same line, I do not see it in the browser. When I make a php-file with acces to the database, I get an http error 500. I think that php is not activated. How do I activate it?
 

mrburnsx

Community Advocate
Community Support
Messages
1,079
Reaction score
87
Points
48
PHP is already active, the filename has to end with .php

Error 500 is more indicative of something in your script being incorrect, the error log would shed light on that.
 
Top