cPanel Web hosting murah Indonesia mulai Rp.20000 per tahun

how to

Hosting support pdo_mysql extension on PHP module and how to install

e-Padi.com Hosting Murah supported PDO_MYSQL extension.
The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO interface can expose database-specific features as regular extension functions. Note that you cannot perform any database functions using the PDO extension by itself; you must use a database-specific PDO driver to access a database server.

PDO_MYSQL is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to MySQL 3.x and 4.x databases.

PDO ships with PHP 5.1, and is available as a PECL extension for PHP 5.0; PDO requires the new OO features in the core of PHP 5, and so will not run with earlier versions of PHP.

How to install it on your server?
Following this steps:
1) Download from : root@ns1.e-padi.com [~]# wget https://e-padi.com/download/PDO-1.0.3.tgz

2) Manually build and install the PDO extension:
root@ns1.e-padi.com [~]# tar xzf PDO-0.2.tgz
root@ns1.e-padi.com [~]# cd PDO-0.2
root@ns1.e-padi.com [~]# phpize
root@ns1.e-padi.com [~]# ./configure
root@ns1.e-padi.com [~]# make
root@ns1.e-padi.com [~]# make install
root@ns1.e-padi.com [~]# echo extension=pdo.so >> /usr/local/lib/php.ini

3) Rebuild PHP along with the drivers for PDO_mysql.
CUSTOM_PHP_FLAGS=”–with-pdo-mysql” /scripts/easyapache

4) check php module using command : root@ns1.e-padi.com [~]# php -m

How to Fix user Quota usage problem in cPanel / WHM

cPanel/WHM sometimes has problems with the user quota files of disk space in use. Your customers doesn’t show a real of actual disk space in they cPanel.
Fixing critical user quota problem in cPanel using command /scripts/fixquotas on Linux and FreeBSD machine.

Reasons for quota problems
– There are files owned by the same user elsewhere on the server
– The backup directory is being counted towards the users disk quota
– Extra log files are being counted towards the users quota
– cPanel was just updated and the quotas are now unlimited

How to fix it?
1. Login as root user into your server through SSH.

2. Run the command: /scripts/fixquotas

Done!

If problem doesn’t fix, You have to Advanced Fix below:
1. Login to your server with SSH as root user, find the user account where the quotas are incorrect.

2. Go to the users folder
Command : cd /home/username

3. Check their disk space being used.
Command : du -h -> You will view list of folders / files
Command : du -hs -> You will view total of disk space being used

3. Make sure there is no multiple times username shows on folder /etc/passwd and /etc/shadow
Command : vi /etc/passwd
Command : vi /etc/shadow

4. Finding other files owned by the user.
Command : find -user username | more

5. Uncompressed backups can cause quota problems, ensure your backups are compressed in the WHM backup options.

6. After your determine the source of the files and remove them
Run Command : /scripts/fixquotas

Done!

If the Quick Fix doesn’t work then you’ll need Advanced Fix. Call your server sysadmin expert.