cancel
Showing results for 
Search instead for 
Did you mean: 

500 Internal Server Error PHP logging

Hi.

 

I am getting a 500 error on my webpage hosted on shared hosting using Plesk.

 

The problem is that no matter what i do i cannot log the error.

I changed the .user.ini file to log to a specific file and also directly in php using:

 

ini_set("log_errors", 1);
ini_set("error_log", getcwd().DIRECTORY_SEPARATOR."log.txt");

I recycled the application after changed and the settings are being updated yet i still i cannot get the error to log thus i cannot see and resolve the error.

On a local version everything is working fine so the problem comes when the website is uploaded to server for some reason.

I just want the error to resolve it or at least something more than just 500 internal error.

 

Can anybody help me please?

 

Regards