Missing fileinfo PHP extension on Laravel application – 500 Server Issue.

  Uncategorized

Follow below steps to Enable Debug logs on Laravel Application.

1.Log in to the server or browse the Domain Home directory through File Manager.

2. Change the directory to application directory

3. Find .env file and

4. And set the APP_DEBUG parameter to true

APP_DEBUG=true

5. Save the file and exit from it.

Now, open the url in browser which should display if there are any errors. Based on the information on browser act accordingly.

For example : If the error is due to fileinfo module check below steps  to proceed further
To enable fileinfo module follow below steps:

Loginto >>WHM
Search for >>Easyapache2
Check for >>currently installed packages
Go to >>customize
Go to>>PHP Extensions
>>search with module name and enable it for the required php version .

Once the above process is completed , need to replace APP_DEBUG=false in .env file

LEAVE A COMMENT