You will need to have Xcode installed on your system to use the Properties List Editor. This will give everybody write access to this file and open the plist file in it's default editor. $ open /System/Library/Automator/Run\ Shell\ Script.action/Contents/Resources/ist $ sudo chmod -R 777 /System/Library/Automator/Run\ Shell\ Script.action The file we will need to modify is in PLIST XML format and it can be easily edited with the Properties List Editor that comes with Xcode.įirst you should open up the Terminal.app in /Application/Utilities/ and enter the following: Some of the links I have provided bellow also have custom actions available for download and other goodies that let you do things with Apple's Automator that you can't do easily with pure php. This hack of the ist on Mac OS X Leopard or Mac OS X El Capitan is the same, but you will defiantly notice a difference between actions available on PowerPC and Intel for some of the installed apps you have, like Microsoft Office 2004 for Mac. I am going to give my own input on how to make that old PowerPC (G4/G5) Mac (or vintage/obsolete Intel Mac) you have in your garage, or basement, or closet collecting dust useful again with PHP.ĭo want PHP 7 on that PowerPC Mac (or vintage/obsolete Intel Mac)? With MacPorts you can install any PHP version from 4.4.9 to 7.0.5 on Mac OS X Leopard and up. In the original article he only demonstrated how to modify the ist file in the 'Automator Run Shell Script.action' package so that /usr/bin/php is one of the shell scripting languages listed. I would like to thank Patrick for his efforts and InSha'Allah this will serve as a good starting point for using PHP with Apple's Automator and the other actions that are available with Mac OS X. Here have further added more details and explanations based on my research and experience with PHP and Mac OS X. This article with build upon the work of a blog post written by Patrick Patoray.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |