ファイル「www / index.php」Wampを編集し、MySqlがPostgreSQLのバージョンに適応するように各行を複製しました
私はエラー通知を持っています: Undefined offset: 1 in C:\wamp\www\index.php 行 64
私のコードは(行63 64 65)です
preg_match('|PostgreSQLVersion = (.*)\n|',$wampConfFileContents,$result);
$PostgreSQLVersion = str_replace('"','',$result[1]);
preg_match('|wampserverVersion = (.*)\n|',$wampConfFileContents,$result);