-
Apache, PHP, and the three little bears.
Okay, I installed knoppix to my harddrive a couple days ago.
From there, i went to install php. Now, i've installed php in other distros, and some usuall problems occured with php.
For one, i need php5 (All the scripts i'm porting from windows use quite advanced PHP5, so php4 is no option) So i decided to compile php5. I got the usuall crap it throws my way, libxml, mysql headers not found, etc etc etc.
Then i had some apache problems. My first problem was a hostname problem that i had borked on install (Read the question wrong, wrote the wrong information). I got around that, sort of...Apache still thinks it's fubar, but it works okay now; i gave it a bandaid. Now my problem is, i apt-get installed apache2, and then did the same for php5.
The thing is, the apache2 configuration that came with the apt-get version is really weird!
The httpd.conf file it reads from is all but empty, and it uses apache2.conf for its default configuration. Now, i've installed apache2 many times, and its never been setup like this.
I can't even figure out how to get PHP setup with apache2 from here.
QUESTION: From the auto-installed version of apache2, how do i load php5 modules?
PS. I wasn't sure if this should be posted here, but nobody elsewhere knew, and i thought it might be a common problem (Also searched google, but its hard to find problems like this, especially with debian)[/i]
-
Senior Member
registered user
Hi Shadda,
Knoppix 3.7 comes with Apache 1.3.33 and PHP 4.3.9. So getting Apache2 and PHP5 going is no easy task, even on a hard disk installation. You could do it by installing the packages from source, or you might consider a remastered Knoppix where this has already been done. For instance, LiveZope at http://math.cgu.edu.tw/ . This is a DVD size distro, so you would need a DVD burner, but it does provide a working PHP5 and Apache2 environment as well as many other features.
Regards,
Mark
-
Yes, I don't like installing apache or php or anything server related with apt-get, it's just....uncouth.
I actually got my problems worked out and narrowed down to one thing.
when compiling PHP5, I was getting some WEIRD errors that i just could not explain. Was telling me it couldn't find my confdefs.h file (part of php5) and that all sorts of files were missing.
Well, i did a little research and found that those actually weren't correct errors., There's a bug in either debian or php or both that prevents compiling --with-imap. I compiled the c-client from source and placed it in correct locations but PHP was having all sorts of trouble with them--There was some sort of error happening between confdefs and debian. I'd still like to get it to work but i don't see how. (I even tried various snapshots and older versions of php5, no luck. I've also downgraded gcc to 2.95 as that seems to be a general trend in bug reports on php.net)
If anyone could shed some light on this problem, that would be much appreciated. Until then, I'm back on my windows server trying to get some work done. Thanks.
Similar Threads
-
By alienjeff in forum General Support
Replies: 4
Last Post: 12-28-2005, 05:31 AM
-
By gadgerama in forum Networking
Replies: 0
Last Post: 06-05-2005, 11:44 PM
-
By jpiranha in forum Networking
Replies: 2
Last Post: 10-04-2004, 01:57 AM
-
By jpiranha in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 09-28-2004, 11:49 PM
-
By frescard in forum General Support
Replies: 1
Last Post: 03-13-2004, 03:43 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99