PHP 8 PHP 8
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

PHP 8

Started by panhead, July 02, 2025, 06:03:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panhead

I wanted to install a new gallery, but the installation stopped at step 3. Apparently because of the PHP 8.3 version I use.
But I have already a gallery running with PHP 8.3 (long ago installed), with PHP regularly updated.
So is it really not possible to do an installation with PHP 8.3?

ron4mac

There has typically been no problem with installing CPG 1.6.26 when using PHP 8.3
You have given no information that can be used to provide any help .. Links?, screen shot?, OS?, hosting?

panhead

When I install myself I get this:

http error 500


install1.jpg


and this error message:

[Sat Jul 05 09:51:56.582094 2025] [lsapi:error] [pid 2106493:tid 139585942177536] [client] [host www.xxx.net] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function exec() in /home/xxx/xxx.net/public_html/coppermine/install.php:1468\nStack trace:\n#0 /home/xxx/xxx.net/public_html/thomas/coppermine/install.php(1338): getIM()\n#1 /home/xxx/xxx.net/public_html/thomas/coppermine/install.php(279): checkImageProcessor()\n#2 {main}\n  thrown in /home/xxx/xxx.net/public_html/thomas/coppermine/install.php on line 1468\n, referer: http://www.xxx.net/coppermine/install.php?step=3

If I use the automatic installer of my provider I get this error:

install2.jpg

ron4mac

Your host is apparently not allowing the exec() function for PHP 8.3
If you can not get your host to allow it, you can try the method here.

panhead

Your method works perfect, thank you.