Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

PHP Not Functioning Properly

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
cloud_fade
Posts: 1
Joined: Wed Oct 01, 2014 1:43 am

PHP Not Functioning Properly
  • Quote

Post by cloud_fade » Wed Oct 01, 2014 1:49 am

Hi! I am currently using Vesta server with about 18 people who are hosting websites. I am having problems with PHP working properly.

In the Control panel in the Services tab, everything is running properly. Vesta is updated to the latest version. I have a few things:

1) If any website's Apache template is set to "phpcgi" it causes every site hosted on the server to give a 502 Bad Gateway error. This is not good because one person could cause the whole server not to function. My question is, what exactly are the differences in the Apache Templates? How could I fix this problem?

2) If I write proper PHP code into an index.html file on my site, the PHP code will not appear but appears as you see it now at http://test.gwidde.org in which it's interpreted incorrectly. I am starting to wonder if PHP is working at all, how can I check if PHP is running?

If I could find a way to fix those two problems that would be splendid! Thank you.

Ubuntu 14.04 clean Vesta installation
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password