Category: PHP

Upgrade CentOS4 to PHP 5.2.9

To facilitate upgrading CentOS 4 servers to PHP 5.2.9 we created a new source RPM. This work was based on previous RPMs by Jason at Utter Ramblings (http://www.jasonlitka.com). Here’s a tar/gz with all the source and binary RPMS: http://blogs.reliablepenguin.com/files/php-5.2.9_for_centos4.tar.gz Contained

Read More »

Turn on register_long_arrays for PHP on Plesk

Add the following lines to the vhost.conf file for the site:

And then do: /usr/local/psa/admin/sbin/websrvmng -a -v

Read More »

Turn on allow_url_fopen for PHP in Plesk

Add the following to the vhost.conf file:

Read More »

Upgrade CentOS5 to PHP 5.2.x

Add c5-testing repository to yum:

You can then view the latest available php packages with:

Then you can install them with:

Read More »

Hide PHP Version

To hide the PHP version from HTTP responses, edit /etc/php.ini and change:

to:

Then restart apache.

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.