Tag Archives: centOS

CentOS 7 + SELinux + PHP + Apache – cannot write/access file no matter what

I’ve spent 2-3 hours pulling my hair trying to setup a supposed to be simple PHP/MySQL web application on an Amazon EC2 instance running on CentOS 7. Apache logs keep saying that it can’t write to file due to permission … Continue reading

Posted in Linux | Tagged , , , , | 63 Comments

Centos and nginx – phpMyAdmin not working

With my default setup of Centos 6.5 64 bit and nginx 1.4.x, I got a strange error when setting up phpMyAdmin. It turns out that it was just a directory permission issue and that the default setup expects user it … Continue reading

Posted in Linux | Tagged , , , | 3 Comments

Yum or rpm stuck with stale NFS mount

I was trying to upgrade one of the server’s PHP from PHP 5.2.x to PHP 5.3.x but no matter what I do, both yum and rpm gets stuck in the middle. I’ve spent two days trying to figure it out … Continue reading

Posted in Linux, php | Tagged , , , , , , | Leave a comment

Installing Postgres on CentOS via SSH

We got stuck here when we are trying to run a Postgres server in our rental server.  After getting the login information of the SSH connection and the root password, I immediately downloads the Postgres 8.3.5 for linux (the source) … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment