upgrading to 14.04 - again - no libphp5.so

william drescher william at TechServSys.com
Sat Oct 11 11:12:18 UTC 2014


On 10/10/2014 5:21 PM, Colin Watson wrote:
> On Fri, Oct 10, 2014 at 03:46:34PM -0400, william drescher wrote:
>> php5.conf and php5.load are missing from /etc/apache2/mods-enabled
>
>    sudo a2enmod php5

Thanks Colin


william at ubuntu2:$ sudo a2enmod php5
[sudo] password for william:
ERROR: Module php5 does not exist!

something is munged at a higher level

Ok, I try
william at ubuntu2:$ sudo apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

php5.conf and php5.load are not in mods-available either.

So I manually installed /usr/lib/apache2/modules/libphp5.so and 
/etc/apache2/mods-available/php5.conf and php5.load (all from a 
recent upgrade to 14.04 - 32 bit) and restarted apache:
william at ubuntu2:/etc/apache2$ sudo service apache2 restart
  * Restarting web server apache2   [fail]
  * The apache2 configtest failed.
Output of config test was:
[Sat Oct 11 07:05:57.479472 2014] [:crit] [pid 13559:tid 
3077843584] Apache is running a threaded MP, but your PHP Module 
is not compiled to be threadsafe.  You need to recompile PHP.
AH00013: Pre-configuration failed
Action 'configtest' failed.

I don't know if the target machine is 32bit or 64 bit.  I am 
remote.

Further suggestions ??

Something seems munged during the upgrade.

-bill







More information about the ubuntu-users mailing list