Category: Scripting

Upgrade CURL

The Yoast SEO plugin in WordPress has started advising users to upgrade curl to the latest version. On CentoOS this can be done easily using the city-fan.org repo here: http://www.city-fan.org/ftp/contrib/yum-repo/ For a CentOS 6 server, here are the steps:

Read More »

Using PHP composer.phar With Non-default PHP Install

Composer for PHP is an increasingly popular tool for managing packages within a PHP application.  Here’s a link for more information: https://getcomposer.org/ On many of our Plesk servers we have multiple PHP versions install. The default at /usr/bin/php is provided by

Read More »

Apache2 With mod_fcgid On CentOS 6.2

Need mod_fcgid on a CentOS 6.2 or similar server? Check out this great how-to: https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-centos-6.2 I especially like the use of suexec. This howto worked on the first try! There are not many actual working mod_fcgid howtos! One issue that

Read More »

Disable PHP zlib.output_compression

If you need to disable zlib output compression from the .htaccess file, then just add the following line to the top of the file:

 

Read More »

Python 2.7 and Python 3.3 on CentOS 6

Here’s a brilliant article on how to add python 2.7 and 3.3 to a CentOS server which defaults to 2.6 without breaking anything: http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/ Especially useful is the last section on creating and using an isolated environment.

Read More »

Get a free consultation from Reliable Penguin

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