500 Internal server error on Magento

Started by sasupo, March 09, 2020, 03:46:17 PM

Previous topic - Next topic

sasupo

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 :)


sasupo

Tryed this solution but no success: go to CWP.admin Left Menu --> User Accounts -- > Fix Permissions and select user.

Any other Ideas?

Sandeep

can you check php 7.3 selector is installed i guess it is not.

pixelpadre

Quote from: sasupo 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 :)

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.

sasupo

Solved it was permission problem in our magento directory

redy

On my env, just edit .htaccess
Change:
Options +FollowSymLinks
with
Options +SymLinksIfOwnerMatch