Feedback Print

Installing PHP 7.0 - Mac

This Article will describe the PHP 7.0 and Apache 2.4 installation to ScriptCase use.

Supported Operating Systems:

  • Mac
    • El Captain
    • Sierra

Necessary Files:

Setting up PHP

  • Access the terminal (shell) and execute the command below to use the superuser (root):
    • sudo su
  • Execute the command below to install PHP:
    • curl -s http://php-osx.liip.ch/install.sh | bash -s 7.0
  • Directory Installation
    • /usr/local/php7.0

Setting up Apache

  • Edit the file httpd.conf:
    • nano /etc/apache2/httpd.conf
  • Add the content below to the bottom of the module:
    • LoadModule php7_module /usr/local/php7.0/libphp7.so

Setting up PHP module

  • Edit the file paths:
    • sudo nano /etc/paths
  • Add the content below to the top of the file:
    • /usr/local/php7.0/bin

Setting up PHP path

  • In /Library/WebServer/Documents/ create a file called info.php with the content below:
    • <?php phpinfo(); ?>
  • Access it through the browser:

Enabling SourceGuardian Loader

  • Copy the file ixed.7.0.dar that was downloaded according to your architecture to the folder /usr/local/zend/lib/php_extensions
    • cp ixed.7.0.dar /usr/local/zend/lib/php_extensions
  • Configure the file’s permission:
    • chmod 777 -R /usr/local/zend/lib/php_extensions/ixed.7.0.dar
  • Edit the php.ini file in /usr/local/zend/etc/ and add the content below to the file’s bottom:
    • [SourceGuardian] zend_extension=/usr/local/zend/lib/php_extensions/ixed.7.0.dar`
  • Restart the Apache service using the command below:
    • sudo /usr/sbin/apachectl stop
    • sudo /usr/sbin/apachectl start

Scriptcase Manual Installation

  • Download ScriptCase with the extension zip at www.scriptcase.net and extract it on the root of your webserver.
  • After extracting, rename the folder to scriptcase.
  • Access Scriptcase from your browser using the url below:
    • http://127.0.0.1/scriptcase
  • By default, the selected language is English.

Installation's initial page By default the selected language is English.

  • Verifying the necessary extensions for ScriptCase to work and the modules for the database connections.

Verifying the necessary extensions for ScriptCase to work and the modules for the database connections. Verifying the necessary extensions for ScriptCase to work and the modules for the database connections.

Typical Installation

  • On this option, ScriptCase will be installed with the default settings.

On this option, ScriptCase will be installed with the default settings. On this option, ScriptCase will be installed with the default settings.

  • Login Screen.

Login Screen Login Screen.

Custom Installation

  • On this option, the user will choose the settings for the installation.

On this option, the user will choose the settings for the installation On this option, the user will choose the settings for the installation.

  • Verify the system’s directory permissions.

Verify the system's directory permissions VVerify the system’s directory permissions.

  • We can choose the database that ScriptCase will use to store the data in.

We can choose the database that ScriptCase will use to store the data in We can choose the database that ScriptCase will use to store the data in.

  • Displaying the ScriptCase’s tables creation.

Displaying the ScriptCase's tables creation Displaying the ScriptCase’s tables creation.

  • Setting up the user to access ScriptCase.

Setting up the user to access ScriptCase Setting up the user to access ScriptCase.

  • Finishing the custom installation

Finishing the custom installation Finishing the custom installation

  • Login Screen.

Login Screen Login Screen.