Start a conversation

Setting environment manually PHP 5.4 - Mac OS X

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


Installation path:
/usr/local/php5

Run in the terminal:
sudo nano /etc/apache2/httpd.conf

Add a line to the end of the modules:
LoadModule php5_module /usr/local/php5/libphp5.so

Add in paths:
sudo nano /etc/paths

The line:  /usr/local/php5/bin


Create a page to check the php
sudo nano /Library/WebServer/Documents/info.php


Write in the file:
<?php
phpinfo();
?>

Access by safari:
http://localhost/info.php

 

Enable Zend Guard Loader:

Click here

Manual Installation of Scriptcase:

Click here

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Ronyan Alves

  2. Posted
  3. Updated

Comments