🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:fix-pdo-constant.php
<?php if (PHP_VERSION_ID < 80500) { exit(0); } $file = __DIR__.'/../vendor/laravel/framework/config/database.php'; if (! file_exists($file)) { exit(0); } file_put_contents($file, str_replace( 'PDO::MYSQL_ATTR_SSL_CA', '(PHP_VERSION_ID >= 80500 ? Pdo\\Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA)', file_get_contents($file), ));
Save Changes
Cancel
Create New File
Create New Folder