Feedback Print

Installing PHP 7.0 - Linux

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

Supported Operating Systems:

  • Linux
    • Debian
    • CentOS\RHEL
    • OpenSuse

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:
    • apt-get install php7.0 php7.0-dev php7.0-cli

Accept the installation dependencies.

  • Verify the PHP version by executing the command below:
    • php -v

Important: By default some PHP functions are disabled, but they are important for ScriptCase. Access the php.ini file (/etc/php/7.0/apache2/php.ini) and change this item disable_functions according to the exemple below:

Setting up the disable_functions of PHP

Setup the TimeZone according to your region. You need to use the value available at the PHP documentation Click Here to view

Activating the Database’s Extensions:

  • PostgreSQL:
    • apt-get install php7.0-pgsql
  • MySQL:
    • apt-get install php7.0-mysql
  • SQLite:
    • apt-get install php7.0-sqlite
  • FireBird:
    • apt-get install php7.0-interbase
  • ODBC:
    • apt-get install php7.0-odbc

Activating the GD library

This library is necessary to render the images.

  • Use the command below:
    • apt-get install php7.0-gd

Accept the installation dependencies.

Enabling SourceGuardian Loader

  • Create a folder to place the file ixed.7.0.lin
    • sudo mkdir /usr/lib/php/20151012/sourceguardian
  • Copy the file ixed.7.0.lin that was downloaded according to your architecture to the folder /usr/lib/php/20151012/sourceguardian
    • cp ixed.7.0.lin /usr/lib/php/20151012/sourceguardian
  • Configure the permission to Total Control for this folder:
    • chmod 777 -R /usr/lib/php/20151012/sourceguardian
  • Edit the php.ini file and add the content below to the end of the file:
    • [SourceGuardian] zend_extension=/usr/lib/php/20151012/sourceguardian/ixed.7.0.lin
  • Restart the Apache service using the command below:
    • sudo /etc/init.d/apache2 restart

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.