Mac OS Environment

For fans of Apple

To use SILEX on a Mac, you must install a web server making sure you have PHP5 installed, which is necessary for the proper performance of your server Silex.

Web server

For example you can download MAMP, open source software, which contains an Apache server and supports PHP5.

Other web servers are available free online and use the same procedure.

Procedure :

  1. Download MAMP.
  2. Install MAMP in the Applications folder.
  3. Download SILEX among the different distributions available.
  4. Unzip the archive downloaded in step 1 using the decompression program for your operating system or, using free software such as 7-zip.
  5. Go to the Applications folder in MAMP, then in the htdocs folder and paste the SILEX extracted in step 4.
  6. Each time, start and click the <Démarrer serveurs> or<Start server> .
  7. Launch the web browser, note the local address: http://localhost:8888/ and select the folder that appears on the Silex page.
  8. Access rights will be adjusted as necessary Silex, your credentials to the manager and editing will be requested.
  9. After following this procedure you can log onto the manager of Silex

Look at :



  1. brian

    30 Dec 10

    What is the “flint” page?

  2. lexa

    2 Feb 11

    Thank you for this quesiton
    It is a badd “automatic” translation :(
    Silex mean flint in french
    So it is “Silex page”

  3. Profile photo of mikahideo


    17 Oct 12

    I tried the procedure on top, and I got the following, when it’s trying to launch SILEX, does anyone know how to fix it? I am running OS X 10.8.2 with MAMP 2.1.1

    uncaught exception: Declaration of viewMenu::initHooks() should be compatible with plugin_base::initHooks(HookManager $hookManager) (errno: 2048) in /Applications/MAMP/htdocs/silex/plugins/viewMenu/index.php at line #20Declaration of viewMenu::initHooks() should be compatible with plugin_base::initHooks(HookManager $hookManager)

    in file: /Applications/MAMP/htdocs/silex/plugins/viewMenu/index.php line 20
    #0 /Applications/MAMP/htdocs/silex/plugins/viewMenu/index.php(20): _hx_error_handler(2048, ‘Declaration of …’, ‘/Applications/M…’, 20, Array)
    #1 /Applications/MAMP/htdocs/silex/cgi/includes/plugin_manager.php(74): require_once(‘/Applications/M…’)
    #2 /Applications/MAMP/htdocs/silex/cgi/includes/plugin_manager.php(53): plugin_manager->createPlugin(‘viewMenu’, Array)
    #3 /Applications/MAMP/htdocs/silex/framework/hx/org/silex/serverApi/PluginManager.class.php(11): plugin_manager->createActivePlugins(Array, Object(HookManager))
    #4 /Applications/MAMP/htdocs/silex/framework/hx/org/silex/html/SilexIndex.class.php(115): org_silex_serverApi_PluginManager->createActivePlugins(Object(Hash), Object(org_silex_serverApi_HookManager))
    #5 /Applications/MAMP/htdocs/silex/index.php(9): org_silex_html_SilexIndex::main()
    #6 {main}

  4. Profile photo of Laurent


    4 Dec 12

    I have the same problem… any idea? Anybody good enough in PHP?

  5. Profile photo of alainmille


    3 Jan 13

    Same problem…. :-( I was planning to use it for my students in a new Master “Information Architecture”. Hopping 2013 will start with this bug fix :-)

  6. Profile photo of Jason


    18 May 13

    I just installed MAMP Pro and the Silex tools and I too am getting the uncaught exception error on first launch. The html 5 visual editor and the wordpress style management tools were a big draw to someone like me that has a primarily design background. That said, the install is complex and then to get the uncaught exception error after installation is frustrating. Now Im trying to figure out what version of php I have on the Mac then how to downgrade it to something less than 5.4.

    This error should have been noted in the installation instructions right from the beginning – FYI if you are installing Silex, MAMP etc you should check your version of PHP before installation, PHP greater than 5.3 causes a fatal errror on launch after installation. Why give us install instructions that you know are going to fail?

Leave a comment

Upcoming Events / Événements à venir

  1. Atelier Back to Basics CSS : le CSS à l’heure du responsive

    27 January @ 18:00 - 20:00
  2. Atelier Back to Basics PHP

    28 January @ 19:00 - 21:00
  3. Haxepéro #21 : Apéropen Source

    29 January @ 19:00 - 23:00

Sign up for Silex Labs newsletter

Follow Silex Labs on Twitter

Silex Labs community Tweets

Facebook page

Enter your email address to subscribe to this blog and receive notifications of new posts by email.