Author Topic: 500 Internal server error on Magento  (Read 7857 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
500 Internal server error on Magento
« on: March 09, 2020, 03:46:17 PM »
We just transfered page from cpanel server to CWP just for testing if will work with Varnish and we got this error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Checked log files and there are this lines:
[Mon Mar 09 16:42:06.005490 2020] [:error] [pid 19715:tid 140343676753664] [client 81.17.20.10:43946] SoftException in Application.cpp:542: Could not execute script "/home/topoprem/public_html/index.php"
[Mon Mar 09 16:42:06.005788 2020] [:error] [pid 19715:tid 140343676753664] [client 81.17.20.10:43946] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php73/usr/bin/php-cgi" failed: No such file or directory
[Mon Mar 09 16:42:06.005809 2020] [core:error] [pid 19715:tid 140343676753664] [client 81.17.20.10:43946] End of script output before headers: index.php

I would really apreciate any help

New to CWP :)

Offline
*****
Re: 500 Internal server error on Magento
« Reply #1 on: March 09, 2020, 04:41:22 PM »

Offline
*
Re: 500 Internal server error on Magento
« Reply #2 on: March 09, 2020, 05:54:33 PM »
Tryed this solution but no success: go to CWP.admin Left Menu --> User Accounts -- > Fix Permissions and select user.

Any other Ideas?

Offline
*****
Re: 500 Internal server error on Magento
« Reply #3 on: March 09, 2020, 07:25:19 PM »
can you check php 7.3 selector is installed i guess it is not.

Offline
***
Re: 500 Internal server error on Magento
« Reply #4 on: March 09, 2020, 09:47:06 PM »
We just transfered page from cpanel server to CWP just for testing if will work with Varnish and we got this error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Checked log files and there are this lines:
[Mon Mar 09 16:42:06.005490 2020] [:error] [pid 19715:tid 140343676753664] [client 81.17.20.10:43946] SoftException in Application.cpp:542: Could not execute script "/home/topoprem/public_html/index.php"
[Mon Mar 09 16:42:06.005788 2020] [:error] [pid 19715:tid 140343676753664] [client 81.17.20.10:43946] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php73/usr/bin/php-cgi" failed: No such file or directory
[Mon Mar 09 16:42:06.005809 2020] [core:error] [pid 19715:tid 140343676753664] [client 81.17.20.10:43946] End of script output before headers: index.php

I would really apreciate any help

New to CWP :)

Anyone who volunteers to use Magento deserves what they get.  500 error.  This is Magento issue.  Millions of posts about magento server errors. 

Use Zencart. Magento is a nightmare.

Offline
*
Re: 500 Internal server error on Magento
« Reply #5 on: March 10, 2020, 06:04:09 AM »
Solved it was permission problem in our magento directory

Offline
*
Re: 500 Internal server error on Magento
« Reply #6 on: September 10, 2021, 08:01:25 AM »
On my env, just edit .htaccess
Change:
Code: [Select]
Options +FollowSymLinkswith
Code: [Select]
Options +SymLinksIfOwnerMatch