Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[réglé ][apache2 - php] libphp5.so introuvable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
fennec.
n00b
n00b


Joined: 08 May 2008
Posts: 6

PostPosted: Thu May 08, 2008 9:12 pm    Post subject: [réglé ][apache2 - php] libphp5.so introuvable Reply with quote

Bonjour a tous,

j'ai suivis ce tuto pour installer apache et php

http://fr.gentoo-wiki.com/HOWTO_Apache_MySQL_PHP

j'ai eu le même problème mon code php n'était pas interpreté
j'ai donc ajouter cette ligne au httpd.conf

Code:
LoadModule php5_module modules/libphp5.so


au redemarage d'apache, il me dit qu'il ne trouve pas ce fichier

j'ai donc fait un
Code:
find / -name libphp5.so


ce fichier est introuvable

j'i installer apache2 et dev-lang/php

merci d'avance pour votre aide


Last edited by fennec. on Mon May 12, 2008 1:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Thu May 08, 2008 9:36 pm    Post subject: Reply with quote

N'oublie pas de mettre un titre en conformité avec les règles du forum !

dev-lang/php doit être installé avec le USE flag apache2.
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
fennec.
n00b
n00b


Joined: 08 May 2008
Posts: 6

PostPosted: Fri May 09, 2008 6:27 am    Post subject: Reply with quote

Bonjour,

j'ai fait un USE="apache2" emerge -av php

la machine est un serveur dédier de chez OVH

j'ai désinstaller apache-ovh et php-ovh

pour installer apache2 et dev-lang/php
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Fri May 09, 2008 7:13 am    Post subject: Reply with quote

fennec. wrote:
la machine est un serveur dédier de chez OVH

Est-ce l'horrible distribution Release 2 ?
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
fennec.
n00b
n00b


Joined: 08 May 2008
Posts: 6

PostPosted: Fri May 09, 2008 8:18 am    Post subject: Reply with quote

Bonjour,

oui, c'est bien une release2
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Fri May 09, 2008 8:21 am    Post subject: Reply with quote

Utiliser les ebuilds officiels de Portage apache2 et php sur une Release 2 est une mauvaise idée, je pense :
- c'est une très vielle version de l'arbre Portage
- les versions utilisées ne sont certainement plus maintenues
- les versions utilisées comportent certainement un très grand nombre de failles de sécurité
- etc.

Si tu souhaites vraiment utiliser les ebuilds officiels, il faudra alors mettre l'arbre Portage à jour puis mettre à jour world pour ainsi éviter tout problème de sécurité.
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
antoine_
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2006
Posts: 103
Location: Paris ou Bordeaux

PostPosted: Fri May 09, 2008 9:01 am    Post subject: Reply with quote

Mes plus sincères condoléances. Je travaille également sur une Gentoo Release 2 d'OVH. Ben c'est moche...

A tout hasard, peux-tu nous donner le résultat de :
Code:
# ls -l /usr/lib/apache2/modules


J'ai donné le chemin de tête, il se peut que tu doives corriger un nom de répertoire...
Back to top
View user's profile Send private message
fennec.
n00b
n00b


Joined: 08 May 2008
Posts: 6

PostPosted: Mon May 12, 2008 12:09 pm    Post subject: Reply with quote

Bonjour,

voila le résultat de la commande

Quote:

