Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-12-2004, 03:24 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 19

Rep: Reputation: 0
php4 with apache2? the debian way, how?

hello ppl...

debian - woody - stable

just wondering, i can install apache2 on debian by getting it from backports, thats great, but how do i get php4 packages working with apache2 coz those are compiled for apache... now i know, i have to compile it my self, so, how is it done the debian way, so i get packages out of compilation and install them, with apache2....

well, simple, i want apache2 and php4 installed, as smooth as apache1 and php4...

i know there is make-pkg right? is that the same as make? just it makes a package out of it?


Old 01-21-2004, 01:54 PM   #2
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
You might have a look at
This is a searchable list of unofficial Debian packages, including many backports to Woody.

Simply add (one of the) the "deb ...." line(s) listed for your search to your /etc/apt/sources.list and do an
apt-get update
Old 01-21-2004, 05:55 PM   #3
Registered: Jul 2003
Location: portland
Distribution: debian testing
Posts: 68

Rep: Reputation: 15
Just did this myself. Got the source codes and compiled myself. Both apache and php have good instructions on their sites, but this is the set I ended up following, mainly because they are all together.

Don't know if it is a security risk or not and didn't find any specifications in either sites documentation, but I had to put the php4 folder in apache2/htdocs folder to get it to work.
Old 01-21-2004, 07:13 PM   #4
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
If you use sid, they work together out of the box, I believe
Old 08-19-2004, 09:35 AM   #5
Registered: Jul 2003
Location: Olympia WA
Distribution: Gentoo Kernel 2.6.8-gentoo-r3; AMD Athlon XP 2200+
Posts: 63

Rep: Reputation: 15

I don't think that they do. I've been banging my head against php4 with apache2-mpm-prefork, as distributed in SID. Apache 2 seems to work very well, but as soon as i load the php module, the whole thing goes to crap; broken image links, broken icon links, pages won't load on localhost, different problems that I just can't seem to resolve: as I've had trouble compiling as well as installing binaries for apache2, i'm going to stick with apache1.3 until apache2 becomes a bit more mainstream for production.

The above link will explain why, perhaps, apache2 isn't a good choice for a production server. and, as I am using the thing for production AND development, thinking i'll go with the safer choice.


The Podfish


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Apache2 not processing PHP4 pages on Debian Sarge blue penguin Linux - Software 8 08-24-2006 02:56 PM
Help loading php4-gd with php4 already installed. (Debian) sdduuuude Linux - Software 3 10-24-2005 05:13 AM
Apache2 and php4 in Debian swmok Debian 1 06-09-2005 05:21 PM
apache2 + php4 atheist Linux - Software 6 10-25-2004 03:12 PM
Debian, apache2 and php4 Pasi Linux - Distributions 1 03-20-2003 07:28 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:18 PM.

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