We must follow the steps below to perform the installation of php 5.4 on Mac OS X (Mavericks)  
  
Run in terminal:  
*sudo curl -s http://php-osx.liip.ch/install.sh | bash -s 5.4*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/01.jpg)  
  
Installation path:  
*/usr/local/php5*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/02.jpg)  
Run in the terminal:  
*sudo nano /etc/apache2/httpd.conf*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/03.jpg)  
Add a line to the end of the modules:  
*LoadModule php5\_module /usr/local/php5/libphp5.so*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/04.jpg)  
Add in paths:  
*sudo nano /etc/paths*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/06.jpg)  
The line:  */usr/local/php5/bin*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/07.jpg)  
  
Create a page to check the php  
*sudo nano /Library/WebServer/Documents/info.php*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/08.jpg)  
  
Write in the file:  
*php</em  
*phpinfo();*  
*?>*  
![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/09.jpg)  
Access by safari:  
*<http://localhost/info.php>**

![](http://cdn1.netmake.com.br/img_kb/pt_br/configurando_ambiente_manualmente_php_54_mac_os_x/10.jpg)

Enable Zend Guard Loader:

[Click here](http://suporte.scriptcase.com.br/index.php?/Knowledgebase/Article/View/620/0/enable-zendguard-loader%E2%80%94-macos)

Manual Installation of Scriptcase:

[Click here](http://suporte.scriptcase.com.br/index.php?/Knowledgebase/Article/View/426/0/manual-installation-of-scriptcase)