diff --git a/PKGBUILD b/PKGBUILD
index 8e369d4fc41ca40a67ca4fceae608d59d35143d6..7246a8e4fe46bb4820a4ab53d0343feb27c3da3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ pkgname=('php'
          'php-sqlite'
          'php-tidy'
          'php-xsl')
-pkgver=8.2.14
+pkgver=8.3.1
 pkgrel=1
 arch=('x86_64')
 license=('PHP')
@@ -29,16 +29,16 @@ makedepends=('apache' 'aspell' 'enchant' 'gd' 'gmp' 'icu' 'libsodium' 'libxslt'
 checkdepends=('procps-ng')
 source=("https://php.net/distributions/${pkgbase}-${pkgver}.tar.xz"{,.asc}
         'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch')
-sha256sums=('763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583'
+sha256sums=('56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758'
             'SKIP'
             '702b163c66c65af92dcad8d79f41bda84bcd5d863235fcf1497c33a86db9e4ca'
             '4a2add00d93fa991ccdf6356090264c1059c79935642afff6e8d4a2107fa037e'
             '78b8074461cdfc5d4e0ba428a8387f308d60720c8ad35c6176801e5088f02090'
             '640dba0d960bfeaae9ad38d2826d3f6b5d6c175a4d3e16664eefff29141faad5'
-            '70cba88753160fe5e7fe8429ea5aa7a9f8327d7a069a8c846e3249bb88f854e1')
+            'bf1de5ae6014f0593dacca2c046eb5a2d7c179733859854713b6813ebc629b08')
 validpgpkeys=('1198C0117593497A5EC5C199286AF1F9897469DC'
-              '39B641343D8C104B2B146DC3F9C39DC0B9698544'
-              'E60913E4DF209907D8E30D96659A97C9CF2A795A')
+              'AFD8691FDAEDF03BDF6E460563F15A9B715376CA'
+              'C28D937575603EB4ABB725861C0779DC5C0A9DE4')
 _interpreter=${pkgver%.*}
 
 prepare() {
diff --git a/php.ini.patch b/php.ini.patch
index 49255fd554ae05ee95a571180622d4cf5ed4c7f9..a5a2fc8e083a75f9ccc3c8f8c3c32b85b81dc854 100644
--- a/php.ini.patch
+++ b/php.ini.patch
@@ -1,6 +1,6 @@
 --- php.ini-production.orig
 +++ php.ini-production
-@@ -765,7 +765,7 @@
+@@ -775,7 +775,7 @@
  
  ; Directory in which the loadable extensions (modules) reside.
  ; https://php.net/extension-dir
@@ -9,7 +9,7 @@
  ; On windows:
  ;extension_dir = "ext"
  
-@@ -913,57 +913,43 @@
+@@ -923,57 +923,43 @@
  ; deprecated in a future PHP major version. So, when it is possible, please
  ; move to the new ('extension=<ext>) syntax.
  ;