Hello all,
moved my site from my old server to my new one, aaaand now my site is down.
Error msg is -
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /usr/share/apache2/html/cpg15x/include/init.inc.php:64 Stack trace: #0 /usr/share/apache2/html/cpg15x/index.php(25): require() #1 {main} thrown in /usr/share/apache2/html/cpg15x/include/init.inc
Original Server
PHP 7.3.31-1~deb10u4 (cli) (built: Jun 19 2023 19:10:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.31, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.31-1~deb10u4, Copyright (c) 1999-2018, by Zend Technologies
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101
https://imagemagick.orgCopyright: © 1999-2019 ImageMagick Studio LLC
License:
https://imagemagick.org/script/license.phpFeatures: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
New Server
PHP 8.1.2-1ubuntu2.13 (cli) (built: Jun 28 2023 14:01:49) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.13, Copyright (c), by Zend Technologies
root@dell-Vostro-3558:/usr/share/apache2/html/cpg15x/include# convert --version
Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25
https://imagemagick.orgCopyright: (C) 1999-2021 ImageMagick Studio LLC
License:
https://imagemagick.org/script/license.phpFeatures: Cipher DPC Modules OpenMP(4.5)
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
so I cannot access my site due to the error: Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /usr/share/apache2/html/cpg15x/include/init.inc.php:64 Stack trace: #0 /usr/share/apache2/html/cpg15x/index.php(25): require() #1 {main} thrown in /usr/share/apache2/html/cpg15x/include/init.inc
Any help much appreciated.