Andreas Faafeng > PHP-Interpreter > Makefile.PL

Download:
PHP-Interpreter-1.0.2.tar.gz

Annotate this POD

CPAN RT

New  7
Open  2
View/Report Bugs
Source  

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
syntax highlighting: