Activation d'une fonction PHP

pascalb

New Member
#1
Bonjour à tous,

J'utilise le CMS Joomla est certaines fonctions de mes templates ne marche pas sur mon site en ligne sur planethoster alors qu'en local sur mon serveur MAMP ça fonctionne très bien.
La version de PHP sur planethoster est la 5.2.14 sur mon serveur MAMP j'utilise la 5.2.13.

Voici le Configure Command du 5.2.13 qui fonctionne:
------------------------------------------------------------------------------------------
Command './configure' '--with-mysql=/Applications/MAMP/Library' '--with-apxs2=/Applications/MAMP/Library/bin/apxs' '--with-gd' '--with-jpeg-dir=/Applications/MAMP/Library' '--with-png-dir=/Applications/MAMP/Library' '--with-zlib' '--with-freetype-dir=/Applications/MAMP/Library' '--prefix=/Applications/MAMP/bin/php5.2' '--exec-prefix=/Applications/MAMP/bin/php5.2' '--sysconfdir=/Applications/MAMP/conf/php5.2' '--with-soap' '--with-config-file-path=/Applications/MAMP/conf/php5.2' '--enable-track-vars' '--enable-bcmath' '--enable-ftp' '--enable-gd-native-ttf' '--with-bz2=/usr' '--with-ldap' '--with-mysqli=/Applications/MAMP/Library/bin/mysql_config' '--with-sqlite' '--with-ttf' '--with-t1lib=/Applications/MAMP/Library' '--enable-mbstring=all' '--with-curl=/Applications/MAMP/Library' '--enable-dbx' '--enable-sockets' '--enable-bcmath' '--with-imap=shared,/Applications/MAMP/Library/lib/imap-2007e' '--enable-soap' '--with-kerberos' '--enable-calendar' '--with-pgsql=shared,/Applications/MAMP/Library/pg' '--enable-dbase' '--enable-exif' '--with-libxml-dir=/Applications/MAMP/Library' '--with-gettext=shared,/Applications/MAMP/Library' '--with-xsl=/Applications/MAMP/Library' '--with-pdo-mysql=shared,/Applications/MAMP/Library' '--with-pdo-pgsql=shared,/Applications/MAMP/Library/pg' '--with-mcrypt=shared,/Applications/MAMP/Library' '--with-openssl' '--enable-zip'
------------------------------------------------------------------------------------------

et voici le Configure Command du 5.2.14 qui ne fonctionne pas:
------------------------------------------------------------------------------------------
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pgsql=/usr' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
------------------------------------------------------------------------------------------

A la vu de ce qui précède, je serai tenté de dire que c'est la commande "track-vars" qui est enable dans la config qui fonctionne et qui n'est pas spécifié dans le 5.2.14 qui ne fonctionne pas. Par contre, j'ai vu sur le net que normalement cette commande est activé par défaut depuis PHP4.
Si c'est bien ça, je fait comment comment pour activer cette commande sur mon serveur ?

Merci pour votre aide.
Cordialement,

Pascal.
 
Haut