Re: PHP question on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@nagios-server init.d]# rpm -qa php*
php-mysql-4.3.9-3.22.5
php-pgsql-4.3.9-3.22.5
php-odbc-4.3.9-3.22.5
php-pear-4.3.9-3.22.5
php-imap-4.3.9-3.22.5
php-4.3.9-3.22.5
php-ldap-4.3.9-3.22.5
[root@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@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 10.200.200.54] File does not exist: /var/www/html/nagiosql
[Wed Jun 27 14:04:51 2007] [error] [client 10.200.200.54] File does not exist: /var/www/html/nagiosql
[Wed Jun 27 14:05:01 2007] [error] [client 10.200.200.54] File does not exist: /var/www/html/nagiosql
[Wed Jun 27 14:21:19 2007] [error] [client 10.200.200.54] 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?)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux