How To Change the FTP user path in cPanel

cPanel, Ftp 7.3.2015 No Comments

cPanel does not allow you to change the FTP path for main account or sub accounts, but you can change it from the FTP user configuration file. By default, the cPanel user has a file in /etc/proftpd (even if you use pure-ftp the location is same) /etc/proftpd contains a file for each of the accounts…

Read More

How to Install Zend OPCache on PHP 5.3 OR 5.4

cPanel 19.2.2015 No Comments

  Installing Zend OPCache on PHP 5.3 or 5.4 1. Login to SSH on your server 2. Type the following commands: cd /usr/local/src wget http://pecl.php.net/get/ZendOpcache # to get the latest (master) build do the following instead: # wget https://github.com/zendtech/ZendOptimizerPlus/archive/master.zip tar xvfz ZendOpcache cd zendopcache-7.x.x phpize whereis php-config # set the path below ./configure –with-php-config=/usr/local/bin/php-config make…

Read More

How to install sphinx

cPanel 19.2.2015 No Comments

How to install sphinx 1. Download it at http://sphinxsearch.com/downloads/beta/ 2. Untar 3. ./configure –prefix=/usr/local/sphinx 4. make 5. make install 6. Then start sphinx server by going at the path :- /usr/local/sphinx/bin ./searchd To stop it, call searchd –stop then just start it again with searchd. 4. How to configure sphinx for a database? Edit the…

Read More

How to install Mod_h264 and mod_FLV Streaming for Apache on WHM/cPanel

Mod_h264_streaming cd /usr/local/src wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7 ./configure make make install Mod_FLV_Streaming cd /usr/local/src wget http://people.apache.org/~pquerna/modules/mod_flvx.c /usr/local/apache/bin/apxs -cia mod_flvx.c Open WHM control panel, open Apache Configuration, then clic on Include Editor. In Pre Main Include select All versions and paste those 4 lines. AddHandler h264-streaming.extensions .mp4 LoadModule h264_streaming_module /usr/local/apache/modules/mod_h264_streaming.so LoadModule flvx_module /usr/local/apache/modules/mod_flvx.so…

Read More

How to upgrade mysql with cloudlinux and cpanel

Using the mysql upgrade option in cpanel will not work with cloud Linux Please make sure to take backup of mysql folder in tar as well as .sql format. For upgrading to MySQL 5.5(for example), you should to do: /usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mysql55 /usr/share/lve/dbgovernor/db-select-mysql –install-now That’s it root@bima [~]# mysql -V mysql Ver 14.14 Distrib 5.5.34, for…

Read More