Click to See Complete Forum and Search --> : Apache 2.0.35, PHP 4.2.0 RC3[Slackware]


Anon
04-15-2002, 12:48 PM
I've been trying to get apache 2 work with the newest release of php.. compiling goes without any errors and ive installed everything correctly.
The "bald" apache runs alright standalone.. but there is a problem when i want to load the php4 module like this into httpd.conf:

LoadModule php4_module modules/libphp4.so

It just wont start anymore...

Also i have put in these lines:

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

When i comment the LoadModule, it starts perfectly and when i try to access a php file it tries to download them.. which is ok right?... now its just for the parsing.. what am i doing wrong?

thx in advance!

Anon
04-15-2002, 04:21 PM
Hi,

I got it working on my debian with the RC4. Try that and see if it helps

Anon
04-15-2002, 09:46 PM
I tried on mandrake 8.2 with rc4, and no go - the server won't start if the php module is loaded

Anon
04-16-2002, 08:54 AM
No Way-- I compiled Apache on Sunday and tried yesterday to get PHP 4.20 RC4 running.
no avail.
First 'make install (apxs)' complains about "there is already anouthe LoadModule Directive" and aborts installation. I commented the section of the apxs script and installaton worked.
But if I restart Apache it fails, stating it can`t load the PHP module, an error in libclient or so,
I can't remember :-{ ...sorry

Anon
04-16-2002, 01:21 PM
Hey all.. thanks for the help already.. saw that RC4 got released today, so i compiled it asap.. the make install after the php compilation went ok.. it even modifies the httpd.conf itself.. by adding the LoadModule stuff to it itself..
But i still cant boot the apache 2 webserver.. any one got a clue ?

Anon
04-16-2002, 06:50 PM
See the discussion below, it is the same problemen. It is a bug from PHP :( I've found this bug in the bug database of PHP... I hope it will be fixed.

Remy

Anon
04-17-2002, 04:24 PM
Damn.. thats too bad.. well luckely the stable php 4.2 will be released around 22 april.. so just another few days :)