How to check whether mod_rewrite is enable on server?

Usually cpanel(WHM) compiles mod_rewrite by default. You can check with this: root@server [~]# httpd -l|grep rewrite So you must just activate it in your '.htaccess' using: RewriteEngine On To check if mod_rewrite module is enabaled, create a new php file in your root folder of your WAMP server. Enter the following phpinfo(); Access your created file from your browser. Ctrl+F…

Is a module installed in php?

Try this ]# php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext gmp hash iconv intl json ldap libxml mbstring mcrypt mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix pspell readline Reflection session shmop SimpleXML sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer wddx xml xmlreader…

Opencart View Order Error

Viewing the orders in opencart admin - the following errors appear: [Wed Apr 01 14:51:21 2015] [warn] [client 67.81.xxx.xx] mod_fcgid: read data timeout in 45 seconds, referer: https://www.domainname.com/admin/index.php?route=sale/order&token=96d6680034320729c7df84d678589324 Try to increase the timeout in the /etc/httpd/conf.d/fcgid.conf file to 90 seconds.

Downgrade php from 5.4 to 5.3 after atomic upgrade

Disable Atomic [root@dedicated yum.repos.d]# nano atomic.repo # Name: Atomic Rocket Turtle RPM Repository for CentOS / Red Hat Enterprise Linux 6 - # URL: http://www.atomicrocketturtle.com/ # Note: This isn't covered by ASL support. -Scott [atomic] name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com mirrorlist = http://updates.atomicorp.com/channels/mirrorlist/atomic/centos-$releasever-$basearch enabled = 0 priority = 1 protect = 0 gpgkey =…

Upgrade php 5.3.3 to 5.4.36 on CentOS 6 and Plesk 12

Chech the version of php [root@dedicated ~]# php -v PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd. Install access to the Atomic repo with this command: [root@dedicated yum.repos.d]# wget -q -O - http://www.atomicorp.com/installers/atomic |…

configure: error: no, libmemcached sasl support is not enabled. (pecl/memcached, CentOS, cpanel)

# yum install libmemcached libmemcached-devel # pecl install memcached libmemcached directory [no]: checking whether libmemcached supports sasl... no configure: error: no, libmemcached sasl support is not enabled. Run configure with --disable-memcached-sasl to disable this check ERROR: `/tmp/pear/temp/memcached/configure --with-libmemcached-dir=no' failed yum install cyrus-sasl-devel # cd /usr/local/src # wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz # tar -zxvf libmemcached-1.0.18.tar.gz # cd libmemcached-1.0.18 # ./configure # make #…

Install Memcache on WHM/cPanel or CentOS

Memcached (Memcache Daemon) is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory. It is commonly used to speed up dynamic database-driven websites by caching data and objects in server memory to reduce the number of times the data source must be read. Memcached is free and open-source software, licensed under…