Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLU] Emerge mod_php : no ebuilds to satisfy
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
kernings
n00b
n00b


Joined: 14 Nov 2007
Posts: 36

PostPosted: Wed Nov 14, 2007 5:51 pm    Post subject: [RESOLU] Emerge mod_php : no ebuilds to satisfy Reply with quote

Salut les français,

J'essai d'installer le triplé MYSQL 5, APACHE 5, PHP 5 sur un serveur dédié. Jusqu'a à maintenant tout aller bien, il me semble avoir correctement installer ces 3 là, mais au moment d'installer le mod php pour apache ... :

Code:
ks352777 apache2 # emerge -pv mod_php

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

Calculating dependencies /
emerge: there are no ebuilds to satisfy "mod_php".


Voila mes autres configs et paramètre de compilation :

Code:
ks352777 apache2 # emerge -pv apache

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

Calculating dependencies... done!
[ebuild   R   ] www-servers/apache-2.2.6  USE="ssl -debug -doc -ldap -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec (-selinux) -static-modules -threads" 0 kB


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


J'essai de suivre le tutorial suivant: http://fr.gentoo-wiki.com/HOWTO_Apache_MySQL_PHP

VOila , j'espere que vous pourrez m'aider !!

A bientot


Last edited by kernings on Wed Nov 14, 2007 8:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Wed Nov 14, 2007 6:31 pm    Post subject: Reply with quote

Salut !
Peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plait ? Merci :)

Ce n'est plus mod_php mais dev-lang/php maintenant, depuis assez longtemps même ;)
Back to top
View user's profile Send private message
lefoid
Apprentice
Apprentice


Joined: 05 Nov 2005
Posts: 232

PostPosted: Wed Nov 14, 2007 6:35 pm    Post subject: Reply with quote

Salut
Je crois que c'est :
Code:
emerge mod_suphp

A + ...
_________________
Visi pas nette, pilote à la buvette !
Back to top
View user's profile Send private message
blasserre
Veteran
Veteran


Joined: 10 Feb 2004
Posts: 1362
Location: Lille, Vlaanderen

PostPosted: Wed Nov 14, 2007 6:36 pm    Post subject: Reply with quote

geekounet wrote:
Ce n'est plus mod_php mais dev-lang/php maintenant, depuis assez longtemps même ;)

plus précisément c'est dev-lang/php avec le use flag apache2 que tu as d'après ton emerge -pv
donc cherche un peu sur ton système et tu devrais le trouver
_________________
benj

technicien professionnel, ascendant winner
Back to top
View user's profile Send private message
kernings
n00b
n00b


Joined: 14 Nov 2007
Posts: 36

PostPosted: Wed Nov 14, 2007 8:19 pm    Post subject: Reply with quote

Je viens de trouver quelque chose, je crois que j'ai compris pourquoi mon httpd.conf est presque vide.
Vers la fin du fichier il y'a un include * qui inclus pas mal de fichier dont un fichier 70_mod_php5.conf qui contient :

Code:
<IfDefine PHP5>
        # Load the module first
        <IfModule !mod_php5.c>
                LoadModule php5_module    modules/libphp5.so
        </IfModule>

        # Set it to handle the files
        <IfModule mod_mime.c>
                AddType application/x-httpd-php .php
                AddType application/x-httpd-php .phtml
                AddType application/x-httpd-php .php3
                AddType application/x-httpd-php .php4
                AddType application/x-httpd-php .php5
                AddType application/x-httpd-php-source .phps
        </IfModule>

        AddDirectoryIndex index.php index.phtml
</IfDefine>


Du coup, je crois que le module est bien installé, les fichiers de conf sont simplement divisés dans des fichiers ... malheureusement ma page php déconne toujours et ne n'affiche pas mon php.
Back to top
View user's profile Send private message
kernings
n00b
n00b


Joined: 14 Nov 2007
Posts: 36

PostPosted: Wed Nov 14, 2007 8:35 pm    Post subject: Reply with quote

OK en creusant sur cette piste j'ai trouver le fichier default_vhost.include qui permet de gerer nos virtualhost , du coup j'arrive enfin à afficher ma page de test. ENfin ....
Back to top
View user's profile Send private message
blasserre
Veteran
Veteran


Joined: 10 Feb 2004
Posts: 1362
Location: Lille, Vlaanderen

PostPosted: Wed Nov 14, 2007 8:40 pm    Post subject: Reply with quote

il faut que tu ajoutes -D PHP5 à la variable APACHE2_OPTS dans le fichier /etc/conf.d/apache2
ceci définira PHP5 et activera la section <IfDefine PHP5> </IfDefine> que tu as trouvé plus tôt

ensuite, petit scarabée, tu devras mettre ton titre en conformité avec les règles du forum (avec un résolu ;))
_________________
benj

technicien professionnel, ascendant winner
Back to top
View user's profile Send private message
kernings
n00b
n00b


Joined: 14 Nov 2007
Posts: 36

PostPosted: Wed Nov 14, 2007 8:42 pm    Post subject: Reply with quote

Ok jcommence à comprendre lol ... le petit scarabé a fait son travail
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