Compilation et installation?

Bonsoir

Je bloc sur l’installation d’un programe depuis midi :cry:

On me demande ceci


Compilation et installation :
export PHP_PREFIX="/usr/local"
$PHP_PREFIX/bin/phpize
./configure enable-mmcache=shared with-php-config=$PHP_PREFIX/bin/php-config
make

en tant que root :
make install


Comment faut-il proceder pour faire une compilation du code ci-dessus?

hello,

ca ok

pas bon

pas bon

En gros tu export ta variable PHP_PREFIX et qui doit contenir un chemin, lequel je sais a toi de voir.

Re

Je suis pas très doué en programmation, et je ne sais pas encore comment on compile un programme.

Aurais tu plus d’info sur comment exporter la variable PHP_PREFIX ?

Hum, à la louche essaye

$ export PHP_PREFIX="/usr"
$ /usr/bin/phpize4
$ ./configure enable-mmcache=shared with-php-config=$PHP_PREFIX/bin/php-config
$ make
# apt-get install checkinstall
# checkinstall make install

après avoir installé php4-dev