diff --git a/pg2mysql-1.9-php-5.5.patch b/pg2mysql-1.9-php-5.5.patch
new file mode 100644
index 0000000..1dca35c
--- /dev/null
+++ b/pg2mysql-1.9-php-5.5.patch
@@ -0,0 +1,38 @@
+diff -Nru pg2mysql-1.9.orig/pg2mysql.inc.php pg2mysql-1.9/pg2mysql.inc.php
+--- pg2mysql-1.9.orig/pg2mysql.inc.php 2011-07-20 18:24:04.000000000 +0200
++++ pg2mysql-1.9/pg2mysql.inc.php 2014-07-08 16:48:24.214418090 +0200
+@@ -126,11 +126,11 @@
+
+ }
+
+-function pg2mysql(&$input, $header=true)
++function pg2mysql($input, $header=true)
+ {
+ global $config;
+
+- if(is_array(&$input)) {
++ if(is_array($input)) {
+ $lines=$input;
+ } else {
+ $lines=split("\n",$input);
+diff -Nru pg2mysql-1.9.orig/pg2mysql.php pg2mysql-1.9/pg2mysql.php
+--- pg2mysql-1.9.orig/pg2mysql.php 2011-07-20 18:21:01.000000000 +0200
++++ pg2mysql-1.9/pg2mysql.php 2014-07-08 16:48:20.946422029 +0200
+@@ -32,7 +32,7 @@
+
+