Jump to content
The Uniform Server Community
Sign in to follow this  

How to view PHP errors

Recommended Posts

I've just recently installed Uniserver, and I can't figure out where or how to view php errors that occur as I'm trying to debug php programs. Any help would be appreciated.

Share this post

Link to post
Share on other sites

There are two configuration files for PHP production and development.


For security reasons Uniform Server defaults to production and error reporting to screen is disable.


To check which file you are using, from UniTray run “Server Status”

A script will run, fourth line down shows which file is switch in.


For error reporting you need to use the development file.

From UniTray select “Advanced”

From sub-menu run the third item from bottom “php.ini switch to development”

Restart servers to allow new configuration to be picked up.


Errors will be displayed to screen

Additional errors are found in file UniServer\usr\local\apache2\logs\error.log

This file is accessible from UniTray “Server information and logs”


All the best

Ric :angry:

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...