question on PHP7.0 install

Ryan Schmidt ryandesign at macports.org
Sun Oct 9 03:35:18 CEST 2016


> On Oct 8, 2016, at 6:27 PM, Bill Christensen <billc_lists at greenbuilder.com> wrote:
> 
> 
> Previous versions of php.ini contained a line such as:
> 
> mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
> in php7.0, that line does not exist by default.  
> 
> Do I need to define mysql.default_socket for php7 (with the correct mysql version, of course), or not?  Will adding such a line mess things up?

The mysql module, to which that setting applies, was removed for php 7. The mysqli and pdo_mysql modules remain, and you can set the corresponding settings for the socket for those modules.





More information about the macports-users mailing list