Shadda
01-12-2005, 02:00 AM
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]
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]