remi wrote:Pas possible (surtout pour un débutant).
Il y a encore besoin de php 4 ???
++
En fait je n'ai pas tellement le choix, je dois bosser sur un site qui utilise encore PH4 !!! snif !!!
@Refuznik, j'étais en train de faire ce tuto justement ...
Pour la partie IV - Apache je bloque sur la partie de modification de : /etc/httpd/conf2.d/ssl.conf je ne trouve pas le fichier. en cherchant je trouve un fichier ssl mais c'est dans /opt/lampp/etc/ssl.conf en effet j'ai essayé d'installer Xampp aussi !!!
et pour les 2 commandes ensuites j'obtiens
[root@localhost ~]# /usr/sbin/httpd -t -f /etc/httpd/conf/httpd.conf
Syntax OK]
[root@localhost ~]# /usr/sbin/httpd -t -f /etc/httpd/conf/httpd2.conf
httpd: Syntax error on line 209 of /etc/httpd/conf/httpd2.conf: Syntax error on line 6 of /etc/httpd/conf2.d/php.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: cannot open shared object file: No such file or directory
à priori normal je n'ai pas encore installé php4
Pour la partie V la je dois avouer c'est pour l'instant du chinois pour moi
quand j'exécute les commandes du tutorial j'obtiens :
[root@localhost php]# ./configure --enable-track-vars --with-mysql --with-apxs2=/usr/sbin/apxs \
> --prefix=/usr/local/php4 --with-config-file-path=/etc/httpd/conf \
> --with-zlib --with-gd
creating cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2554: lex: command not found
configure: error: cannot find output from lex; giving up
J'ai installé mon php 4.4.9 dans /usr/local/php
Je suis en train de me faire un aide mémoire des commandes bash de base pour mieux comprendre ce que je fait.
Merci encore !
@+