PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > [Apache+PHP] Error building PHP
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

[Apache+PHP] Error building PHP

Réponse
 
LinkBack Outils de la discussion
Vieux 22/03/2005, 13h19   #1 (permalink)
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
Vieux 23/03/2005, 10h21   #2 (permalink)
Bernd Muent
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [Apache+PHP] Error building PHP

Marzia Corvaglia schrieb:

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

^^^^^^^^^^^^^^^^^^^

This is for apache, not for php!

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


Yes it does.

> Any suggestions?


Try to run /usr/local/apache/bin/apxs from the command line first. Any
errors?

B.


--
BM Computer-Services, Bergmannstr. 66, 10961 Berlin
Webdesign, Internet, Layout und Grafik
Tel.: 030/20649400, mobil 0175/7419517, Fax: 030/20649401
Web: http://www.bmservices.de, eMail: kontakt@bmservices.de
  Réponse avec citation
Vieux 23/03/2005, 13h51   #3 (permalink)
Marzia Corvaglia
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [Apache+PHP] Error building PHP

Hi! Thanks a lot.

>
> This is for apache, not for php!
>


Indeed, i should have used the option --enable-module=so
in apache configuration, not in php one!!!
So, now i reinstalled apache with that option, and then php
.... and each step successfully finished!!! :-)

Thanks again and bye,
Marzia
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h53.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08248 seconds with 11 queries