Setting environment manually PHP 5.4 - Mac OS X

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

    • Related Articles

    • Setting environment manually PHP 5.6 - Mac OS X

      We must follow the steps below to perform the installation of php 5.6 on Mac OS X (Mavericks) Run in terminal: sudo curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6 Installation path: /usr/local/php5 Run in the terminal: sudo nano ...
    • MSSQL Server Connection - Scriptcase - Mac OS X

      Currently we must set up the connection to SQL Server on computers running Mac OS X according to the steps below: Step 1 - We should access the connection setup, in this case MSSQL Server Click on "Set FreeTDS". Step 2 - We must set the data to ...
    • Setting environment manually PHP 5.6 - Windows

      Installing a Manual PHP 5.6 Environment - Windows This article will explain how to install and set-up a PHP 5.6 environment with Apache 2.4 so that it'll run Scriptcase. Follow the steps below with caution. Download the Apache 2.4 , mod_fcgid and PHP ...
    • Setting environment manually PHP 5.4 - CentOS

      This article describes how to install the PHP 5.4 on a CentOS 5 or CentOS 6 server 1. First, detect if any PHP packages are installed:      If packages are installed remove them, for example: 2. Add PHP 5.4 packages to yum using this command for ...
    • Setting environment manually PHP 5.4 - Linux

      Manually Configuring Php on Debian-based distros First edit the sources.list file: sudo nano /etc/apt/sources.list Add the following line to the end of the file: deb-src http://packages.dotdeb.org all wheezy Update your system: sudo apt-get update ...