Hi - can someone help please?

I'm trying to build php (4.0.4pl1) as a shared object, using apxs.

I just used a very basic ./configure --with-apxs   on the php side, then
make.  And that all seemed ok - no errors reported, and there was an .so
file (./.libs/libphp4.so) produced.

Then I go over to Apache (3.1.19), and do a configure --enable-module=so (or
whatever it is) - anyway when I do 'httpd -l' I see mod_so, as well as a
bunch of other stuff.  So that all looks ok.

I add a LoadModule line (pointing to the .so file ) into the httpd.conf
file, and test with:

./apachectl configtest

- this gives:

Syntax eror on line 205 of /usr/local/apache/conf/httpd.conf:
API module structure 'php4_module' in file ..(file name here)..   is
garbled - perhaps this is not an Apache module DSO?

I've checked the create time of the libphp4.so file and it's definitely
being created by the php make...


(This is all on SusE Linux 7.1)

Any ideas people?  - Sorry if this is a common error!

thanks


Gordon Gallacher
Inverness, Scotland







-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to