Setting environment manually PHP 5.6 - Linux

Setting environment manually PHP 5.6 - Linux

Installing a Manual PHP 5.6 Environment - Linux

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.

Note: This article was based on the Debian Jessie distribution

Installing the PHP 5.6

Use the following command to install PHP 5.6

sudo apt-get install php5-dev php5-cli php5 php5-pear


Accept the installation of the dependents.


Verify the PHP version with the command:

php -v

Important: By default, the PHP has some disabled functions that'll be necessary for Scriptcase. So, access your php.ini (/etc/php5/apache2/php.ini)  and change the variable line  disable_functions  according to the example:


To enable the databases, we've selected some installation command examples:

MSSQL Server  use this command  sudo apt-get install php5-mssql



PostgreSQL  use this command  sudo apt-get install php5-pgsql



MySQL  use this command  sudo apt-get install php5-mysql



SQLite  use this command  sudo apt-get install php5-sqlite



Firebird  use this command  sudo apt-get install php5-interbase


Odbc  use this command  sudo apt-get install php5-odbc

Activating the GD library

 

Use the command  sudo apt-get install php5-gd  to activate the GD library.

Accept the installation of the dependants.

 

Activate Zend Guard Loader

Download the  Zend Guard Loader  for linux, on link below and place the so in  /usr/lib/php5/Zend .

Download ZendGuardLoader

 

Set the permissions 777 recursive on the folder  /usr/lib/php5/Zend

sudo chmod 777 -R /usr/lib/php5/Zend

 

Open the  php.ini  (/etc/php5/apache2/php.ini) and at the end of the file, add the line:

[zend]
zend_extension=/usr/lib/php5/Zend/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.license_path=

 

After this procedure restart the Apache using the command:
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start


    • Related Articles

    • 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 ...
    • Installing PHP 7.3 - macOS

      This documentation will cover how to install PHP 7.3 and ScriptCase manually on macOS. Performing this type of installation is your responsible for configuring your entire environment as well as database extensions. Listed below are versions of macOS ...
    • Manual Update - Linux

      Before performing any procedures, we recommend backing up your projects. To back up Scriptcase: Go to Settings > Administration, and in the side menu, access Services > Backup. A .ZIP file will be generated with all your projects — save this file in ...
    • Installing Scriptcase with PHP 7.3 on Windows

      This documentation will walk you through the steps necessary to install PHP 7.3, Apache 2.4, and Scriptcase manually. When performing this type of installation, you are responsible for configuring your entire environment as well as database ...
    • Setting environment manually PHP 8.1 - Windows IIS

      Install IIS on Windows Server 1) On the Start page, click the Server Manager tile. 2) In Server Manager, select Dashboard, and click Add roles and features. 3) In the Add Roles and Features Wizard, on the Before You Begin page, click Next. 4) On the ...