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

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

Thanks. Helps a lot. (Didnt knew where to find the text document). :)


I am representing the open tibia community otland.net
otland.net is contributing open source server software to an 2d mmorpg game called Tibia.

Here are some Uniform server tutorials/guide contributions from me:
VIDEO TUTORIAL: I teach newbreeds to install and operate uniform server: (Updated for Coral 8.x)
http://youtu.be/AsyxPhDTOcI

Uniform Server newbie guide:
Securely installing Uniform Server for total newbeginners:
http://otland.net/f479/nothing-fully-worki...-0-3-6-a-77593/
(also contains how to get our open source tibia game, and connect it successfully to the uniform mysql server).

How to add a website for our open source tibia game which includes highscore, create account and so on: (On uniform server)
http://otland.net/f479/website-installing-...m-server-91951/

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.

Guest
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.

Loading...
Sign in to follow this  

×
×
  • Create New...