Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1694 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  [HELP] Install Apache + PHP

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[HELP] Install Apache + PHP

n°142413
HORNY-Gran​dcornu
grumf !
Posté le 21-08-2002 à 13:43:51  profilanswer
 

hello,
 
J'ai récemment installé un serveur Apache 1.3.26 sur ma Slack 8.0, il marche, mais j'aimerais lui adjoindre PHP 4.2.x. Je vais donc chercher le package PHP et je l'installe. Oui mais après ? Je n'ai pas trouvé d'explications pour l'install de PHP via tgz. Et est-que ça ne posera pas de difficultés pour l'installation ulterieure de MySQL?
 
Pourrait-on m'expliquer commenkonfé ;) ? merci d'avance

mood
Publicité
Posté le 21-08-2002 à 13:43:51  profilanswer
 

n°142436
arghbis
salops de dauphins
Posté le 21-08-2002 à 14:14:19  profilanswer
 

ben c'est assez simple, il faut que tu compiles php pour qu'il prenne en compte apache (de mémoire, c --with-apx=tonchemminabsoluversleapxsdetonapache)!
pour mysql, si tu l'installe après php, faudra que tu recompile php avec l'option mysql!
 
voilà

n°142441
HORNY-Gran​dcornu
grumf !
Posté le 21-08-2002 à 14:26:36  profilanswer
 

hum ok mais j'ai installé PHP avec un *.tgz, donc un truc tout prêt !

n°142457
HORNY-Gran​dcornu
grumf !
Posté le 21-08-2002 à 14:59:29  profilanswer
 

bon j'ai enlevé le package et compilé PHP avec les options --with-apxs --with-mysql et ça a fonctionné :ouch: D'habitude j'avais une belle erreur à chaque compil'.
 
merci pour ton aide

n°142469
HORNY-Gran​dcornu
grumf !
Posté le 21-08-2002 à 15:09:43  profilanswer
 

y a une couille, je n'arrive pas à redémarrer Apache.
 
J'ai bien tapé
 
./configure --with-mysql --with-apxs
make
make install
 
Aucun message d'erreur à signaler. Puis je copie php.ini-dist situé dans /etc/apache, dans /usr/local/lib. J'update également /etc/apache/httpd.conf.
 
Puis hoplà, pour relancer Apache, un ptit apachectl restart. Mais il me flanque un message d'erreur
 

Code :
  1. root@darkstar:/home/common/down/php-4.2.2# apachectl configtest
  2. Syntax error on line 238 of /etc/apache/httpd.conf:
  3. Cannot load /etc/apache/libexec/libphp4.so into server: /etc/apache/libexec/libphp4.so: cannot open shared object file: No such file or directory


 
help ! ;)


Message édité par HORNY-Grandcornu le 21-08-2002 à 15:11:23
n°142476
HORNY-Gran​dcornu
grumf !
Posté le 21-08-2002 à 15:22:46  profilanswer
 

c'est bon ça marche, le coup traditionnel du chemin d'accès erroné au fichier :lol:
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  [HELP] Install Apache + PHP

 

Sujets relatifs
Debian et Openoffice, pbs à l'install[PBM] Install Mandrake 8.2 Xfree Ati rage pro
Pb d'install de mandrake8.2Newbi Linux : Config Apache + Logiciel de visualisation d'AVI
houla, panic a bord need help!!Php et Postfix ?
Apache ca vaut le coup d'upgrader la 1.3 vers la 2 ?help sur conversion fichier txt
son trash sous halflife avec wine!!!help???[Debian] Gnome2 > pbs d'install
Plus de sujets relatifs à : [HELP] Install Apache + PHP


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR