Open topic with navigation

Installing a Manual PHP 5.6 Environment - MacOS X


This article will explain how to install and configure a PHP 5.6 and Apache 2.2 environment to receive Scriptcase.

Follow the steps below very carefully.


Note: This article was based on the distribution Mac OS X Yosemite.



Installing PHP 5.6


Run at the terminal to install the PHP 5.6:

sudo curl -s | bash -s 5.6


After installation PHP 5.6 will be at the following location /usr/local/php5



Configuring Apache


Run the following command in the terminal:

sudo nano /etc/apache2/httpd.conf


At the end of the modules add the following line:

LoadModule php5_module /usr/local/php5/



Add the path of PHP in MacOS environment variable.


Run the following command in the terminal:

sudo nano /etc/paths


In the opened file above, add the following line:




Once finished PHP 5.6 and Apache is configured on your machine.



Enabling Zend Guard Loader


Download the dll Zend Guard Loader for MacOS by using the link below and place it in /usr/local/zend/lib/php_extensions.

Download ZendGuardLoader


Open the php.ini (/usr/local/zend/etc/php.ini) and the end of the file add:



After this restart apache using the following commands:

sudo /usr/sbin/apachectl stop

sudo /usr/sbin/apachectl start



Manual installation of Scriptcase


Download Scriptcase with zip extension from and extract it in the root of your web environment previously installed (/etc/apache2/htdocs).

After the extract, rename the folder to scriptcase.


Access Scriptcase in your browser following the example below:



The screen below shows the choice of language (English) of the installation process of ScriptCase.


Here it checks the installed extensions. If you mark the checkboxes of the not installed extensions, it tries to configure the php.ini to recognize those extensions.




Now you can choose between the Typical installation or Custom installation.

Typical installation


The Scriptcase will install everything automatically. After choosing the typical installation, you will be automatically directed to your Scriptcase development environment. By definition, the user is: admin and password: admin.


Custom installation.


You can choose what database Scriptcase will use to install and choose the default username and password to access your development environment.

Scriptcase needs some permissions to work properly , at this moment it checks the permissions.

This step consists in defining the database in which ScriptCase will be installed. The default option is SQLite, which only requires your module is enabled in PHP, but you can install other databases by clicking 'Change Database'. To continue tables will be created.

The tables used by ScriptCase were successfully created.



Here you will create the login and the password for the administrator of ScriptCase.


If everything was ok in the installation, the following page will show. Click on Next to start Scriptcase.


The login page of Scriptcase with the user-name and password previously informed.