-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_actions.so
-rwxr-xr-x 1 root root 9952 mai 8 20:50 mod_alias.so
-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_auth_basic.so
-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_authn_alias.so
-rwxr-xr-x 1 root root 5792 mai 8 20:50 mod_authn_anon.so
-rwxr-xr-x 1 root root 5792 mai 8 20:50 mod_authn_dbm.so
-rwxr-xr-x 1 root root 5792 mai 8 20:50 mod_authn_default.so
-rwxr-xr-x 1 root root 5792 mai 8 20:50 mod_authn_file.so
-rwxr-xr-x 1 root root 26432 mai 8 20:50 mod_authnz_ldap.so
-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_authz_dbm.so
-rwxr-xr-x 1 root root 5760 mai 8 20:50 mod_authz_default.so
-rwxr-xr-x 1 root root 9952 mai 8 20:50 mod_authz_groupfile.so
-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_authz_host.so
-rwxr-xr-x 1 root root 9888 mai 8 20:50 mod_authz_owner.so
-rwxr-xr-x 1 root root 10388 avr 10 20:26 mod_authz_svn.so
-rwxr-xr-x 1 root root 5792 mai 8 20:50 mod_authz_user.so
-rwxr-xr-x 1 root root 30624 mai 8 20:50 mod_autoindex.so
-rwxr-xr-x 1 root root 30864 mai 8 20:50 mod_cache.so
-rwxr-xr-x 1 root root 22432 mai 8 20:50 mod_cgi.so
-rwxr-xr-x 1 root root 43164 mai 8 20:50 mod_dav_fs.so
-rwxr-xr-x 1 root root 14112 mai 8 20:50 mod_dav_lock.so
-rwxr-xr-x 1 root root 84500 mai 8 20:50 mod_dav.so
-rwxr-xr-x 1 root root 119884 avr 10 20:26 mod_dav_svn.so
-rwxr-xr-x 1 root root 18208 mai 8 20:50 mod_deflate.so
-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_dir.so
-rwxr-xr-x 1 root root 18208 mai 8 20:50 mod_disk_cache.so
-rwxr-xr-x 1 root root 5792 mai 8 20:50 mod_env.so
-rwxr-xr-x 1 root root 10068 mai 8 20:50 mod_expires.so
-rwxr-xr-x 1 root root 18272 mai 8 20:50 mod_ext_filter.so
-rwxr-xr-x 1 root root 10012 mai 8 20:50 mod_file_cache.so
-rwxr-xr-x 1 root root 14052 mai 8 20:50 mod_filter.so
-rwxr-xr-x 1 root root 14116 mai 8 20:50 mod_headers.so
-rwxr-xr-x 1 root root 38784 mai 8 20:50 mod_include.so
-rwxr-xr-x 1 root root 18476 mai 8 20:50 mod_info.so
-rwxr-xr-x 1 root root 47196 mai 8 20:50 mod_ldap.so
-rwxr-xr-x 1 root root 22492 mai 8 20:50 mod_log_config.so
-rwxr-xr-x 1 root root 5780 mai 8 20:50 mod_logio.so
-rwxr-xr-x 1 root root 22588 mai 8 20:50 mod_mem_cache.so
-rwxr-xr-x 1 root root 22800 mai 8 20:50 mod_mime_magic.so
-rwxr-xr-x 1 root root 14080 mai 8 20:50 mod_mime.so
-rwxr-xr-x 1 root root 30592 mai 8 20:50 mod_negotiation.so
-rwxr-xr-x 1 root root 59488 mai 8 20:50 mod_rewrite.so
-rwxr-xr-x 1 root root 9952 mai 8 20:50 mod_setenvif.so
-rwxr-xr-x 1 root root 9980 mai 8 20:50 mod_speling.so
-rwxr-xr-x 1 root root 156800 mai 8 20:50 mod_ssl.so
-rwxr-xr-x 1 root root 22452 mai 8 20:50 mod_status.so
-rwxr-xr-x 1 root root 10016 mai 8 20:50 mod_unique_id.so
-rwxr-xr-x 1 root root 9920 mai 8 20:50 mod_userdir.so
-rwxr-xr-x 1 root root 9952 mai 8 20:50 mod_usertrack.so
-rwxr-xr-x 1 root root 9888 mai 8 20:50 mod_vhost_alias.so
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Mon May 12, 2008 12:26 pm    Post subject: Reply with quote

Et que renvoie, par curiosité, emerge -pv php apache ?
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
fennec.
n00b
n00b


Joined: 08 May 2008
Posts: 6

PostPosted: Mon May 12, 2008 12:53 pm    Post subject: Reply with quote

voici

Quote:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb cli crypt ctype gd gdbm iconv imap ldap mhash mysql ncurses nls pcre readline reflection session spl sqlite ssl unicode zlib -adabas -bcmath -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -ldap-sasl -libedit -mcve -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB


[ebuild R ] www-servers/apache-2.2.8 USE="ldap ssl -debug -doc (-selinux) -sni -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Mon May 12, 2008 12:55 pm    Post subject: Reply with quote

Je suis étonné que les ebuilds soient à jour !

Sinon c'est normal que PHP ne fonctionne pas, il n'est pas installé :
Quote:
[ebuild N ] dev-lang/php-5.2.6_rc4

_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
fennec.
n00b
n00b


Joined: 08 May 2008
Posts: 6

PostPosted: Mon May 12, 2008 1:13 pm    Post subject: Reply with quote

c'est normal qu'il n'est pas installer

je venais de faire un emerge --unmerge php

je vien de trouvé la solution

j'ai ajouté ceci (le apache2 juste après de-lang/php)

Quote:

dev-lang/php apache2 ctype sqlite gd pcre session imap mhash imagemagick unicode


dans le fichier

Code:
/etc/portage/package.use


merci pour ton aide
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum