Setting environment manually PHP 5.4 - Linux

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

Install php

sudo apt-get install php5 php5-dev



Accept the installation of the dependencies.

Check php version by:
php-v


To enable the extensions:

mssql:
sudo apt-get install php5-mssql



postgresql:
sudo apt-get install php5-pgsql


mysql:
php5-mysql sudo apt-get install


sqlite:
sudo apt-get install php5-sqlite



firebird:
sudo apt-get install php5-interbase



odbc:
sudo apt-get install php5-odbc



Enabling GD library:
sudo apt-get install php5-gd


Do not forget to delete the php functions in disable_functions option to enable them.

Accept the installation of the dependencies.

Enabling ZendGuardLoader:
Download the file at the end of the tutorial.
At the end of the php.ini file add:

[Zend]
zend_extension = <complete_path/ZendGuardLoader.so>
zend_loader.enable = 1
zend_loader.disable_licensing = 0
zend_loader.license_path =

restart apache:
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start


Remember to perform the procedure below to enable the implementation of zendid:
ZendId

Web server:
/var/www/

ZendGuardLoader.so

    • Related Articles

    • 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 ...
    • Setting environment manually PHP 5.6 - Windows

      Installing a Manual PHP 5.6 Environment - Windows 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. Download the Apache 2.4 , mod_fcgid and PHP ...
    • Manual Update - Linux

      Before performing any procedure we recommend performing a backup of your projects. To back up Scriptcase: Go to Options > Settings, in the side menu go to Services > Backup. A file (.ZIP) will be generated with all your projects, save this file to a ...
    • Setting environment manually PHP 5.4 - CentOS

      This article describes how to install the PHP 5.4 on a CentOS 5 or CentOS 6 server 1. First, detect if any PHP packages are installed:      If packages are installed remove them, for example: 2. Add PHP 5.4 packages to yum using this command for ...
    • 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. ...