Skip to content

Kévin Dunglas

Founder of Les-Tilleuls.coop (worker-owned cooperative). Creator of API Platform, FrankenPHP, Mercure.rocks, Vulcain.rocks and of some Symfony components.

Menu
  • Talks
  • Resume
  • Sponsor me
  • Contact
Menu

Installer PHP sur OS X avec le support de MySQL et de INTL

Posted on December 4, 2012January 12, 2014 by Kévin Dunglas

Après avoir installé Homebrew, il ajoutons les dépôts Homebrew-PHP et Homebrew-dupes :

$ brew tap josegonzalez/php
$ brew tap homebrew/dupes

Installons maintenant PHP 5.4 avec le support de MySQL et de INTL :

$ brew install php54 --with-mysql --with-intl
$ brew install php54-intl

Ajoutez maintenant la ligne indiquée par Homebrew pour que Apache charge le module PHP à la fin du fichier /etc/apache2/httpd.conf.

Exemple pour la version 5.4.10 :

LoadModule php5_module    /usr/local/Cellar/php54/5.4.10/libexec/apache2/libphp5.so

Pour booster les performances de PHP, très utile si vous comptez développer avec Symfony, installez également APC :

$ brew install php54-apc

Redémarrez PHP pour que vos modifications soient prises en compte :

$ sudo apachectl restart

Related posts:

  1. Installer un stack LAMP sur un dédié OVH avec Ubuntu 12.10
  2. Changer l’emplacement de mysql.sock avec MAMP
  3. Installing a LaTeX environment on a Mac
  4. Enabling OPcache for PHP 5.6+ installed with Homebrew

3 thoughts on “Installer PHP sur OS X avec le support de MySQL et de INTL”

  1. Xavier Lacot says:
    December 4, 2012 at 3:21 pm

    Ou tu peux aussi employer les paqiets mis à disposition par Liip: http://php-osx.liip.ch/

    Reply
  2. Pingback: Utiliser Chaplin.js et Backbone.js avec Symfony 2 : installation et configuration - Kévin Dunglas
  3. Pingback: Enabling OPcache for PHP 5.6+ installed with Homebrew - développeur Symfony - Lille

Leave a ReplyCancel reply

Social

  • Bluesky
  • GitHub
  • LinkedIn
  • Mastodon
  • X
  • YouTube

Links

  • API Platform
  • FrankenPHP
  • Les-Tilleuls.coop
  • Mercure.rocks
  • Vulcain.rocks

Subscribe to this blog

Top Posts & Pages

  • Merry Christmas! FrankenPHP 1.11: Hot Reload, Structured Logging, and More Speed
  • Symfony's New Native Docker Support (Symfony World)
  • FrankenPHP: The Modern Php App Server, written in Go
  • JSON Columns and Doctrine DBAL 3 Upgrade
  • FrankenPHP’s New Features: Thread Autoscaling, Mostly Static Binaries, deb and RPM Packages, Caddy 2.10…
  • PHP and Symfony Apps As Standalone Binaries
  • Running Laravel Apps With FrankenPHP (Laracon EU)
  • The Best of Both Worlds: Go-Powered gRPC for Your PHP and API Platform Apps
  • FrankenPHP 1.3: Massive Performance Improvements, Watcher Mode, Dedicated Prometheus Metrics, and More
  • Connection to a MS SQL Server from Symfony / Doctrine on Mac or Linux

Tags

Apache API API Platform Buzz Caddy Docker Doctrine FrankenPHP Go Google GraphQL HTTP/2 Hydra hypermedia Hébergement Javascript JSON-LD Kubernetes La Coopérative des Tilleuls Les-Tilleuls.coop Lille Linux Mac Mercure Mercure.rocks Messagerie Instantanée MySQL performance PHP Punk Rock Python React REST Rock'n'Roll Schema.org Security SEO SEO Symfony Symfony Live Sécurité Ubuntu Web 2.0 webperf XML

Archives

Categories

  • DevOps (85)
    • Ubuntu (68)
  • Go (20)
  • JavaScript (46)
  • Mercure (7)
  • Opinions (91)
  • PHP (176)
    • API Platform (80)
    • FrankenPHP (14)
    • Laravel (1)
    • Symfony (97)
    • Wordpress (6)
  • Python (14)
  • Security (15)
  • SEO (25)
  • Talks (46)
© 2026 Kévin Dunglas | Powered by Minimalist Blog WordPress Theme