0

我想在 Windows 上使用 XAMPP 安装 phpPgAdmin。完成所有步骤后,我在 XAMPP 上的 Apache 模块将无法启动。我得到了这个错误日志

[Mon Nov 14 16:36:16.661538 2016] [ssl:warn] [pid 10612:tid 504] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 14 16:36:16.824335 2016] [core:warn] [pid 10612:tid 504] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Nov 14 16:36:16.924133 2016] [ssl:warn] [pid 10612:tid 504] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 14 16:36:17.724645 2016] [mpm_winnt:notice] [pid 10612:tid 504] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.9 configured -- resuming normal operations
[Mon Nov 14 16:36:17.724645 2016] [mpm_winnt:notice] [pid 10612:tid 504] AH00456: Apache Lounge VC14 Server built: Jul  1 2016 11:09:37
[Mon Nov 14 16:36:17.724645 2016] [core:notice] [pid 10612:tid 504] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Nov 14 16:36:17.724645 2016] [mpm_winnt:notice] [pid 10612:tid 504] AH00418: Parent: Created child process 7288
[Mon Nov 14 16:36:18.611254 2016] [ssl:warn] [pid 7288:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 14 16:36:18.796715 2016] [ssl:warn] [pid 7288:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 14 16:36:18.850157 2016] [mpm_winnt:notice] [pid 7288:tid 584] AH00354: Child: Starting 150 worker threads.
[Mon Nov 14 16:36:22.814454 2016] [mpm_winnt:crit] [pid 7288:tid 584] AH02538: Child: Parent process exited abruptly. Child process is ending

我试图从 httpd-xamp.conf 中删除 phpPgAdmin 别名,它再次工作,但我的 phpPgAdmin 将无法工作(显然)。我在 php.ini 中取消了 php_pgsql.dll 和 php_pdo_pgsql.dll 扩展的注释

extension=php_pdo_sqlite.dll
extension=php_pgsql.dll

这是我在 phpPgAdmin 文件夹中的 config.inc.php 上的配置

$conf['servers'][0]['host'] = 'localhost';
$conf['servers'][0]['pg_dump_path'] = 'C:\xampp\pgsql\9.3\bin\pg_dump.exe';
$conf['servers'][0]['pg_dumpall_path'] = 'C:\xampp\pgsql\9.3\bin\pg_dumpall.exe';
$conf['extra_login_security'] = false;

这是我在 httpd-xampp.conf 上的别名配置

Alias /phppgadmin “C:/xampp/phpPgAdmin/”
<Directory “C:/xampp/phpPgAdmin”&gt;
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>

我是 XAMPP 和 PHP 的新手,所以我不知道有什么问题。任何人都可以帮忙吗?

4

1 回答 1

1
于 2016-11-24T14:13:06.753 回答