Icon Installation and Configuration

System Requirements
The ElevateDB PHP Extension works on any version of Windows, and requires PHP 5.2 or higher. The extension was tested using PHP 5.2 and higher for Windows and Linux with Apache HTTP Server 2.2 and 2.4.

Installing the Extension
Running the setup application provided with the ElevateDB PHP Extension will install all relevant files into the destination installation directory. However, you will still have to copy the proper extension DLL into the PHP extension directory, and modify the php.ini file to make sure that the extension is registered properly. The following steps will guide you through this process:

1. There are many different versions of the ElevateDB PHP Extension found in the subdirectories under the \libs subdirectory under the main ElevateDB PHP Extension installation directory. Each version's directory is specified as follows:

php-<PHP Version>-<Windows Compiler>

Information Only certain PHP versions require a Windows compiler designation.

Under each of these directories are subdirectories for the target platform, which are currently either "win32" or "linux-i386". The PHP extension is currently only available as a 32-bit binary, but will at some point in the future be ported to a 64-bit architecture.

For example, to copy the ElevateDB PHP Extension for PHP 5.3 from the default installation directory under Windows to the PHP extension directory for use with the Apache web server, one would use the following command-line command:

copy "C:\Program Files\ElevateDB 2 PHP-STD\libs\php-5.30-vc6\win32\php_edb.dll" "C:\php\ext"

2. The next step is to make sure that the ElevateDB PHP Extension is registered in the php.ini file. To do so, add the following lines to the end of the php.ini file:

[PHP_EDB]
extension=php_edb.dll

3. You can test to see if the extension was installed correctly by running the following script using a local instance of your web server:

<?php phpinfo(); ?>

This script should result a section of the PHP configuration entitled "edb" with a table that includes the following information:

ElevateDB 2 PHP Extension - Enabled

If this section and table is present, then the ElevateDB PHP Extension is installed properly and is ready to be used in your PHP scripts.

Installing the Extension with RadPHP
RadPHP from Embarcadero Technologies currently uses PHP 5.2, so please use the PHP 5.2 version of the ElevateDB PHP Extension. Also, when using the ElevateDB PHP Extension with RadPHP you will need to edit the php.ini.template file instead of the php.ini file in the \php subdirectory under the main installation directory for RadPHP. This is because the php.ini.template file is copied to a user-specific php.ini file every time the IDE is started.
Image