Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM php:7.1-fpm-alpine
- RUN docker-php-ext-install mysqli
- $serverName = 'localhost';
- $userName = 'wp';
- $password = 'wp2017';
- $dbName = 'wp2017';
- $link = mysqli_connect($serverName, $userName, $password, $dbName);
- if (mysqli_connect_errno()) {
- printf("Connect failed: %sn", mysqli_connect_error());
- exit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement