Spec-Zone.ru › CMake

FindPHP4

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

find_package(PHP4 [...])

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.

Result Variables

This module defines the following variables:

PHP4_FOUND

Boolean indicating whether PHP 4 was found.

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)

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/module/FindPHP4.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API