0

I've very new to Litespeed and so far love it! All works amazingly fast on port 443(HTTPS), but on port 80 (HTTP) the browser prints the PHP code rather than executing it.

Can anyone point me in the right direction, I'm a bit of a noob and very new to servers.

This is what's running on port 80

root@openlitespeed-cuyg-vm:/home/info# netstat -tulpn | grep :80

tcp6       0      0 :::80     :::*       LISTEN      606/apache2

Many thanks

Julie Freeman
  • 39
  • 1
  • 8

1 Answers1

0

summary :

the case here is LiteSpeed runs on port 443, but Apache runs on port 80 , as OP's netstat output

and it seems the Apache did not configure the PHP properly , so it just outputs the source code

so the solution for OP was stop Apache to free port 80 , then restart LiteSpeed by systemctl restart lsws to make it bind to port 80

qtwrk
  • 329
  • 2
  • 7