[BlueOnyx:18786] Re: URGENT: PHP broken

DD bqlist at distortal.com
Wed Dec 16 04:41:00 -05 2015


Good morning, Gerrrit,

> You may try to set the PHP settings again in the vsite management.
> 
> So disable PHP, and re-set it to the preferred setting.
> 

I've tried this to no avail. Ordinarily when PHP isn't running the source
code displays in the browser window but in this instance it is being
downloaded as an attachment.

I've tried suPHP which gives an Internal Server Error no matter who the
ownership is set to. Removing and re-installing the MOD PHP package doesn't
work either.

I've left fbid.co.uk/info.php up as a test. All it contains is phpinfo();
but it insists on downloading no matter what I do. 

I am currenty looking through /var/log/http/error_log. When I restart httpd
the following is appended:

[Wed Dec 16 09:30:40 2015] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Wed Dec 16 09:30:40 2015] [warn] No JkShmFile defined in httpd.conf. Using
default /etc/httpd/logs/jk-runtime-status
[Wed Dec 16 09:30:40 2015] [warn] Init: Name-based SSL virtual hosts only
work for clients with TLS server name indication support (RFC 4366)
[Wed Dec 16 09:30:40 2015] [notice] Digest: generating secret for digest
authentication ...
[Wed Dec 16 09:30:40 2015] [notice] Digest: done
[Wed Dec 16 09:30:40 2015] [warn] No JkShmFile defined in httpd.conf. Using
default /etc/httpd/logs/jk-runtime-status
[Wed Dec 16 09:30:40 2015] [warn] Init: Name-based SSL virtual hosts only
work for clients with TLS server name indication support (RFC 4366)
[Wed Dec 16 09:30:40 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_jk/1.2.32
PHP/5.4.45 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1
configured -- resuming normal operat$
[Wed Dec 16 09:30:40 2015] [crit] [client 5.80.57.46] (13)Permission denied:
/home/.sites/106/site3/.htaccess pcfg_openfile: unable to check htaccess
file, ensure it is readable
[Wed Dec 16 09:30:40 2015] [crit] [client 5.80.57.46] (13)Permission denied:
/home/.sites/106/site3/.htaccess pcfg_openfile: unable to check htaccess
file, ensure it is readable
[Wed Dec 16 09:30:40 2015] [crit] [client 146.176.249.7] (13)Permission
denied: /home/.sites/106/site3/.htaccess pcfg_openfile: unable to check
htaccess file, ensure it is readable

Those last three are presumably because I've suspended the websites.

I've also just seen this:

[Wed Dec 16 09:31:38 2015] [notice] SIGHUP received.  Attempting to restart
[Wed Dec 16 09:31:38 2015] [warn] NameVirtualHost 109.123.101.178:80 has no
VirtualHosts
...
...
[Wed Dec 16 09:31:38 2015] [notice] Digest: generating secret for digest
authentication ...
[Wed Dec 16 09:31:38 2015] [notice] Digest: done
[Wed Dec 16 09:31:38 2015] [warn] No JkShmFile defined in httpd.conf. Using
default /etc/httpd/logs/jk-runtime-status
[Wed Dec 16 09:31:38 2015] [warn] Init: Name-based SSL virtual hosts only
work for clients with TLS server name indication support (RFC 4366)
[Wed Dec 16 09:31:38 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_jk/1.2.32
PHP/5.4.45 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1
configured -- resuming normal operat$
[Wed Dec 16 09:31:38 2015] [notice] SIGHUP received.  Attempting to restart
[Wed Dec 16 09:31:38 2015] [warn] NameVirtualHost 109.123.101.178:80 has no
VirtualHosts
[...
Etc




DD




More information about the Blueonyx mailing list