Ticket #1431 (new defect)

Opened 3 years ago

Build problem with PHP5 in configure.in

Reported by: franck@sopac.org Assigned to: mapserverbugs
Priority: highest Milestone:
Component: Build Problems Version: 4.6
Severity: major Keywords:
Cc:

Description

The configure.in file looks for the php_config.h file, which it founds in
/usr/include/php/main/ but then try to look for the string ZEND_API in this
file. Cannot find it and fail thinking we have php3

The php_config.h file contains an include to the real config file which is
located in /usr/include/multiarch-i386-linux/php/main/

contents of /usr/include/php/main in php5:
#define _MULTIARCH_HEADER php/main/php_config.h
#include <multiarch-dispatch.h>