Just some notes on some of the issues I hit in updating from Ubuntu 12.04 (Precise Pangolin) to 12.10 (Quantic Quetzal), in the event they’re of use to someone.
Problems with PHP Initialization
I was receiving a ton of errors from cron, with the text:
PHP Warning:Â PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20100525/pam_auth.so’ – /usr/lib/php5/20100525/pam_auth.so: cannot open shared object file: No such file or directory in Unknown on line 0
While there appears to be a line of thought (via Google) that one needs to install php5-auth-pam or php5-pam … I didn’t find either package with a simple apt-get install, and didn’t bother investigating further.
The actual fix was to check /etc/php5/conf.d. Â In that folder was a legacy (few years old) pam_auth.ini file which was attempting to load pam_auth.so. Â Removing this file enabled PHP to start.
WordPress sites didn’t want to start up for me, Â claiming a missing wp-config.php. Â When I checked /etc/wordpress, I found that my old wp-config.php has been copied to a typical wp-config.php.dpkg-bak … but no new file had been installed. Â I just replaced back my old copy.