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 being Executed on Server

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
San
Posts: 8
Joined: Mon Aug 19, 2019 1:03 am

Os: Ubuntu 17x
Web: apache + nginx
PHP Not being Executed on Server
  • Quote

Post by San » Mon Aug 19, 2019 6:37 am

Heya so i just fixed an HTTP Error 500
But now I’m getting this.
I believe it’s the server not executing the php in the script.
How would i go about fixing it?
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: PHP Not being Executed on Server
  • Quote

Post by grayfolk » Mon Aug 19, 2019 9:33 am

San wrote: ↑
Mon Aug 19, 2019 6:37 am
Heya so i just fixed an HTTP Error 500
But now I’m getting this.
I believe it’s the server not executing the php in the script.
How would i go about fixing it?
I think this is because your php script contain errors. Check logs.
Top

San
Posts: 8
Joined: Mon Aug 19, 2019 1:03 am

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Not being Executed on Server
  • Quote

Post by San » Mon Aug 19, 2019 11:25 pm

I didn't write the script it comes from the Pterodactyl Panel
Top

San
Posts: 8
Joined: Mon Aug 19, 2019 1:03 am

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Not being Executed on Server
  • Quote

Post by San » Mon Aug 19, 2019 11:26 pm

Also PHP Didn't return any errors
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: PHP Not being Executed on Server
  • Quote

Post by grayfolk » Tue Aug 20, 2019 1:14 pm

San wrote: ↑
Mon Aug 19, 2019 11:25 pm
I didn't write the script
Doesn't matter.
San wrote: ↑
Mon Aug 19, 2019 11:26 pm
Also PHP Didn't return any errors
How you check? Did you check domain logs in /var/log/httpd/domains?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: PHP Not being Executed on Server
  • Quote

Post by skamasle » Tue Aug 20, 2019 5:51 pm

What is the error exactly ?

Php file just be downloaded ?

Are you try remove .htaccess and try ?
Top

San
Posts: 8
Joined: Mon Aug 19, 2019 1:03 am

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Not being Executed on Server
  • Quote

Post by San » Sat Aug 31, 2019 3:29 am

Error Resolved
Top


Post Reply
  • Print view

7 posts • 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