diff --git a/programming/php/php8/actions.py b/programming/php/php8/actions.py
index 0c71f374d5..10b3de14fb 100644
--- a/programming/php/php8/actions.py
+++ b/programming/php/php8/actions.py
@@ -13,18 +13,17 @@ def extensions():
configure_disabled = []
configure_enabled = [
- 'exif', 'ftp', 'soap', 'sockets', 'bcmath',
- 'dom', 'wddx', 'tokenizer', 'simplexml', 'mbstring', 'calendar',
- 'gd-native-ttf', 'gd'
+ 'dom', 'wddx', 'tokenizer', 'simplexml', 'mbstring',
+ 'gd-native-ttf'
]
configure_shared = [
- 'dba', 'embedded-mysqli', 'zip', 'gd'
+ 'calendar', 'bcmath','sockets', 'exif', 'dba', 'gd', 'ftp', 'soap'
]
configure_with = [
- 'bz2', 'curl', 'iconv', 'mysql', 'mysqli', 'kerberos', 'sqlite3',
- 'xsl', 'gdbm', 'db', 'ldap', 'gd', 'gettext',
- 'regex=php', 'pic', 'pcre-regex', 'pgsql', 'pdo-mysql', 'pdo-pgsql',
- 'openssl'
+ 'mysql', 'kerberos', 'gdbm', 'db', 'regex=php', 'pic', 'external-pcre', 'pcre-regex', 'openssl'
+ ]
+ configure_with_shared = [
+ 'pgsql', 'gettext', 'ldap', 'xsl', 'pdo-pgsql', 'pdo-mysql', 'iconv', 'bz2', 'curl', 'gmp', 'jpeg', 'mysqli', 'sqlite3', 'zip', 'pdo-sqlite'
]
configure_without = []
@@ -39,6 +38,8 @@ def extensions():
conf.append("--with-%s" % i)
for i in configure_without:
conf.append("--without-%s" % i)
+ for i in configure_with_shared:
+ conf.append("--with-%s=shared" % i)
return ' '.join(conf)
@@ -106,6 +107,7 @@ def setup():
shelltools.cd("fcgi")
autotools.configure("--enable-cgi \
--disable-cli \
+ --enable-embed=shared \
--with-config-file-path=/etc/php/cli \
--with-config-file-scan-dir=/etc/php/cli/ext \
%s \
@@ -123,6 +125,7 @@ def setup():
shelltools.cd("../fpm")
autotools.configure("--enable-fpm \
--disable-cli \
+ --enable-embed=shared \
--with-fpm-user=apache \
--with-fpm-group=apache \
--with-config-file-path=/etc/php/apache2 \
@@ -134,6 +137,7 @@ def setup():
shelltools.cd("../common")
autotools.configure("--enable-cli \
--enable-phpdbg \
+ --enable-embed=shared \
%s \
%s" % (common_options, extensions()))
@@ -191,8 +195,8 @@ def install():
pisitools.dosym("/etc/php/ext/10-php-zip.ini", "/etc/php/cli/ext/10-php-zip.ini")
# Operations for php-imap package
- pisitools.dosym("/etc/php/ext/11-php-imap.ini", "/etc/php/cli/ext/11-php-imap.ini")
- pisitools.dosym("/etc/php/ext/11-php-imap.ini", "/etc/php/apache2/ext/11-php-imap.ini")
+ # pisitools.dosym("/etc/php/ext/11-php-imap.ini", "/etc/php/cli/ext/11-php-imap.ini")
+ # pisitools.dosym("/etc/php/ext/11-php-imap.ini", "/etc/php/apache2/ext/11-php-imap.ini")
# Move /var/run to run
pisitools.domove("/var/run", "/")
@@ -207,4 +211,5 @@ def install():
pisitools.remove("/.filemap")
pisitools.removeDir("/.channels")
pisitools.removeDir("/.registry")
+ pisitools.remove("/usr/lib/libphp.so")
diff --git a/programming/php/php8/pspec.xml b/programming/php/php8/pspec.xml
index 2f6556e247..9053b9f8da 100644
--- a/programming/php/php8/pspec.xml
+++ b/programming/php/php8/pspec.xml
@@ -12,7 +12,7 @@
library
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.
- https://www.php.net/distributions/php-8.3.15.tar.xz
+ https://www.php.net/distributions/php-8.4.10.tar.xz
gd-devel
re2c
@@ -88,10 +88,18 @@
Common config files for PHP
db
- gd
+ gd
pam
gdbm
mit-kerberos
+
+ gmp
+ curl
+ bzip2
+ sqlite
+ libxslt
+ openldap-client
+ postgresql-server
@@ -189,10 +197,11 @@
openssl
e2fsprogs
oniguruma
+ libpcre2
/usr/lib/apache2/modules/libphp.so
- /etc/apache2
+ /etc/apache2/modules.d/70_mod_php.conf
/etc/php/apache2
@@ -222,7 +231,7 @@
-
+
php8-fpm
@@ -287,6 +296,13 @@
+
+ 2025-07-18
+ 8.4.10
+ Version bump.
+ Pisi Linux Community
+ admin@pisilinux.org
+
2024-12-24
8.3.15