This commit is contained in:
andrey
2023-08-08 16:23:06 +03:00
parent 8c73e86a10
commit 403b1a9f82
2 changed files with 25 additions and 7 deletions
+12 -1
View File
@@ -1,3 +1,14 @@
<?php
echo "test";
phpinfo();
phpinfo();
/* тест соединения с бд
try {
$dbh = new PDO('pgsql:host=db;port=5432;dbname=MY_DATABASE;user=MYSQL_USER;password=MYSQL_ROOT_PASSWORD');
echo "PDO connection object created";
}
catch(PDOException $e)
{
echo $e->getMessage();
}
*/