Quantcast
Channel: TerraMaster Forum
Viewing all articles
Browse latest Browse all 4187

Web Server/PHP/MySQL/MariaDB • enabling php in web server

$
0
0
I've done some html and javascript before but not php.
i have web server, php 7.4, along with mariadb installed.
web server has been set up with a virtual host and php installed (aforementioned php 7.4).

so, here's what works - i can connect in to a sample index.htm file and it will display, along with javascript, so that's a basic start.
however, when i try and connect to sample.php (just a basic php file i downloaded) i get '500 internal server error' and it doesn't load.
if i change the type to htm/html then it loads, but the php portions do nothing.

is there a step that I'm missing in getting the php portion to run? i feel like a service must need starting etc.

Statistics: Posted by trunip190 — Yesterday, 14:24



Viewing all articles
Browse latest Browse all 4187

Trending Articles