- SEE ALSO
Makefile.PL - Makefile for PHP::Interpreter
# Set PHP_PREFIX (optional) PHP_PREFIX=/usr/local # Create makefile perl Makefile.PL
Valid environment variables are
The root directory of the PHP install, e.g. '/usr/local/' or 'C:\\php'.
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.
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.
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.