fix: ethica-consent S157->S89, nginx php7.4->php8.4
This commit is contained in:
@@ -17,7 +17,7 @@ $medecin_id = (int)($parts[1] ?? 0);
|
||||
if(!$email || !$medecin_id) { echo "Token invalide."; exit; }
|
||||
|
||||
// Connect to DB on main server
|
||||
$db = new PDO("pgsql:host=157.180.25.208;dbname=adx_system", "admin", "admin123");
|
||||
$db = new PDO("pgsql:host=89.167.40.150;dbname=adx_system", "admin", "admin123");
|
||||
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
|
||||
$ip = $_SERVER['REMOTE_ADDR'] ?? '';
|
||||
|
||||
@@ -11,6 +11,6 @@ server {
|
||||
|
||||
location ~ \.php$ {
|
||||
include snippets/fastcgi-php.conf;
|
||||
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user