Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2021 22:15:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256738] lang/php74
Message-ID:  <bug-256738-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256738

            Bug ID: 256738
           Summary: lang/php74
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz@freebsd.org
          Reporter: list@understudy.net
             Flags: maintainer-feedback?(tz@freebsd.org)
          Assignee: tz@freebsd.org

Specs on system:
FBSD 12.2=20
PHP 7.4.20=20
MariaDB 10.5.10
Coppermine 1.6.10
phpmyadmin 4.9.7

Error from coppermine when trying to connect to database on install step 6=
=20
Could not create a MySQLi connection, please check the MySQLi details enter=
ed
Database error: No such file or directory

Through CLI DB is confirmed and working.=20
Tests on CLI and with port 3306 on localhost and 127.0.0.1 show ok.=20

Test also preformed with phpmyadmin which gave similar errors in their setu=
p.=20

Issue: failure to connect to DB via mysqli through "localhost"=20

Possible solution implemented:

edit the following file:
/usr/local/etc/php/ext-20-mysqli.ini

add the following lines:
pdo_mysql.default_socket=3D"/var/run/mysql/mysql.sock"
mysqli.default_socket=3D"/var/run/mysql/mysql.sock"


This solution may only work for FBSD. It is uncertain if this solution will
work with Linux or Windows or if they are having this issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256738-7788>