Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Redirect to error 500 Internal Server Error when PHP code error

Featured Replies

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.

  • 2 weeks later...

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 ;)

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.