The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  Makefile.PL - Makefile for PHP::Interpreter

SYNOPSIS

  # Set PHP_PREFIX (optional)
  PHP_PREFIX=/usr/local

  # Create makefile
  perl Makefile.PL
  

OPTIONS

Valid environment variables are

PHP_PREFIX

The root directory of the PHP install, e.g. '/usr/local/' or 'C:\\php'.

PHP_CONFIG

The executable used to set up the PHP environment, e.g. '/usr/local/bin/php-config'. Default is to just set it to 'php-config', which means it must be in your PATH. In case of more than one matching file, then the first one will be used.

DESCRIPTION

This creates a makefile for PHP::Interpreter. PHP::Interpreter depends on having both PHP and PHP sources installed.

This script uses the executable php-config to determine how PHP is configured. This script will die unless php-config is installed.

PHP::Interpreter works with PHP5 only.

This script will perform header files check if module File::Find is installed.

TROUBLESHOOTING

PHP5 LIBRARIES NOT FOUND

If the php5 libraries cannot be found, then the install will not work:

  Note (probably harmless): No library found for -lphp5 

You can resolve this problem by setting PHP_PREFIX to the root directory of you PHP install. Do also make sure that your install of PHP is compiled as described in the the README file.

SEE ALSO

  php
  php-config