$ phoronix-test-suite
The following PHP extensions are REQUIRED by the Phoronix Test Suite:
ZIP PHP Zip support is required.
JSON PHP JSON support is required.
The following PHP extensions are optional but recommended by the Phoronix Test Suite:
OpenSSL PHP OpenSSL support is recommended to support HTTPS traffic.
GD The PHP GD library is recommended for improved graph rendering.
POSIX PHP POSIX support is highly recommended.
CURL PHP CURL is recommended for a better download experience.
Dans le post-install il est marqué qu'il faut faire ceci:
post_install() {
echo ">>>"
echo ">>> To complete the installation you should edit /etc/php/php.ini."
echo ">>> Add / to the open_basedir list."
echo ">>>"
echo ">>> EXAMPLE:"
echo ">>> open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/"
echo ">>>"
echo ">>> To enable the GUI make sure you install php-gtk from aur"
}
$ ls -l /usr/lib/php/modules
total 3364
-rwxr-xr-x 1 root root 29544 5 mars 17:01 bcmath.so
-rwxr-xr-x 1 root root 25464 5 mars 17:01 bz2.so
-rwxr-xr-x 1 root root 29232 5 mars 17:01 calendar.so
-rwxr-xr-x 1 root root 65232 5 mars 17:02 curl.so
-rwxr-xr-x 1 root root 53304 5 mars 17:01 dba.so
-rwxr-xr-x 1 root root 60328 5 mars 17:01 exif.so
-rwxr-xr-x 1 root root 50728 5 mars 17:01 ftp.so
-rwxr-xr-x 1 root root 324336 5 mars 17:02 gd.so
-rwxr-xr-x 1 root root 12680 5 mars 17:01 gettext.so
-rwxr-xr-x 1 root root 38512 5 mars 17:01 iconv.so
-rwxr-xr-x 1 root root 1100072 5 mars 17:01 imap.so
-rwxr-xr-x 1 root root 34504 5 mars 17:01 json.so
-rwxr-xr-x 1 root root 124128 5 mars 17:01 mysqli.so
-rwxr-xr-x 1 root root 46568 5 mars 17:01 mysql.so
-rwxr-xr-x 1 root root 116200 5 mars 17:01 openssl.so
-rwxr-xr-x 1 root root 24152 5 mars 17:01 pdo_mysql.so
-rwxr-xr-x 1 root root 261264 5 mars 17:01 phar.so
-r-xr-xr-x 1 root root 18214 7 janv. 07:30 phpcups.so
-rwxr-xr-x 1 root root 28256 5 mars 17:01 posix.so
-rwxr-xr-x 1 root root 12040 5 mars 17:01 shmop.so
-rwxr-xr-x 1 root root 329952 5 mars 17:01 soap.so
-rwxr-xr-x 1 root root 45032 5 mars 17:01 sockets.so
-rwxr-xr-x 1 root root 358496 5 mars 17:01 sqlite.so
-rwxr-xr-x 1 root root 16680 5 mars 17:01 sysvmsg.so
-rwxr-xr-x 1 root root 8712 5 mars 17:01 sysvsem.so
-rwxr-xr-x 1 root root 12168 5 mars 17:01 sysvshm.so
-rwxr-xr-x 1 root root 77320 5 mars 17:01 xmlrpc.so
-rwxr-xr-x 1 root root 82896 5 mars 17:01 zip.so
EDIT: j'ai résolu, j'ai déplacé le fichier php.ini et effectué une réinstallation du paquet, ainsi que les modifications apportées au fichier, ont permis de lancer phoronix, bizarre
Dernière modification par wido le dim. 13 mars 2011, 22:07, modifié 1 fois.
The json module is now built into PHP itself. Therefore, remove the extension=json.so directive from your php.ini file.
En français, JSON est inclut par défaut dans PHP à partir de la version 5.4.
Il faut donc :
a) décommenter "extension=json.so" du fichier /etc/php/php.ini (s'il y était)
b) pas besoin de l'y ajouter si vous installez php version 5.4 et plus sous arch.
~ Configs ~ PGP Key: 1C2A554EFF0157D9
« Demande un conseil à ton ennemi et fais le contraire (proverbe juif)
SVP intéressé par tout retour d'exp. sur Arch ARM en général, et sur portable (CrOS) en particulier.