coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 install => Topic started by: panhead on July 02, 2025, 06:03:48 PM

Title: PHP 8
Post by: panhead on July 02, 2025, 06:03:48 PM
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?
Title: Re: PHP 8
Post by: ron4mac on July 05, 2025, 04:51:57 AM
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?
Title: Re: PHP 8
Post by: panhead on July 05, 2025, 10:07:21 AM
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
Title: Re: PHP 8
Post by: ron4mac on July 05, 2025, 01:01:36 PM
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 (https://coppermine-gallery.com/forum/index.php/topic,80836.msg390744.html#msg390744).
Title: Re: PHP 8
Post by: panhead on July 05, 2025, 03:52:33 PM
Your method works perfect, thank you.