Setting environment manually PHP 5.6 - Windows

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 5.6 on the followinh links:

Apache download

mod_fcgid download

PHP 5.6 download

Note: The PHP that should be downloaded is the Non Thread Safe and all the downloads needs to be in the 32-bit architect.

After downloading the Apache and the PHP 5.4, extract both of them on the root of the C:\ Drive

Rename the folders to Apache24 and PHP, like the example below:

Extract the Mod fcgid, and copy the file and paste it in the directory C:/Apache24/modules

Setting up the Apache

Open the file C:/Apache24/conf/httpd.conf and add the following lines above the line IfModule unixd_module of the file:

LoadModule fcgid_module modules/
FcgidInitialEnv PHPRC "c:/php"
AddHandler fcgid-script .php
FcgidWrapper "c:/php/php-cgi.exe" .php

In the same file search for #ServerName and change it to ServerName localhost:80

Search for:
<IfModule dir_module>
    DirectoryIndex index.html

And change it to
<IfModule dir_module>
    DirectoryIndex index.html index.php index.phtml


Add the text: Options ExecCGI in the option Directory "c/:Apache24/htdocs"

Search for IfModule mime_module above this option, add the text below:

Adding the service of the Apache in Windows

Open the Command Prompt(CMD) as Administrator and type the following command:

c:\apache24\bin\httpd.exe -k install


Important: In case of an error, and you're informed that the file msvcr110.dll is missing, you can download the file clicking here. Extract and place the file in the directory : C:\Windows\System e C:\Windows\System32. Run the command again in the command prompt(CMD).


Setting up the PHP 5.6

Open the folder C:\php and rename the file php.ini-development to php.ini.

Now open the file php.ini (C:\php), and search for the variable extension_dir and set the value "C:/php/ext" like the image below.

Remove the comments of the extensions listed below. (To uncomment the extensions, just remove the ";" from the starting point of each extension)



























Set-up the TimeZone according to your region following the list that's available at the php website. Still with the php.ini opened look for the variable date.timezone and insert a value available in the list.

Save all the modifications done in the php.ini and close it.

Restart the Apache running the command c:\apache24\bin\httpd.exe -k restart

Activating the Zend Guard Loader

Download the Zend Guard Loader dll for Windows, on link below and place the dll in the C:/php/ext.

Download ZendGuardLoader

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


After this procedure restart the Apache using the command c:\apache24\bin\httpd.exe -k restart in the CMD

    • 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 all wheezy Update your system: sudo apt-get update ...
    • 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.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 5.6 - CentOS

      This article describes how to install PHP 5.6 on a CentOS 6 or CentOS 7 server Access the terminal (as root) and run the commands below, according to the version of your system: CentOS/RHEL 7.x: rpm -Uvh ...
    • 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 | bash -s 5.4 Installation path: /usr/local/php5 Run in the terminal: sudo nano ...
    • Popular Articles

    • Bibliotecas necesarias para instalar Scriptcase en Windows 7

      Para instalar Windows 7 SP1, debe verificar que el sistema tenga instalados los siguientes elementos: * Visual C ++ Redistributable Packages for Visual Studio (2008) x86 and x64. * Visual C ++ Redistributable Packages for Visual Studio (2010) x86 and ...
    • Cómo conectarse a MySQL 8.0

      MySQL 8 usa una autenticación diferente que sus antecesores, que hasta el momento no es aceptada por PHP 7, que genera el error "El servidor solicitó un método de autenticación desconocido para el cliente" al conectarse a Scriptcase. Primero, debe ...
    • Actualización Manual - Windows

      Antes de realizar cualquier procedimiento recomendamos la realización de una copia de seguridad de sus proyectos. Para realizar la copia de seguridad de Scriptcase: Acceda a Configuración> Administración, en el menú lateral acceda a Servicios> Copia ...
    • Resetting the Production Environment Password

      Importante: al realizar este procedimiento, se perderán todas las configuraciones del entorno de producción. En este artículo veremos cómo reconfigurar la contraseña del entorno de producción, ya que no existe una opción para “Olvidé mi contraseña”. ...
    • La generación de PDF muestra mensaje: 'Not Found'

      Siga los pasos para corregir el error "Not Found" al generar el PDF. Primer paso: Navega a la carpeta tmp en tu carpeta de publicaciones. Ej: /pasta_publicacao/_lib/tmp Abra el archivo .log, que se generó con el nombre de su PDF. Guarde su contenido. ...