Skip to content

Instantly share code, notes, and snippets.

@bahamut45
Last active September 30, 2015 20:12
Show Gist options
  • Save bahamut45/21265c286fd3c5a9c58f to your computer and use it in GitHub Desktop.
Save bahamut45/21265c286fd3c5a9c58f to your computer and use it in GitHub Desktop.
Manjaro - PHP
# installer les paquets suivants
pacin php php-apcu php-gd php-intl php-ldap php-mcrypt php-pear xdebug
# Modifier le fichier /etc/php/php.ini
sudo vim /etc/php/php.ini
## Definir votre timezone
date.timezone = Europe/Paris
## Modifier la variable open_basedir
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/bin/php:/dev/null:/usr/local/bin/
## Activer les extensions suivantes
extension=exif.so
extension=gd.so
extension=gettext.so
extension=intl.so
extension=ldap.so
extension=mcrypt.so
extension=openssl.so
extension=pdo_mysql.so
extension=phar.so
extension=xmlrpc.so
extension=zip.so
# Installer composer
curl -sS https://getcomposer.org/installer | php
# Mettre composer dans /usr/local/bin/
sudo mv composer.phar /usr/local/bin/composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment