• Home » kb
  • How to Install PHP IonCube Loader in CentOS and Ubuntu

    Posted at April 16, 2017 at 9:41 pm by Jithin

    IonCube loader is used for decoding encrypted PHP files. It is freely available and very easy to install. It handles both reading and execution of encoded files at run time. It also helps to speed up the websites.   Steps to install IonCube loader 1) First you need to install wget command for downloading applications. Wget is default on some servers.  In CentOS: # yum install wget  In Ubuntu # apt-get install wget   2) Download latest IonCube loader from IonCu   [...]

    Read More

    How to Set max_input _vars for Domain in cPanel

    Posted at March 30, 2017 at 10:44 pm by Jithin

    PHP obtains input variables from cookies enabled on the page and from GET and POST requests. By default, PHP scripts are allowed to take only 1000 input variables. However, for many applications we need to increase this variable. This article provides the steps to increase the max_input _vars within cPanel. For this, please follow the below given steps.   1) Login to your cPanel interface. 2) Navigate to the ‘Software’ section.   3) Click on the icon ‘MultiPHP    [...]

    Read More

    How to Enable PHP Error Log for WordPress Sites

    Posted at March 30, 2017 at 10:42 pm by Jithin

    In this tutorial we can learn how to enable PHP error log for Wordpress sites. WordPress is the most popular free and open-source content management system which is based on PHP and MySQL. WordPress is used by more than 25% of the 10 million websites. A system admin will eventually have to work with a WordPress site. For an admin, error logs are clues which can be retrieved from apache log. However, WordPress comes with a specific debug systems designed to simplify the process as well as stan   [...]

    Read More

    PhpWiki : Steps to Install and Setup

    Posted at February 27, 2017 at 6:42 pm by Jithin

    PhpWiki is a free open source web-based wiki software application. It was the first wiki written in PHP and is used to edit and format books for publication. It is a scalable software and a feature-rich wiki implementation which uses PHP to process and display data stored in a database, such as MySQL or MariaDB. It is a content managing system where any one can edit or delete the pages using a web browser distributed under GNU General Public License version 2.0 (GPLv2).   Server Requireme   [...]

    Read More

    Enabling Multiple PHP versions On DirectAdmin

    Posted at February 27, 2017 at 6:41 pm by Jithin

    It is convenient to have multiple PHPs in a server. DirectAdmin control panel has this feature available. With this, you can have legacy PHP versions to the latest stable versions. This will allow the server to support legacy software along with the latest software. This can be achieved by using the CustomBuild tool which is the built-in tool which allows you to install, remove, and recompile programs from source. Since the installation requires the recompilation of the source code, it is adv   [...]

    Read More

    MediaWiki Installation on cPanel Server

    Posted at February 27, 2017 at 6:41 pm by Jithin

    This documentation is about the MediaWiki installation on a cPanel Server. We all have used Wikipedia website in order to search for information. MediaWiki is the webserver software behind Wikipedia, Wiktionary and Wikimedia. MediaWiki is open source wiki software licensed under the GNU General Public License (GPL). It is completely written in Hypertext pre-processor language PHP. Also, it uses a database to store contents. MediaWiki software is optimized to handle large projects and is also pow   [...]

    Read More

    Easy steps to setup and install Moodle

    Posted at February 1, 2017 at 5:38 pm by Jithin

    Moodle (Modular Object-Oriented Dynamic Learning Environment) is a free and open source software written in PHP for learning management system. Moodle is used to create private websites with online courses for educators and trainers. Moodle is the leading virtual learning environment and it can be used in many environments such as education, training and development. Moodle is primarily developed in Linux using Apache, PostgreSQL/MySQL/MariaDB and PHP sometimes known as the LAMP platform.      [...]

    Read More

    Reset WordPress Admin Password Using Emergency Password Reset Script

    Posted at December 23, 2016 at 12:18 pm by Jithin

    In this tutorial we can learn how to reset WordPress admin password using Emergency Password Reset Script. WordPress provides a number of methods by which its admin password can be reset. If you ever lost or forgot your WordPress admin password, there is no need to panic. Many WordPress admins manage their WordPress websites from their dashboard. You can try resetting your WordPress admin password though the following methods. 1) email 2) phpMyAdmin 3) FTP   Emergency Password   [...]

    Read More

    About WinCache ( Windows Cache Extension )

    Posted at November 29, 2016 at 1:47 pm by Jithin

    Windows Cache Extension is used to store PHP bytecode. It is the compiled version of a PHP script. In memory making it can be useful when subsequent executions of the same script are needed. This allows us to increase the overall performance of PHP applications. Windows Cache Extension allows the PHP bytecode to be generated only once and to be reused each time the same PHP script is executed. Thereby reducing the load on the server. When PHP scripts are stored on remote UNC file shares it reduc   [...]

    Read More

    How to Repair Databases in cPanel

    Posted at November 29, 2016 at 1:44 pm by Jithin

    When the website gets the following error we do have a provision to check and repair database in cPanel. 1) cpaneluser_database is marked as crashed and needs to be repaired 2) Checking the database 3) Table attribute does not exist, 4) Supplied argument is not a valid If you are getting the above errors, please do the following steps to check and repair database in cPanel.   Checking the Database 1) Login to your cPanel interface. 2) Click on ‘MySQL Database’ ico   [...]

    Read More

    How to customize EasyApache4?

    Posted at November 29, 2016 at 1:42 pm by Jithin

    In this documentation we can check how to customize EasyApache4 from WHM interface. You may be familiar with old EasyApache3 version which is actually going to become obsolete within the next two years. cPanel will recommend us to upgrade to EasyApache4. EasyApache4 is very different from its predecessor, containing more features and a new user interface. We will walk you through the steps to customize an EasyApache4 profile. To access the EasyApache4 customization page, go to  WHM »    [...]

    Read More

    How to install PHP 5.2 in the latest cPanel Server?

    Posted at November 29, 2016 at 1:42 pm by Jithin

    In this documentation we can check how to install PHP 5.2 in latest cPanel Server. Before we start, let us warn you that it is not recommended to run older, depreciated PHP versions in a production server. It will cause lot of security issues. You may need this version for some old applications or custom programs. However, if you decide to take this course of action you are responsible for the risk you take. We do not support this issue. If you are running the latest cPanel, you won't be a   [...]

    Read More

    How to Enable OPcache in cPanel

    Posted at November 11, 2016 at 12:52 pm by Jithin

    What is OPcache The OPcache is a PHP extension. This extension is a good solution to the performance issues of your website. OPcache improves the PHP performance by storing compiled script byte code in shared memory. Thus, it removes the need for PHP to load and parse scripts on each request. This feature affects the performance positively. It brings the loading time of the website down by increasing the processing speed of the request by the webserver. To an extent, OPcache also helps to avo   [...]

    Read More

    How to change the PHP version in Plesk?

    Posted at October 28, 2016 at 4:27 pm by Jithin

    In this document we can learn how to change the PHP version in a Plesk panel. 1) Login to Plesk control panel. 2) Click on the icon ‘Websites & Domains’.   3) Click on the icon ‘Hosting Settings’.   4) A new window will open and there you can see various options for programming and scripting languages which will be executed by the web server.   5) Here you can see the option for changing the PHP version, select the suitable PHP v   [...]

    Read More

    XAMPP Installation in Linux and Windows

    Posted at October 28, 2016 at 4:22 pm by Jithin

      XAMPP Server is a free open source cross-platform web server package. XAMPP is an AMP stack which allows to install Apache, MySQL and PHP in your computer together with some other useful software. It has been designed to provide an easy installation experience. It is free and available for Windows, Mac OS and Linux. It provides an easy way for developers to create a local web server for testing purposes. Since most actual web server deployments use the same components as XAMPP, it prov   [...]

    Read More

    CakePHP Installation and Features

    Posted at October 28, 2016 at 4:18 pm by Jithin

    CakePHP is an open source web framework and is written in PHP. It follows the model view controller (MVC) approach. It makes building web applications simpler, faster, and require less code. It provides the tools you need to get started coding and what you need to get done; the logic specific to your application.   Requirements of CakePHP 1) HTTP Server. For example: Apache. Having mod_rewrite is preferred, but by no means required. 2) PHP 5.5.9 or greater (including PHP 7).    [...]

    Read More

    Set Up a PHP .user.ini File in cPanel

    Posted at September 22, 2016 at 6:22 pm by Jithin

    The PHP .user.ini file allows you to customize PHP directives. To set up a PHP .user.ini file we must use a PHP version 5.3.0 or higher. Perform the following steps to set up a user.ini file: 1) Log in to cPanel. 2) Navigate to the File Manager (Home >> Files >> File Manager) interface.   3) Make sure that you are in public_html directory and hidden file visible.   4) Click the option ‘File’ to create the new File.   5) In the   [...]

    Read More

    Installing APC ( Alternative PHP Cache ) and configuration

    Posted at September 22, 2016 at 5:53 pm by Jithin

    APC stands for Alternative PHP cache. It is a PHP caching plugin. APC is a free open source opcode and it is a PECL module that can be loaded into PHP. PECL is a PHP Extension Community Library containing PHP extensions. PECL should be already in the cPanel servers along with the cPanel installation. APC is used to run PHP script executions more efficiently by cutting down on dynamic PHP executions and it provides a user cache for storing application data. APC is used to speedup PHP applications   [...]

    Read More

    PHP Hardening Steps in WHM

    Posted at September 22, 2016 at 5:26 pm by Jithin

    Local file inclusion attacks Local file inclusion attacks happen when an aggressor maneuvers neighborhood documents into PHP scripts keeping in mind the end goal is to view delicate data approximately about your framework. For instance, an assailant may utilize a nearby document consideration weakness in a PHP script to see the/and so forth/passwd record. This would permit an aggressor to find fundamental data about your web server's records. To restrict the effect of nearby document incorpor   [...]

    Read More

    PHP open_basedir Tweaking

    Posted at August 22, 2016 at 11:00 am by Jithin

    PHP open_basedir feature prevents users from opening files outside of their home directory with PHP scripts. It is an important security feature which stops malicious scripts from being able to access important information. We can set this function to accounts which cannot open files outside of their home directory when using PHP scripts. Using PHP open_basedir feature we can limit the file operations of a specific directory.   Enable PHP open_basedir protection in cPanel 1) Naviga   [...]

    Read More

    Difference Between EasyApache 3 and 4

    Posted at August 4, 2016 at 4:58 pm by Jithin

    EasyApache is a tool that is installed in WHM and cPanel which is used to compile and configure both PHP and Apache modules. All the back-end activities can be easily done from the EasyApache web-based Graphical User Interface. This now a standard for today’s Apache server. EasyApache is a software which install modifies and validates the Apache web server, PHP, Tomcat and other parts of the server. The ease of using EasyApache is that we can automatically update to PHP, Apache and the require   [...]

    Read More

    How to Install Modules via EasyApache

    Posted at August 4, 2016 at 4:47 pm by Jithin

    In this documentation, we can learn how to install modules via EasyApache.   1) Login to WHM. 2) Click on the option ‘Software’.   3) Select the icon ‘EasyApache3’.   4) Select the apache version and click the button ‘Next step’.   5) Then you will enter the another page, here we can change the php version and click the button ‘Next Step’.   6) Click on the option ‘Exhaustive Options List’ to enable the   [...]

    Read More

    Understanding Mambo CMS

    Posted at August 4, 2016 at 4:42 pm by Jithin

    Mambo (some time ago named Mambo Open Source or MOS) was a free programming/open source content administration framework (CMS) for making and overseeing sites through a straightforward web interface. Its last launch was in 2008, by which time the greater part of the engineers had left for successors of the venture, for the most part Joomla and MiaCMS. Mambo included elements, for example, page reserving to enhance execution on occupied destinations, progressed template methods, and a genuinely s   [...]

    Read More

    What is Mbstring and how to enable

    Posted at August 4, 2016 at 4:39 pm by Jithin

    Mbstring stands for multi-byte string functions. Mbstring is an extension of php used to manage non-ASCII strings. Mbstring is used to convert strings to different encodings. Multibyte character encoding schemes are used to express more than 256 characters in the regular byte wise coding system. Mbstring provides multibyte specific string functions that help us to deal with multibyte encodings in PHP. Mbstring handles character encoding conversion between the possible encoding pairs. Mbstring is   [...]

    Read More

    All about cPanel PHP HANDLERS

    Posted at July 21, 2016 at 11:00 am by Jithin

    In order for a site to run a PHP script, the server must interpret a PHP code library in order to generate a page when visitors access the site. The webserver interprets the code library based on which PHP version is installed, such as PHP 5.5. A PHP handler actually loads these coding libraries into the webservers that can be interpreted. The various handlers are CGI, DSO, suPHP and FastCGI. Handlers deliver libraries through different files and implementations. This effects Apaches's perform   [...]

    Read More

    How to Create WordPress Theme

    Posted at July 21, 2016 at 10:58 am by Jithin

    WordPress is an online website creation tool utilizing PHP. Otherwise it is known as a content management system (CMS) started in 2003. A content management system (CMS) is a computer application. It is used to create and modify digital content using a common user interface. CMSes have been available since the late 1990s. A web content management system is a type of CMS, used to manage the content of the webpages and thereby manage content of the website. As we know, there are a variety of data    [...]

    Read More

    How to Install Zend Optimizer in Linux?

    Posted at April 4, 2016 at 3:22 pm by Jithin

    In this documentation, we can check how to install Zend Optimizer in Linux. Zend Optimizer is a free run time application. It runs files encoded by Zend Guard and enhances the performance of PHP application. Please note that Zend Optimizer is only available for the accounts using PHP version 5.2 or below.   INSTALLATION 1) Login to the server via SSH. 2) Download the package. You can check the server’s architecture by using the following commands. uname –a   For   [...]

    Read More

    Replace PHP on centos 6 to php 5.6

    Posted at December 29, 2015 at 3:46 pm by John Quaglieri

    CentOS 6 has support until 2020, however scripts like magneto are starting to require newer PHP versions. Using webtatic.com RPM repo you can update your server to PHP 5.6. Difficulty medium. If you have live data it is recommended to contact support for this upgrade for assistance. 1) install the RPM from webtatic rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm 2) get a list of current PHP rpm's. rpm -a | grep -i ^php Keep this list, as you will want to match the RPM l   [...]

    Read More

    How to install xcache

    Posted at December 22, 2015 at 2:13 pm by John Quaglieri

    Xcache is a php accelerator.  As of this writing the current version is 3.2.0. Check https://xcache.lighttpd.net for the latest version before beginning. Xcache will not accelerate php running as a CGI, such as SUPHP. However it still could be used by some caching plugins, some that come with wordpress, to use caching. Xcache will accelerate mod_ruid2, (or any php as a dso), and php-fpm. Litespeed, provided on InterServer Shared Hosting also supports xcache even running with php suexec.    [...]

    Read More