Re: Issue with PHP based web service on Fedora 40

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

 



When I try to access my gallery3 installation using firefox, it just silently fails. When I try the exact same thing in Vivaldi, I get HTTP ERROR 500, which of course means absolutely nothing specific. But, that made me think of this:

1. If I go to http://www.afolkey2.us/gallery3, I get the 500 error (in vivaldi)

2. If I go to http://www.afolkey2.us/gallery3/installer, since the installation is otherwise complete, I get a congratulatory message that includes a link to "http://www.afolkey2.us/gallery3";. Following that, I get the same 500 error I get when I try to access that URL directly.

I am something of music hoarder. Therefore I run the "tree" & "mp3report" commands on the music directories on my computer so I can access them when I am out shopping so that I can avoid buying duplicated. That being said:

3. If go to "http://www.afolkey2.us/Tree/"; it works perfectly. The same if I go to "http://www.afolkey2.us/mp3report/";

So, my webserver works. It can somewhat serve php files, since I can run the installer for gallery3. But I go to the root of my gallery3 install, and attempt to access index.php, then it fails in such a way that it does not even produce any error messages or logs other than the generic 500 error.

Therefore, I am off to peruse the contents of http://www.afolkey2.us/gallery3/index.php


On 11/6/24 9:08 PM, Steven P. Ulrick wrote:

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