Installing PHP 7.0 - Mac

Installing PHP 7.0 - Mac

This article describes 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 web server.
  • After extracting, rename the folder to scriptcase.
  • Access Scriptcase from your browser using the URL below:
  • By default, the selected language is English.

Installation's initial pageBy 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 ScreenLogin 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 installationOn this option, the user will choose the settings for the installation.

  • Verify the system’s directory permissions.

Verify the system's directory permissionsVVerify 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 inWe can choose the database that ScriptCase will use to store the data in.

  • Displaying the ScriptCase’s tables creation.

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

  • Setting up the user to access ScriptCase.

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

  • Finishing the custom installation

Finishing the custom installationFinishing the custom installation

  • Login Screen.

Login ScreenLogin Screen.

    • Related Articles

    • Installing PHP 7.0 - Windows

      This article explains PHP 7.0 and Apache 2.4 installation to ScriptCase use. Supported Operating Systems: Windows Server 2008 SP2 2008 R2 SP1 2012 2012 SP2 2016 Windows 7 SP1 Vista SP2 8 8.1 10 Necessary Files: PHP 7.0: Click Here Apache 2.4: Click ...
    • Installing PHP 7.0 - Linux

      This article describes PHP 7.0 and Apache 2.4 installation to ScriptCase use. Supported Operating Systems: Ubuntu Debian CentOS\RHEL OpenSuse Necessary Files: SourceGuardian Loader (ixed.7.0.lin): Click Here Setting Up PHP - Ubuntu Because of recent ...
    • 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 ...
    • 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 ...
    • Setting environment manually PHP 7.0 - Windows IIS

      First we will download the Microsoft Web Platform Installer, click here.  2. Then run and install the file you downloaded wpilauncher.exe  3. After installing the Microsoft Web Platform it would automatically open a window like the following: 4. As ...
    • Popular Articles

    • Examples for diagrams

      This tutorial shows how you can import and use the new examples for diagrams released with Scriptpcase V9.2.16.  The applications were created using the components: Jsmind, JKanban e Orgchart.  - Sample 1: Mind Map diagram Click here to  execute the ...
    • Oracle Connection - Scriptcase 9 - Linux 64 Bits

      This procedure will only work if you have a Scriptcase manual installation in your server. Installing PHP 7.0 Installing the Scriptcase Manually To connect with Oracle in a Linux System, we must follow these steps below: Step 1 -  Installing these ...
    • Using friendly URL

      The friendly URL was included from Scriptcase 7, in order to make the URL, of the applications generated by Scriptcase, cleaner and easier to associate them with applications. For example, using friendly URLs the link to a Scriptcase application ...
    • Correcting access error for the Scriptcase database

      Sometimes we encounter an error accessing the Scriptcase database itself, as shown in the image below:   This problem happens when we change the folder name of the scriptcase to another name, such as "sc". Then, the error happens because the complete ...
    • Necessary libraries to install the Scriptcase in Windows 7

      To install Windows 7 SP1, you need to verify that the system has the following items installed: * Visual C ++ Redistributable Packages for Visual Studio (2008) x86 and x64. * Visual C ++ Redistributable Packages for Visual Studio (2010) x86 and x64. ...