would be helpful to know what the error msg says
The error message is one I created in the code where the else statement is. It's not an actually php error. Everything seems to be working fine except evidentally POST['message'] is not set since my else statement is the one that echos.
@Faction - For whatever reason, I never had an error log file. I had to create it and point to it in /etc/php/php.ini. And even then...it contains nothing.
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
; sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path =/usr/sbin/sendmail
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
; mail.add_x_header = On
; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
mail.log = /var/log/mail.log
; Log mail to syslog (Event Log on NT, not valid in Windows 95).
mail.log = syslog
That's the only relevant mail area in /etc/php/php.ini. I didn't find anything of use in http.conf.
I could post my httpd/error_log but I don't think that's it.
[Wed Apr 24 15:57:00 2013] [notice] caught SIGWINCH, shutting down gracefully
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 15:57:00 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Apr 24 16:05:27 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Apr 24 16:05:29 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Apr 24 16:05:29 2013] [warn] module php5_module is already loaded, skipping
[Wed Apr 24 16:05:29 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 24 16:05:29 2013] [notice] Digest: done
[Wed Apr 24 16:05:33 2013] [notice] Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.1e DAV/2 PHP/5.4.13 configured -- resuming normal operations
[Wed Apr 24 16:06:12 2013] [error] [client 127.0.0.1] File does not exist: /home/lucid/code/php/favicon.ico
[Wed Apr 24 16:06:12 2013] [error] [client 127.0.0.1] File does not exist: /home/lucid/code/php/favicon.ico