These are chat archives for phpbrew/phpbrew

23rd
Jun 2018
Sergei Morozov
@morozov
Jun 23 2018 03:56
@kapitanluffy what kind of error do you get when trying to connect?
kapitanluffy p.
@kapitanluffy
Jun 23 2018 04:20
"cannot connect to server" in phpmyadmin and "file not found" when creating a PDO object with 2002 mysql error
@morozov
Sergei Morozov
@morozov
Jun 23 2018 05:16
@kapitanluffy If you're connecting to localhost, then most likely the problem is incorrectly configured socket path. See mysqli.default_socket or pdo_mysql.default_socket. Make sure the path is correct or try using 127.0.0.1 as the host instead of localhost.
kapitanluffy p.
@kapitanluffy
Jun 23 2018 06:12
@morozov yeah noticed that the default sockt is undefined https://imgur.com/a/jI0jEAB ..is there any configs that i should pass?
this is my install command
phpbrew install -j $(nproc) --stdout --name=php70 7.0 +default +gd +apxs2 +pdo +mysql +sqlite +openssl=/usr -- --with-libdir=lib64 --with-gd --with-pdo-mysql