How to display PHP errors?

Feb
02

On a production server, you will definitely want to turn off errors from displaying on the screen due to security and usability reasons but what do you do when you're on a development machine trying to debug a malfunctioning PHP script? PHP gives a programmer an ability to control logging of errors, and the types of errors to be displayed. You may enable PHP error display in one of two ways.

1. You may turn on error display at the script level when a server level error display is turned off.

How to upgrade PHP 5.1.6 to PHP 5.3.x on CentOS?

Feb
02

I have been using CentOS 5.x for several years now, but PHP is still at 5.1.6 on the latest CentOS 5.7. More and more applications are now require higher versions of the PHP including Drupal 7 and Wordpress 3.2. I have upgraded a number of my servers to PHP 5.3.x over the course of last couple of years, and demand is higher each year. I have been using several custom repositories to upgrade the PHP to 5.3.x in the past, but using php53 packages makes it easier than ever to upgrade php to 5.3.x.

Pages

Subscribe to Web Traffic Exchange RSS