My code is like this:
if( ($this->master=socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0 ) { die(\"socket_create() failed, reason: \".socket_s
I got this error when my .env file was not set up properly. Make sure you have a .env file with valid database login credentials.
.env