EmpireKickingSeptember 23, 2020 in Classic self-hosted technical help
Running IPS 4.5 and yesterday I updated my PHP to 7.4 from my server using/from MultiPHP manager (do not have PHP selector) anyway saved and that's all I had to do. Meanwhile in the ACP it's still saying it's running v7.1.14 and so then when I added code to .htaccess to run the new PHP 7.4 the site goes into a 500 error.
Yet in the .htaccess file there is no old code to be edited or removed.
Any errors in your error logs?
From ACP no.
This is what gets added, when 7.4 is set
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
# php -- END cPanel-generated handler, do not edit
Error log from the server logs,
thrown in /SNIP/SNIP/public_html/init.php on line 535
[23-Sep-2020 10:27:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.1.lin' (tried: /opt/php71/lib/php/extensions/no-debug-non-zts-20160303/ixed.7.1.lin (/opt/php71/lib/php/extensions/no-debug-non-zts-20160303/ixed.7.1.lin: undefined symbol: _zval_ptr_dtor), /opt/php71/lib/php/extensions/no-debug-non-zts-20160303/ixed.7.1.lin.so (/opt/php71/lib/php/extensions/no-debug-non-zts-20160303/ixed.7.1.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Sep-2020 05:27:24 America/Chicago] PHP Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
[23-Sep-2020 10:27:24 UTC] PHP Fatal error: Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /SNIP/SNIP/public_html/init.php:535
#0 /SNIP/SNIP/public_html/init.php(1511): IPS\IPS::init()
#1 /SNIP/SNIP/public_html/index.php(12): require_once('/SNIP/SNIP/p...')
You're missing the multibyte extension which is required. You will need to install that into PHP.
This may help:
It has help and work.. I see what is not enabled now. Didn't release it was this much
You'll need to install and enable each of the PHP extensions listed (the ones that are red). I'd also recommend the php imagemagick extension in addition to GD.
Yeah I'm away what I Need to install, just a pain that I'm on shared server 😞
Started 12 hours ago
Started March 13
Started 1 hour ago