Re: Issue with PHP based web service on Fedora 40

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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...
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux