O.K.! I fixed the problem by my self.
Here is my patch for Debian Jessie 8.1 PHP 5.6.x
From f728b101e1a1f0a4497aeb1ce9487502d9f38bc1 Mon Sep 17 00:00:00 2001
From: Henry Schorradt <h.schorradt@kaphingst.de>
Date: Thu, 25 Jun 2015 13:44:56 +0200
Subject: [PATCH] Patch Debian 8.1 PHP 5.6.x
---
setup.files/pdo_ext/advantage_driver.c | 4 ++--
setup.files/pdo_ext/advantage_statement.c | 4 ++--
setup.files/pdo_ext/pdo_advantage.c | 4 ++--
setup.pl | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/setup.files/pdo_ext/advantage_driver.c b/setup.files/pdo_ext/advantage_driver.c
index 90bf566..a77805f 100644
--- a/setup.files/pdo_ext/advantage_driver.c
+++ b/setup.files/pdo_ext/advantage_driver.c
@@ -30,8 +30,8 @@
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
-#include "pdo/php_pdo.h"
-#include "pdo/php_pdo_driver.h"
+#include "ext/pdo/php_pdo.h"
+#include "ext/pdo/php_pdo_driver.h"
#include "php_pdo_advantage.h"
#include "php_pdo_advantage_int.h"
#include "zend_exceptions.h"
diff --git a/setup.files/pdo_ext/advantage_statement.c b/setup.files/pdo_ext/advantage_statement.c
index 2d3666e..1accc8a 100644
--- a/setup.files/pdo_ext/advantage_statement.c
+++ b/setup.files/pdo_ext/advantage_statement.c
@@ -49,8 +49,8 @@ typedef unsigned long long uint64_t;
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
-#include "pdo/php_pdo.h"
-#include "pdo/php_pdo_driver.h"
+#include "ext/pdo/php_pdo.h"
+#include "ext/pdo/php_pdo_driver.h"
#include "php_pdo_advantage.h"
#include "php_pdo_advantage_int.h"
#include "zend_exceptions.h"
diff --git a/setup.files/pdo_ext/pdo_advantage.c b/setup.files/pdo_ext/pdo_advantage.c
index 12d06f3..8a10f6e 100644
--- a/setup.files/pdo_ext/pdo_advantage.c
+++ b/setup.files/pdo_ext/pdo_advantage.c
@@ -26,8 +26,8 @@
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
-#include "pdo/php_pdo.h"
-#include "pdo/php_pdo_driver.h"
+#include "ext/pdo/php_pdo.h"
+#include "ext/pdo/php_pdo_driver.h"
#include "php_pdo_advantage.h"
#include "php_pdo_advantage_int.h"
#include "php_pdo_advantage_ver.h"
diff --git a/setup.pl b/setup.pl
index d28f792..66f25e6 100644
--- a/setup.pl
+++ b/setup.pl
@@ -1331,11 +1331,11 @@ sub Get32BitLibDir
# if the architecture is 64-bit, and /usr/lib32 exists, return that directory
if ( $architecture =~ "x86_64" )
{
- if ( ( -e "/usr/lib32/" ) &&
+ if ( ( -e "/usr/lib64/" ) &&
( ( -e "/etc/debian_version" ) ||
( -e "/etc/debian_release" ) ) )
{
- return "/usr/lib32/";
+ return "/usr/lib64/";
}
else
{
--
1.9.5.msysgit.0