Install php gearman on ubuntu precise
Steps 1. Install the gearman job server and libgearman : sudo apt-get install gearman-job-server libgearman-dev 2. Install the pecl extension sudo apt-get install php-pear php5-dev sudo pecl install gearman The output will show something like this at the end : Build process completed successfully Installing ‘/usr/lib/php5/20100525/gearman.so’ install ok: channel://pecl.php.net/gearman-1.0.2 configuration option “php_ini” is not set to php.ini location You should add “extension=gearman.so” to php.ini 3. Edit php.ini file : $ locate php.ini /etc/php5/apache2/php.ini /etc/php5/cgi/php.ini Open [...]
Cgi bin directory for each user in Apache
This page http://httpd.apache.org/docs/2.2/howto/cgi.html describes how to give each user his own cg-bin directory. The following lines should be added to the Apache configuration file http.conf : Along with this there are some more points to be kept in mind. If you .htaccess file has a section like this : then putting the cgi configuration will give this error : Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden and the cgi [...]