I've got a problem with Apache & PHP and I'm not sure what's going on. The short of the long of it is, I've got some PHP pages that have been running for a while just fine. As of midnight last night, Apache has decided to not parse the PHP code on random pages and random sites. And it doesn't matter if the requesting browser is IE10, Chrome, or Firefox. It acts like PHP was not compiled in, nor was it included in the APACHE_OPTS in /etc/conf.d/apache2. There hasn't been an Apache or PHP update recently, so I doubt it is the version. But here's the Apache and PHP compile flags:
Code: Select all
www-servers/apache-2.2.25:2 USE="ssl threads -debug -doc -ldap (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
dev-lang/php-5.5.4:5.5 USE="apache2 bzip2 calendar cgi cli crypt ctype fileinfo filter gd gdbm hash iconv imap json mysql mysqli nls opcache pdo phar posix readline session simplexml ssl threads tokenizer unicode xml zlib -bcmath -berkdb -cdb -cjk -curl -debug -embed -enchant -exif -firebird -flatfile -fpm (-frontbase) -ftp -gmp -inifile -intl -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -sqlite (-sybase-ct) -sysvipc -tidy -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip"Code: Select all
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5"Code: Select all
/etc/init.d/apache2 modules
apache2: Could not reliably determine the server's fully qualified domain name, using 3gun.d2i2.com for ServerName
Loaded Modules:
core_module (static)
mpm_worker_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
cgid_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
info_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
mime_magic_module (shared)
negotiation_module (shared)
rewrite_module (shared)
setenvif_module (shared)
speling_module (shared)
ssl_module (shared)
unique_id_module (shared)
usertrack_module (shared)
vhost_alias_module (shared)
php5_module (shared)
Syntax OKCode: Select all
php -v
PHP 5.5.4-pl0-gentoo (cli) (built: Nov 4 2013 19:05:35)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend TechnologiesRich


