# FindPHP4

Finds PHP version 4, a general-purpose scripting language.

Note

This module is specifically for PHP version 4, which is obsolete and no longer supported. For modern development, use a newer PHP version.

This module checks if PHP 4 is installed and determines the locations of the include directories and the PHP command-line interpreter.

## Cache Variables

The following cache variables may also be set:

`PHP4_INCLUDE_PATH`

  The directory containing `php.h` and other headers needed to use PHP.

`PHP4_EXECUTABLE`

  The full path to the `php` command-line interpreter executable.

## Examples

Finding PHP:

    find_package(PHP4)