Category: Scripting

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 »

PHP Mailer : Swift Mailer

Every time I need a PHP class to handle sending email I turn to Swift Mailer at: http://swiftmailer.org. It’s feature rich and easy to use. Only downside is it doesn’t work for PHP4.

Read More »

Alternate Install Method For PHP PECL Modules

If the traditional “pecl install APC” style command is not working for some reason, here is the manual procedure:

Read More »

Determine PHP Version

How can I determine what version of PHP is running on my server? If you have command line access to the server then type:

or

And you’ll get a result similar to this:

Be careful using this

Read More »

Get a free consultation from Reliable Penguin

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