not very experienced q

From: Paul Taylor (pftaylor_at_technocurve.co.uk)
Date: 03/20/04


Date: Sat, 20 Mar 2004 18:21:59 +0000 (UTC)

I've managed to compile Apache2 onto my Linux box (Mandrake Linux 9).
To give you an idea of where I'm up to, this is the very first time I
have compiled any software from source code. My machine was already
running Apache1.3, so I stopped this first, then after compiling
Apache2, I reconfigured it to listen to port 8080, rather than 80. On
re-starting both servers - success - they both work.

Then I tried configuring the existing php4.2 to work with Apache2.
Disaster. I've done this many times on Windows, but I can't get it
right on Linux. The terminal gives me this message when I try to start
or stop Apache2

Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libphp4.so
into server: /usr/local/apache2/libexec/libphp4.so:
undefined symbol: ap_block_alarms

Line 233 is one that I've put in. It says:

LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php

I searched for libphp4.so. I found it, and copied it into a new
directory called libexec, which I made a subdirectory of Apache2.

Now where have I gone wrong?

All help will be gratefully received. I've found half a dozen places
on the Internet where other people have asked this question, but in
not a single case has anyone suggested an answer.

Paul Taylor



Relevant Pages

  • Re: Fedora / FreeBSD File locations
    ... The libraries on Linux are in /lib directory. ... all listed files for apache2 program to run. ... prvorazredna verzija sebe nego drugorazredna verzija nekog drugog. ...
    (alt.os.linux)
  • Linux as a router and load balancer
    ... I'd like to compare the power of a Linux system as a router, ... balancer and SSL offloader to some propietary hardware, ... Linux with an Apache2 mod_ssl, I would be very glad if you point ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: configuring Mozilla to recognise .php files
    ... this would be your first time setting up a webserver and whatnot. ... In Debian it's extremely simple to get a webserver up and running. ... One thing you should take note of is security. ... Apache2 has a file you can edit to ...
    (Debian-User)
  • Re: mod_frontpage + apache2
    ... > I tried to compile but it fails on apache1.3 dependencies. ... > howto run frontpage server extensions on bsd with apache2? ...
    (freebsd-isp)
  • Re: apache upgrade 1.3 -> 2
    ... >>machine and now I'd like to go to apache2. ... On the other point, PHP is thread safe, it is the libraries which you choose to ... compile into PHP that may not be thread safe. ...
    (freebsd-questions)