                     PHP4Delphi library                       
PHP - Delphi interface and PHP extensions development framework                  
                           v.5.0                          

PHP4Delphi is a Delphi interface to PHP for Delphi 5, 6 and 7.
PHP4Delphi allows to execute the PHP scripts within the Delphi program 
directly without a WebServer. 
PHP4Delphi also contains PHP API and ZEND API and PHP extension visual
development framework.
This is a source-only release of php4Delphi. It includes
designtime and runtime packages for Delphi 5 through 7.
 

Before using php4Delphi library:

If you have no PHP installed, you have to download and 
install PHP separately. It is not included in the package.
You can download the latest version of PHP from
http://www.php.net/downloads.php

ZEND API documentation available at http://www.zend.com
PHP  API documentation available at http://www.php.net

You need to ensure that the dlls which php uses can be found. 
php4ts.dll is always used. If you are using any php extension dlls then you
will need those as well. 
To make sure that the dlls can be found, you can either copy them to the 
system directory (e.g. winnt/system32 or  windows/system).

Copy the file, php.ini-dist to your %WINDOWS% directory on
Windows 95/98 or to your %SYSTEMROOT% directory under Windows NT,
Windows 2000 or Windows XP and rename it to php.ini. Your %WINDOWS% or
%SYSTEMROOT% directory is typically:
c:\windows for Windows 95/98
c:\winnt or c:\winnt40 for NT/2000/XP servers

How to install php4Delphi library:

1. Delphi 5.x:

Uninstall previous installed version of php4Delphi Library from Delphi 5 IDE.
Remove previously compiled php4Delphi packages from your hard disk.

Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
package php4DelphiR5.dpk. In "Package..." window click "Compile" button to
compile packages php4DelphiR5.dpk. 
Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
"PATH" environment variable; 
for example, in the Windows\System directory).

After compiling php4Delphi run-time package you must install design-time
package into the IDE.

Use "File\Open..." menu item to open design-time package php4DelphiD5.dpk.
In "Package..." window click "Compile" button to compile the package
and then click "Install" button to register php4Delphi Library 
components on the component palette. 


2. Delphi 6.x:

Uninstall previous installed version of php4Delphi Library from Delphi 6 IDE.
Remove previously compiled php4Delphi packages from your hard disk.

Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
package php4DelphiR6.dpk. In "Package..." window click "Compile" button to
compile packages php4DelphiR6. 
Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
"PATH" environment variable; 
for example, in the Windows\System directory).

After compiling php4Delphi run-time package you must install design-time
package into the IDE.

Use "File\Open..." menu item to open design-time package php4DelphiD6.dpk.
In "Package..." window click "Compile" button to compile the package
and then click "Install" button to register php4Delphi Library 
components on the component palette. 

3. Delphi 7.x:

Uninstall previous installed version of php4Delphi Library from Delphi 7 IDE.
Remove previously compiled php4Delphi packages from your hard disk.

Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
package php4DelphiR7.dpk. In "Package..." window click "Compile" button to
compile packages php4DelphiR7.dpk. 
Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
"PATH" environment variable; 
for example, in the Windows\System directory).

After compiling php4Delphi run-time package you must install design-time
package into the IDE.

Use "File\Open..." menu item to open design-time package php4DelphiD7.dpk
In "Package..." window click "Compile" button to compile the package
and then click "Install" button to register php4Delphi Library 
components on the component palette. 

Since this is a freeware you are strongly encouraged to look 
at the source code and improve on the components if you want to. 
Of course I would appreciate it if you would send me back the 
changes and bug fixes you have made. 

For more information on the PHP Group and the PHP project,
please see <http://www.php.net>.


Author:                                              
Serhiy Perevoznyk                                     
Belgium
serge_perevoznyk@hotmail.com
http://users.chello.be/ws36637/

