package libapache2-mod-php5 5.3.10-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Installed Apache2, mysql-server, php5 and phpmyadmin. PHP didn't work so I tried installing apache2-mod-php5

Bug #1014673 reported by smacintyre
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I installed Apache2 then mysql-server then php5 and phpmyadmin. Localhost shows apache installed, but php is not functioning. I then tried installing apache2-mod-php5 and install failed.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libapache2-mod-php5 5.3.10-1ubuntu3.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
AptOrdering:
 libapache2-mod-php5: Install
 libapache2-mod-php5: Configure
Architecture: amd64
Date: Mon Jun 18 10:11:47 2012
DpkgTerminalLog:
 Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.10-1ubuntu3.1_amd64.deb) ...
 Setting up libapache2-mod-php5 (5.3.10-1ubuntu3.1) ...
 Error: The new file /usr/share/php5/php.ini-production does not exist!
 dpkg: error processing libapache2-mod-php5 (--configure):
  subprocess installed post-installation script returned error exit status 1
DuplicateSignature:
 Setting up libapache2-mod-php5 (5.3.10-1ubuntu3.1) ...
 Error: The new file /usr/share/php5/php.ini-production does not exist!
 dpkg: error processing libapache2-mod-php5 (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: php5
Title: package libapache2-mod-php5 5.3.10-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-06-16 (2 days ago)

Revision history for this message
smacintyre (enco) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Marc Cluet (lynxman) wrote :

Hi smacintyre,

Thank you very much for submitting this bug report.

Looks like for some reason the package php5-common wasn't installed or it's not showing on your "PHPInstalledModules.txt" file.

If you don't mind I'd need you to check that the package is installed, it is a dependency for libapache2-mod-php5 and the error it's giving means that this package wasn't installed before trying to install libapache2-mod-php5.

Can you try to run "apt-get -f install" and see what does it say? If the error persists could you please provide the full apt-get log and mark the bug again as "New" so it can be reviewed.

Thank you very much for your time!

Changed in php5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php5 (Ubuntu) because there has been no activity for 60 days.]

Changed in php5 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.