LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-15-2005, 08:11 PM   #1
squeaks_27
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Slackware, Debian, Red Hat
Posts: 34

Rep: Reputation: 15
Can't install php, libmm11 not installable


I am trying to install tutos (from tutos.org ) on my debian sarge machine (running postgresql and apache1.3) which requires php4 or php5. I could not get php5 installed (see below) but was able to get php4 installed. I still cannot get php pages to display (when i go to the site, it downloads the php source code file to my pc instead).

I did uncomment the following lines in /etc/apache/httpd.conf:

Code:
# And for PHP 4.x, use:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
below is the error i get trying to do:

apt-get install php5
and also
apt-get install libapache-mod-php4

Code:
# apt-get install php5
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  php5: Depends: libmm11 but it is not installable
E: Broken packages

I'm not sure if i missed something in a configuration file, if i am not loading a php module or if i mixed up debian stages (stable and testing).

/etc/apt/sources.list
Code:
      1 #deb file:///cdrom/ sarge main
      2
      3 deb ftp://debian.savoirfairelinux.net/debian/ testing main
      4 deb http://packages.dotdeb.org ./
      5 deb http://debian.yorku.ca/debian/ testing main
      6 deb-src http://debian.yorku.ca/debian/ testing main
      7
      8 deb http://security.debian.org/ stable/updates main
      9 deb http://www.imoqland.com/debs/skyhusker/woody/ ./
     10 #deb http://http.us.debian.org/debian unstable main contrib non-free
     11 deb http://http.us.debian.org/debian testing main contrib non-free
     12 deb http://gulus.usherbrooke.ca/debian/ testing main
     13
     14 deb http://security.debian.org/ testing/updates main
     15
     16 #deb ftp://ftp.debian.org/debian/ unstable main contrib non-free
     17 #deb-src ftp://ftp.debian.org/debian/ unstable main contrib non-free
     18 deb ftp://ftp.debian.org/debian/ testing main contrib non-free
     19 deb-src ftp://ftp.debian.org/debian/ testing main contrib non-free
     20 deb http://people.debian.org/~dexter php5 sid
Thank you for your help in advance.

Last edited by squeaks_27; 06-15-2005 at 08:26 PM.
 
Old 06-17-2005, 09:20 AM   #2
ping_wing
Member
 
Registered: Apr 2004
Posts: 65

Rep: Reputation: 15
is there

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

line in /etc/apache/modules.conf ?
 
Old 06-17-2005, 08:33 PM   #3
squeaks_27
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Slackware, Debian, Red Hat
Posts: 34

Original Poster
Rep: Reputation: 15
It was not there, but I added it and got the following error:

root:/etc/apache # /etc/init.d/apache restart
Configuration syntax error detected. Not reloading.

Syntax error on line 26 of /etc/apache/modules.conf:
Cannot load /usr/lib/apache/1.3/libphp4.so into server: /usr/lib/apache/1.3/libphp4.so: cannot open shared object file: No such file or directory

So it's obviously not installed, what am I missing?
 
Old 06-18-2005, 07:51 AM   #4
ping_wing
Member
 
Registered: Apr 2004
Posts: 65

Rep: Reputation: 15
apt-get install libapache-mod-php4

or if you have apache2 the its libapache2-mod-php4
 
Old 06-19-2005, 02:05 PM   #5
squeaks_27
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Slackware, Debian, Red Hat
Posts: 34

Original Poster
Rep: Reputation: 15
that worked, thanks!

note: to solve my problem, i had to remove everything first and then install one thing at a time (to fix dependencies)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My LFS 'installable' Distro ? decentpakistani Linux From Scratch 13 09-17-2005 07:22 PM
gnoppix 1.0.1 not installable abd_bela Ubuntu 3 06-23-2005 11:25 AM
Installable backup tmiles Linux - Newbie 2 02-24-2005 02:35 AM
Can't install: no installable kernel found Prince Myshkin Debian 2 10-07-2004 06:13 PM
RH9 Installable on Amilo-D? ColinRenouf Linux - Laptop and Netbook 3 10-06-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration