On 11/6/24 8:41 PM, Steven P. Ulrick wrote:
On 11/6/24 8:03 PM, Will McDonald wrote:
[root@bf109911d54b /]# php -v PHP 8.3.13 (cli) (built: Oct 22 2024 18:39:14) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.3.13, Copyright (c) Zend Technologies with Zend OPcache v8.3.13, Copyright (c), by Zend Technologies
[root@bf109911d54b /]# rpm -qa | grep mysql php-mysqlnd-8.3.13-1.fc40.x86_64
Note, at this stage I still don't have MySQL installed (or MariaDB). So if you need to have a local database to support Gallery3 (or a remote DB via ODBC / JDBC or whatever... that's not fulfilled.)
This looks weird/suspect too, specifically '/path/to/extension/':
PHP Warning: PHP Startup: Unable to load dynamic library
'/path/to/extension/mysqli.so' (tried: /path/to/extension/mysqli.so (/path/to/extension/mysqli.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules//path/to/extension/mysqli.so.so http://mysqli.so.so
So, I went through the instructions on that website. I revisited /etc/php.ini and I found '/path/to/extension/mysqli.so' right there... The actual location of mysqli.so is "/lib64/php/modules/mysqli.so" so I made appropriate change, restarted httpd, with mo joy... I then rebooted, deleted var, made a new one with the correct permissions (again...) and successfully went through the installation process. The results: nothing. I am right where I started...
https://www.baeldung.com/linux/mysqli-extension-activate shows the 'mysql-server' package being installed too?
I have the Fedora 40 equivelant:
mariadb-server-10.11.9-1.fc40.x86_64
Yeah, that was weird. One thing I need to mention. I have been running Gallery3 on various versions of Fedora Linux for many years now. Probably almost 15 years I've been successfully installing and running it.
Have you restarted Apache?
Oh, have I restarted Apache! No one in the world today has restarted Apache as many time as I have! Yeah, I know, there may be some poor sap out their that having a worse time than I have today...