$ perl Makefile.PL using php version 5.2.4-2ubuntu5 using prefix /usr using includes -I/usr/include -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 using lddlflags -shared -L/usr/local/lib -L/usr/lib -L/usr/lib using libs -L/usr/lib -lphp5 Checking header files... using incdir '/usr/include' using incdir '/usr/include/php5' using incdir '/usr/include/php5/main' using incdir '/usr/include/php5/TSRM' using incdir '/usr/include/php5/Zend' using incdir '/usr/include/php5/ext' using incdir '/usr/include/php5/ext/date/lib' Found /usr/include/php5/Zend/zend.h Found /usr/include/php5/Zend/zend_ini.h Found /usr/include/php5/Zend/zend_interfaces.h Found /usr/include/php5/Zend/zend_compile.h Found /usr/include/php5/Zend/zend_API.h Found /usr/include/php5/TSRM/TSRM.h Found /usr/include/php5/main/php.h Found /usr/include/php5/main/php_config.h Found /usr/include/php5/main/php_ini.h Found /usr/include/php5/main/SAPI.h Found /usr/include/php5/main/php_main.h Note (probably harmless): No library found for -lphp5 Writing Makefile for PHP::Interpreter