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

Redirect to error 500 Internal Server Error when PHP code error

Recommended Posts

how to config it to display error ?

 

<?php

echo "Phi";

?>

 

It's work well, but ...

 

<?php

echo "Phi

?>

 

It redirect to error 500, so i don't know what the error, pls help me.

Share this post


Link to post
Share on other sites

You do not mention which version of US you are using.

 

I assume 5-series

 

Errors will be logged to file:

UniServer\usr\local\apache2\logs\error.log

This is by default because US is enabled for production.

 

To change this click on UniTray

Select Advanced > php.ini switch to Development

Restart servers, errors will now show in browser.

 

All the best

Ric ;)

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