[PHP 5.1.6] Installation ?

Fermé
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 - 8 oct. 2006 à 00:33
 hardin - 14 mai 2007 à 11:40
Bonsoir,

Je souhaite débuté en programmation en PHP, comment installer cette plateforme de développement sous Linux & Windows XP ?

1) Pouvez-vous détaillé les procédures et infos pour installer ce langage ?

2) Mise en place de base de données relationnelle MySql ou PostGreSql choisir ?

3) Utilisation pour les sites web pages dynamiques

4) Wiki : https://fr.wikipedia.org/wiki/Accueil
A voir également:

4 réponses

Pour php, il te faut deja apache ! apres tout est histoire de configuration.
Une fois apache installé, ouvre le fichier apache.conf, et décommente les modules php !
Quand tu fais des modifs, n'oublie pas de faire un
>apache restart

Ce n'est pas facile de tout expiquer comme ca, sur le web, tu trouveras toutes les explications nécessaires :

ex pour la debian, mais c'est pareil pour les autres distrib
http://giminik.developpez.com/articles/apache/debian/

Sous windows, tu ne t'embettes pas, et tu installes easyphp, tout se fait automatiquement !

bon courage
++
0
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 484
19 janv. 2007 à 10:13
Bonjour,

Je viens de suprrimer MySql 5.0.27, je souhaites uniquement utiliser PHP 5.2.0 avec serveur apache 2.2.4 sous Linux Mandriva 2007.

Comment installer php ?
0
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 484
19 janv. 2007 à 10:28
En mode root:

Installation de Apache 2.2.4
[Apache 2.2.4]
./configure
make
make install
Création d'un nouveau répertoire /usr/local/apache2

[PHP_5.2.0]# ./configure --with-config-file=/usr/local/apache2/conf --with-apache=/usr/local/apache2 --enable-track-vars
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
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 target 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 whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3276: lex: command not found
configure: error: cannot find output from lex; giving up


Que faut-il changer comme paramètre ?
0
sudo apt-get install flex (si tu es sous ubuntu)
en gros tu installes flex et c'est bo
0