Installing PHP 7.0 - Windows

Installing PHP 7.0 - Windows

This article explains PHP 7.0 and Apache 2.4 installation to ScriptCase use.

Supported Operating Systems:

  • Windows Server
    • 2008 SP2
    • 2008 R2 SP1
    • 2012
    • 2012 SP2
    • 2016
  • Windows
    • 7 SP1
    • Vista SP2
    • 8
    • 8.1
    • 10

Necessary Files:

NOTE: You should download PHP 7.0 NTS ( x86 or x64 ), Apache 2.4 ( x86 or x64 ) and mod_fcgi ( x86 or x64 ).

  • After downloading, extract the PHP and Apache files in your C: directory of your Operating System.
  • Rename the PHP folder to php and the Apache folder to Apache24.
  • Extract the modfcgi file, and copy the file mod_fcgid.so to the folder C:\Apache24\modules

Apache and PHP Directory

Setting up Apache

Edit the file httpd.conf located in C:\Apache24\conf\

  • Add the content below after the last line #LoadModule

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

Setting up httpd php fcgi

  • Still in the httpd.conf search for #ServerName www.example.com:80 and change to #ServerName localhost:80
  • Change the content of the directive<IfModule dir_module> according to the example below:

<IfModule dir_module> DirectoryIndex index.html index.php index.phtml </IfModule>

  • Add the text: Options ExecCGI on the directive Directory “c/:Apache24/htdocs”

Settung up httpd fcgi

  • Search for IfModule mime_module and add the content below: `<Directory “c:/php”> AllowOverride None Options None Require all granted

</Directory>`

Setting up httpd PHP directory

Apache Installation

  • Access the command prompt with the Administrator privileges and run the command below:
    • c:\Apache24\bin\httpd.exe -k install Installing Apache 2.4

IMPORTANT: If an error occurs, it might inform that the file msvcr110.dll is missing, so you can download the file by clicking here. Extract and place the file within the directory: C:\Windows\System and C:\Windows\System32. Rerun the command in the prompt.

Setting up PHP

  • Access the PHP folder in C:\ and rename the php.ini-development file to php.ini
  • Edit the php.ini file, search for extension_dir and assign this value “C:\php\ext” PHP extension
  • Activate this extensions listed below (You just need to remove the (;) from the start of each line) extension=php_bz2.dll extension=php_curl.dll extension=php_gd2.dll extension=php_imap.dll extension=php_interbase.dll extension=php_ldap.dll extension=php_mbstring.dll extension=php_exif.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_oci8.dll extension=php_pdo_firebird.dll extension=php_pdo_mssql.dll extension=php_pdo_mysql.dll extension=php_pdo_oci.dll extension=php_pdo_odbc.dll extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll extension=php_pgsql.dll extension=php_pspell.dll extension=php_shmop.dll extension=php_sqlite.dll extension=php_sqlite3.dll extension=php_xmlrpc.dll extension=php_xsl.dll extension=php_zip.dll

Important note: By default some PHP functions are disabled, but they are important to ScriptCase. Access the php.ini file and change the item disable_functions according to the example below: disable_functions= ““

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

  • Save all these modifications.
  • Restart the Apache service using the command (Use this command in a cmd with the Administrator privileges.):
    • c:\Apache24\bin\httpd.exe -k restart

Enabling SourceGuardian Loader

  • Extract the file downloaded.
  • Copy the ixed.7.0.win file to the folder c:\php\ext.
  • Edit the php.ini file, at the end place the content below:
  • [SourceGuardian] zend_extension=C:\php\ext\ixed.7.0.win

  • Restart the Apache service using this command (Use this command in a cmd with the Administrator privileges.): c:\Apache24\bin\httpd.exe -k restart

Scriptcase Manual Installation

  • Download ScriptCase with the extension zip at www.scriptcase.net and extract it on the root of your web server.
  • After extracting, rename the folder to scriptcase.
  • Access Scriptcase from your browser using the URL below:
  • By default, the selected language is English.

Installation's initial pageBy 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 ScreenLogin 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 installationOn this option, the user will choose the settings for the installation.

  • Verify the system’s directory permissions.

Verify the system's directory permissionsVVerify 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 inWe can choose the database that ScriptCase will use to store the data in.

  • Displaying the ScriptCase’s tables creation.

Displaying the ScriptCase's tables creationDisplaying the ScriptCase’s tables creation.

  • Setting up the user to access ScriptCase.

Setting up the user to access ScriptCaseSetting up the user to access ScriptCase.

  • Finishing the custom installation

Finishing the custom installationFinishing the custom installation

  • Login Screen.

Login ScreenLogin Screen.

    • Related Articles

    • 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 ...
    • Installing PHP 7.0 - Linux

      This article describes PHP 7.0 and Apache 2.4 installation to ScriptCase use. Supported Operating Systems: Ubuntu Debian CentOS\RHEL OpenSuse Necessary Files: SourceGuardian Loader (ixed.7.0.lin): Click Here Setting Up PHP - Ubuntu Because of recent ...
    • Installing PHP 7.0 - Mac

      This article describes the PHP 7.0 and Apache 2.4 installation to ScriptCase use. Supported Operating Systems: Mac El Captain Sierra Necessary Files: SourceGuardian Loader: Click Here Setting up PHP Access the terminal (shell) and execute the command ...
    • 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 ...
    • Configurando ambiente manualmente PHP 5.4 - Windows IIS

      Neste artigo veremos como instalar o IIS 7.5 junto com o PHP 5.4 no Windows Server 2008 R2 1. Primeiramente vamos baixar o Microsoft Web Platform Installer, clique aqui. 2. Logo execute e instale o arquivo que você baixou wpilauncher.exe 3. Depois de ...
    • 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. ...