Knowledge Base
MilesWeb / Dedicated Server FAQ, VPS FAQ

Caused by SystemException in API_Linux.cpp:444: execve() for program “/usr/bin/php” failed: Permission denied

Approx. read time : 2 min

“Internal Server Error” when you try accessing your website. Further investigating you check the error logs (/usr/local/apache/logs/error_log) & see the error below.

[error] [client xx.xx.xx.xx] Caused by SystemException in API_Linux.cpp:444: execve() for program “/usr/bin/php” failed: Permission denied

If you read the error logs carefully, you see that the permissions on PHP binary are incorrect. Login to your server via SSH and correct them with command below.

# chmod 755 /usr/bin/php

Now, try accessing the website now. It should be functional & error log won’t report any such error messages.

Admin
With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.