diff --git a/programming/php/php/actions.py b/programming/php/php/actions.py
index 4d80ec8ce5..2ab60ddc93 100644
--- a/programming/php/php/actions.py
+++ b/programming/php/php/actions.py
@@ -65,8 +65,8 @@ def setup():
# Don't touch apache.conf
for i in pisitools.ls("sapi/*/config.m4"):
- pisitools.dosed(i, "\\-i \\-a \\-n php5", "-i -n php5")
- pisitools.dosed(i, "\\-i \\-A \\-n php5", "-i -n php5")
+ pisitools.dosed(i, "\\-i \\-a \\-n php7", "-i -n php7")
+ pisitools.dosed(i, "\\-i \\-A \\-n php7", "-i -n php7")
autotools.autoconf()
diff --git a/programming/php/php/files/70_mod_php7.conf b/programming/php/php/files/70_mod_php7.conf
new file mode 100644
index 0000000000..e622bae617
--- /dev/null
+++ b/programming/php/php/files/70_mod_php7.conf
@@ -0,0 +1,19 @@
+LoadModule php7_module modules/libphp7.so
+
+AddHandler php7-script .php
+
+# Set it to handle the files
+
+ AddType application/x-httpd-php .php
+ AddType application/x-httpd-php .phtml
+ AddType application/x-httpd-php .php3
+ AddType application/x-httpd-php .php4
+ AddType application/x-httpd-php .php5
+ AddType application/x-httpd-php-source .phps
+
+
+#
+# Add index.php to the list of files that will be served as directory
+# indexes.
+#
+DirectoryIndex index.php index.phtml
diff --git a/programming/php/php/pspec.xml b/programming/php/php/pspec.xml
index 3df5e06fda..05f0e29680 100644
--- a/programming/php/php/pspec.xml
+++ b/programming/php/php/pspec.xml
@@ -10,9 +10,9 @@
PHPlibrary
- PHP5 is an HTML-embedded scripting language. The goal of the language is to allow web developers to write dynamically generated pages quickly
- PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
- http://us2.php.net/distributions/php-5.6.30.tar.bz2
+ PHP7 is an HTML-embedded scripting language. The goal of the language is to allow web developers to write dynamically generated pages quickly
+ PHP7 is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
+ http://us2.php.net/distributions/php-7.2.0.tar.bz2gd-develharfbuzz-devel
@@ -36,10 +36,10 @@
openssl-devel
- int_overflow_in_mt_rand.patch
- stack_buffer_overflow_in_imagepstext.patch
- denial_of_service_in_getArchiveComment.patch
- php-imap-myrights.diff
+
+
+
+
db6.patch
@@ -89,7 +89,7 @@
/usr/lib/php/modules
- /usr/share/php5
+ /usr/share/php7/etc/php/ext
@@ -130,12 +130,12 @@
libjpeg-turbo
- /usr/lib/apache2/modules/libphp5.so
+ /usr/lib/apache2/modules/libphp7.so/etc/apache2/etc/php/apache2
- 70_mod_php5.conf
+ 70_mod_php7.conf
@@ -191,6 +191,7 @@
/usr/sbin/php-fpm/usr/share/man/man8/php-fpm.8/etc/php/ext/php-fpm.conf
+ /etc/php-fpm.d/www.conf.default/usr/share/fpm/run/var/log
@@ -205,6 +206,13 @@
+
+ 2017-12-24
+ 7.2.0
+ Version Bump
+ Mustafa Cinasal
+ muscnsl@gmail.com
+ 2017-06-065.6.30
@@ -227,4 +235,4 @@
kaptan@pisilinux.org
-
\ No newline at end of file
+
diff --git a/programming/php/php/translations.xml b/programming/php/php/translations.xml
index 57c0eea258..49f78eca53 100644
--- a/programming/php/php/translations.xml
+++ b/programming/php/php/translations.xml
@@ -3,8 +3,8 @@
phpDinamik HTML sayfaları oluşturmak için kullanılan bir programlama dili
- PHP5, dinamik HTML sayfaları oluşturmak için kullanılan bir programlama dilidir. Dil yapısının önemli bir kısmı C, Java ve Perl'den alınmıştır. Bu dilin amacı, web geliştiricilerinin kısa zamanda dinamik sayfalar oluşturmasına imkan vermektir.
- PHP5 es un languaje interpretado que puede estar embebido en HTML. Muchas partes de su sintaxis fueron prestados de C, Java y Perl con algunas facilidades agregados únicas de PHP. El lenguaje permite a desarrolladores web escribir de manera sencilla páginas con contenido dinámico.
+ PHP7, dinamik HTML sayfaları oluşturmak için kullanılan bir programlama dilidir. Dil yapısının önemli bir kısmı C, Java ve Perl'den alınmıştır. Bu dilin amacı, web geliştiricilerinin kısa zamanda dinamik sayfalar oluşturmasına imkan vermektir.
+ PHP7 es un languaje interpretado que puede estar embebido en HTML. Muchas partes de su sintaxis fueron prestados de C, Java y Perl con algunas facilidades agregados únicas de PHP. El lenguaje permite a desarrolladores web escribir de manera sencilla páginas con contenido dinámico.