[CentOS] PHP question on CentOS

Mon Jul 2 23:46:11 UTC 2007
Rogelio Bastardo <scubacuda at gmail.com>

I actually posted several of these details, but for whatever reason, they
didn't show up in the email when it hit the listserv.

> 1. Do you have php installed? 2. Do you have php-mysql and the other
> likely php packages which may be required, installed. (rpm -qa php\*)

[root at nagios-server init.d]# rpm -qa php*
[root at nagios-server init.d]#

> 3. Have you looked in your logs to see WHY it's not working?  (what
> error messages are being generated)

[root at nagios-server logs]# tail error_log
[Wed Jun 27 13:57:49 2007] [notice] Digest: generating secret for digest
authentication ...
[Wed Jun 27 13:57:49 2007] [notice] Digest: done
[Wed Jun 27 13:57:49 2007] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Jun 27 13:57:49 2007] [notice] LDAP: SSL support unavailable
[Wed Jun 27 13:57:49 2007] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Wed Jun 27 13:57:49 2007] [notice] Apache/2.0.52 (CentOS) configured --
resuming normal operations
[Wed Jun 27 13:58:30 2007] [error] [client] File does not
exist: /var/www/html/nagiosql
[Wed Jun 27 14:04:51 2007] [error] [client] File does not
exist: /var/www/html/nagiosql
[Wed Jun 27 14:05:01 2007] [error] [client] File does not
exist: /var/www/html/nagiosql
[Wed Jun 27 14:21:19 2007] [error] [client] File does not
exist: /var/www/html/nagiosql

4. Is selinux affecting your page loads? Do you have selinux
> enabled/disabled/permissive?

I actually disabled it (I found that it was enabled by the person who
previously installed it).

I suspect that it's a permissions issue, as index.php *does* exist in that
spot. Should I perhaps chown or chmod (using Apache?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070702/76c0bed5/attachment-0005.html>