I think the php/mysql issue is a red herring -- neither the base php nor the base mysql have had updates since early in 2017.
mysql-5.1 was last updated in Jan 2017. The version on my up-to-date system was installed during the first 'yum update' after installation in Feb 2017.
php-5.3 was last updated in 2016 and was installed on my server in April 2017.
e-smith-php (
rpm -q --changelog e-smith-php |head -10) and e-smith-mysql (
rpm -q --changelog e-smith-mysql |head -10) contain the templates that control the default configuration files, and have not been updated for even longer.
Some other thoughts:
* Take a look at /var/log/yum/yum.log to see if something unexpected was installed or updated recently.
* Put a "phpinfo()" file in the same web location as your app (unless this function is already built in to the app) so you can confirm that the app is seeing the versions of php and mysql that you are expecting
* Examine the ownership of the files and folders (including the associated tmp file location) for the broken app.
* Check the section of /etc/httpd/conf/httpd.conf related to the broken app
* Look in /var/log/messages to see what SME events were run recently, and what templates they expanded
* Look in /var/log/httpd/error_log
* Use the SME audit tools to look for any nonstandard bits
/sbin/e-smith/audittools/newrpms /sbin/e-smith/audittools/templatesIn case it's useful, here is what I see on my up-to-date SME9 server for mysql and php -
# yum info mysql php
Loaded plugins: fastestmirror, post-transaction-actions, smeserver
Loading mirror speeds from cached hostfile
* base: repos-va.psychz.net
* smeaddons: ibsgaarden.dk
* smeextras: ibsgaarden.dk
* smeos: ibsgaarden.dk
* smeupdates: ibsgaarden.dk
* updates: repos-va.psychz.net
Installed Packages
Name : mysql
Arch : x86_64
Version : 5.1.73
Release : 8.el6_8
Size : 2.4 M
Repo : installed
From repo : updates
Summary : MySQL client programs and shared libraries
URL : http://www.mysql.com
License : GPLv2 with exceptions
Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. The base package
: contains the standard MySQL client programs and generic MySQL files.
Name : php
Arch : x86_64
Version : 5.3.3
Release : 49.el6
Size : 3.5 M
Repo : installed
From repo : base
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.