I have disabled mod_php on a RHEL6 apache server and installed mod_fcgid. PHP test scripts (info.php) work on the localhost. I know this since info.php returns the apache api as Server API=CGI/FastCGI. However via the public IP assigned to the server a browser pointed to IP/~user/info.php or IP/~user/joomla/info.php returns the source code in plain text.
On a large drupal site, the database server is on a separate server connected directly to the web server. The web server uses apache and memcached. The problem is that whenever the post is a large, say larger than 10KB, the server does not return correctly. I checked both apache and mysql logs but could not find any trace of errors being logged.
I'm using F17 on my web server. My web server contains lighttpd!, php, etc.. All software are installed from default repositories, so php requires apache web server. I disabled apache. But the problems is that everytime I do php update, yum chowns /var/lib/php/session folder to root:apache. How I can chown permanently this folder or how to remove chown from yum update?