Date: Fri, 4 Feb 2022 21:20:33 +0100 From: Xavier Humbert <xavier@groumpf.org> To: ports@freebsd.org Subject: php-fpm (8.0) strange error related to smbclient Message-ID: <121050fe-6243-5ec2-3922-8e4c8a7ef936@groumpf.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------g8w0lrYm2CAgour0xYnPcDAx Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, I recently upgraded my whole php stuff from 7.3 to 8.0 via portupgrade All went flawlessly. But when I want to start php-fpm, I got this error about which Google knows nothing : > [root@numenor php80]# service php-fpm restart > Performing sanity check on php-fpm configuration: > <br /> > <b>Fatal error</b>: Duplicate parameter name $oldstate for function > smbclient_rename() in <b>Unknown</b> on line <b>0</b><br /> I eventually grepped the whole /usr/local/etc AND /usr/local/www directories for this parameter with no success Where the hell does this come from ? Samba, obviously, a grep in /usr/local/lib/php matches in smbclient.so Also, libsbmclient-php sources show this parameter twice : https://github.com/eduardok/libsmbclient-php/blob/master/smbclient.c#L189 But how fix this, any idea May I fill a PR ? Cheers, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr --------------g8w0lrYm2CAgour0xYnPcDAx Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p><font face="monospace">Hi,</font></p> <p><font face="monospace">I recently upgraded my whole php stuff from 7.3 to 8.0 via portupgrade</font></p> <p><font face="monospace">All went flawlessly. But when I want to start php-fpm, I got this error about which Google knows nothing :</font></p> <p> <blockquote type="cite"><font face="monospace"><span style="color:#000000;background-color:#ffffff;">[root@numenor php80]# service php-fpm restart </span><br> Performing sanity check on php-fpm configuration: <br> <br /> <br> <b>Fatal error</b>: Duplicate parameter name $oldstate for function smbclient_rename() in <b>Unknown</b> on line <b>0</b><br /><br> </font></blockquote> <font face="monospace">I eventually grepped the whole /usr/local/etc AND /usr/local/www directories for this parameter with no success</font></p> <p><font face="monospace">Where the hell does this come from ? Samba, obviously, a grep in /usr/local/lib/php matches </font><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">in smbclient.so</span></span></p> <p><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">Also, libsbmclient-php sources show this parameter twice :<br> <a moz-do-not-send="true" href="https://github.com/eduardok/libsmbclient-php/blob/master/smbclient.c#L189" class="moz-txt-link-freetext">https://github.com/eduardok/libsmbclient-php/blob/master/smbclient.c#L189</a><br> </span></span></p> <p><span style="font-family:monospace">But how fix this, any idea May I fill a PR ?<br> </span></p> <p><font face="monospace">Cheers,</font></p> <p><font face="monospace">Xavier</font></p> <pre class="moz-signature" cols="72">-- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer <a class="moz-txt-link-freetext" href="https://www.amdh.fr">https://www.amdh.fr</a> </pre> </body> </html> --------------g8w0lrYm2CAgour0xYnPcDAx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?121050fe-6243-5ec2-3922-8e4c8a7ef936>