From dfee747c591536108fee680ec8aebda20f119875 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sat, 13 Feb 2021 20:21:50 +0300 Subject: [PATCH] sync socket location with mariadb --- php7.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php7.spec b/php7.spec index 7eb848a..083bc9c 100644 --- a/php7.spec +++ b/php7.spec @@ -22,7 +22,7 @@ Summary: The PHP7 scripting language Name: php Version: 7.4.15 -Release: 1 +Release: 2 Source0: http://ch1.php.net/distributions/php-%{version}.tar.xz Group: Development/PHP License: PHP License @@ -1410,7 +1410,7 @@ for i in fpm cgi cli apxs; do --with-imap=shared,%{_prefix} --with-imap-ssl=%{_prefix} \ --with-ldap=shared,%{_prefix} --with-ldap-sasl=%{_prefix} \ --enable-mbstring=shared,%{_prefix} --enable-mbregex \ - --with-mysql-sock=/run/mysqld/mysql.sock --with-zlib-dir=%{_prefix} \ + --with-mysql-sock=%{_rundir}/mysql/mysql.sock --with-zlib-dir=%{_prefix} \ --with-mysqli=shared,mysqlnd \ --enable-mysqlnd=shared,%{_prefix} \ --with-unixODBC=shared,%{_prefix} \