My favorites | Sign in
Project Logo
                
Search
for
Updated Mar 27, 2009 by bigdspbandj
Labels: Featured
HowToInstall  
Quick guide to installing the latest PHP.sugar.

Introduction

Currently PHP.sugar is bundled with every copy of Espresso. This presents a problem when wanting to update to the latest version of the sugar. Without a clean and supported way of updating the sugar we are left to mess around with the contents of Espresso.app.

Step 1: Downloading

Currently you can grab the PHP.sugar from the download page or check it out the SVN trunk. It's advised to get the trunk for the latest updates/fixes.

Step 2: Installing

Please close Espresso before completing the following instructions.

In order to override the bundled version of the PHP sugar we must delete it from Espresso.app. To do this navigate to:

/Applications/Espresso.app/

right click Espresso.app > Show Package Contents

/Contents/SharedSupport/Sugars/

Delete the PHP.sugar file. Then drop the new PHP.sugar file in the same directory.

Alternatively you can setup a symlink if you want to use a working copy of the PHP.sugar to keep things neat. In Terminal:

> cd Applications/Espresso.app/Contents/SharedSupport/Sugars
> sudo ln -s /path/to/working_copy PHP.sugar

Start up Espresso and you should be good to go.


Sign in to add a comment
Hosted by Google Code