Open topic with navigation

Installing a Manual PHP 5.6 Environment - Windows


This article will explain how to install and setup a PHP 5.6 environment with Apache 2.4 so that it will run Scriptcase.

Follow the steps below with caution.


Download the Apache 2.4 , mod_fcgid and PHP 5.6 on the following links:

Apache download

mod_fcgid download

PHP 5.6 download

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


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

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

Extract the Mod fcgid, 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 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 Apache using the command c:\apache24\bin\httpd.exe -k restart in the CMD.


installing Scriptcase Manually


Download the Scriptcase with the extension zip at and extract the zip in the root of the Web Server which was installed previously (C:\Apache24\htdocs).

After extracting the zip, rename the folder to scriptcase.


Access Scriptcase from your browser using the example below:



The page below shows the options of the installing language of ScriptCase.


Here it checks the extensions installed. If you mark the check-boxes of the extensions not installed, it will try to configure the php.ini file to recognize the extensions selected.




Now you can choose to do a Typical Installation or a Customized Installation.

Typical Installation


Scriptcase will install everything automatically. After choosing the Typical Installation, you'll be redirected automatically to your Scriptcase development environment. By default the user-name is: admin and the password is: admin.


Customized Installation


You can choose what database Scriptcase will use to install and choose the default username and password to access your development environment.

Scriptcase needs some permissions to work properly , at this moment it checks the permissions.

Note: For IIS Web Server, it is necessary to grant permissions to Write, Read & Execute for the user IUSR_SERVERNAME, on the directories:

1 - Directory of the installed PHP.
2 - Directory of ScriptCase.
3 - And the cmd.exe of Windows.

This step consists in defining the database that ScriptCase will be installed. The default option is SQLite, that requires only the module to be active in PHP, but it's possible to install on others databases by clicking on 'Change Database'. Going to the next step the tables will be created.

The tables were created with success.


Here you will create the login and the password for the administrator of ScriptCase.


If everything was ok in the installation, the following page will show. Click on Next to start Scriptcase.


The login page of Scriptcase with the user-name and password previously defined.