cPanel, General, Wordpress

WordPress website redirecting to install page

if you are seeing the wordpress website redirecting to install.php, the problem is related to the website database.

All you need to do is :

1) Check the permission for the database, may the database don’t have correct perrmission. The required permission is 755

2) This can be also caused when the database got corrupted. Then you should repair the db using  the below command as root or else this can be performed from a GUI like phpmyadmin

root@server ~] mysqcheck -r database

or repair the databse from phpmyadmin

Now check the website 🙂

Standard
cPanel, General, Mysql

Install PostgreSQL 9.x version on cPanel

PostgreSQL 8.4 is the latest version installed via cPanel, and supported. That said, 9.x can be installed manually:

Use the correct package for your distro ( NOTE: Example instructions shown spec 9.2, all versions available here:http://yum.postgresql.org/repopackages.php )
#rpm -i http://yum.postgresql.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm

Install the server
# yum groupinstall “PostgreSQL Database Server PGDG”

Setup the server
# service postgresql-9.2 initdb
# chkconfig postgresql-9.2 on

Install the symlinks necessary
# cd /usr/pgsql-9.2/bin/; for f in *; do echo $f; [ -e /usr/bin/$f ] && mv /usr/bin/$f /usr/bin/$f.8; ln -s $(pwd)/$f /usr/bin/$f; done
# cd /var/lib/pgsql; ln -s 9.2/backups; ln -s 9.2/data; ln -s 9.2/pgstartup.log

Then in WHM ‘configure postres’ – in “Home »SQL Services »Configure Postgres”
— click on install config
— you can also “create users” for previously created cPanel accounts

You can also phppgadmin by running:
# /usr/local/cpanel/bin/updatephppgadmin –force

The pg_upgrade utility is available to upgrade the data files from 8.4.7, to 9.3. Review its documentation here:

http://www.postgresql.org/docs/9.3/static/pgupgrade.html

I would not recommend this upgrade unless you are very familiar with PostgreSQL.

Standard