Afficher un message
Vieux 22/03/2005, 13h19   #1
Marzia Corvaglia
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [Apache+PHP] Error building PHP

Hi,

I am building php 4.3.10 on slackware 10.1.0 and I got an error.
More in details:

I've successfully installed apache_1.3.33.

In php-4.3.10 directory, I typed
# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--enable-module=so

and i got the following error:

# ----------------------------------------
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS. Possible reasons:

1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs follows
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/apache/bin/httpd'.
configure: error: Aborting
# ----------------------------------------

So, in /usr/sbin, I typed:

# ./httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/sbin/suexec

which sounds good, ...but if i try again to do ./configure ...
i get the same error ( ... Configuring SAPI modules ...)

Any suggestions?

Thanks a lot!
Marzia
  Réponse avec citation
 
Page generated in 0,08089 seconds with 9 queries