Skip to content

Instantly share code, notes, and snippets.

@v0112358
Created August 7, 2018 04:30
Show Gist options
  • Save v0112358/c8060ec112d3ba15fcc4437b8a2ed43d to your computer and use it in GitHub Desktop.
Save v0112358/c8060ec112d3ba15fcc4437b8a2ed43d to your computer and use it in GitHub Desktop.
combine PHP with Percona 5.7
# ln -sf /usr/lib64/mysql/libmysqlclient.so.20.3.9 /usr/lib64/libmysqlclient.so
./configure
....
'--with-mysql=/usr' \
'--with-mysqli=/usr/bin/mysql_config' \
'--with-pdo-mysql=/usr' \
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment