【发布时间】:2016-12-09 00:07:34
【问题描述】:
我编辑了文件“www / index.php”Wamp并复制了每行MySql适应PostgreSQL版本
我有错误注意:未定义的偏移量:第 64 行 C:\wamp\www\index.php 中的 1
我的代码是(第 63 64 65 行)
preg_match('|PostgreSQLVersion = (.*)\n|',$wampConfFileContents,$result);
$PostgreSQLVersion = str_replace('"','',$result[1]);
preg_match('|wampserverVersion = (.*)\n|',$wampConfFileContents,$result);
【问题讨论】:
-
如果您对 wampserver
index.php文件进行修改,后果自负
标签: postgresql phpmyadmin wampserver phppgadmin sgi