2016-11-14 5 views
0

Je souhaite installer phpPgAdmin avec XAMPP sous Windows. Après avoir fait toutes les étapes, mon module Apache sur XAMPP ne démarre pas. J'ai eu cette erreur logXAMPP Apache ne démarre pas après avoir ajouté l'alias phpPgAdmin

[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 

J'ai essayé de supprimer l'alias phpPgAdmin de httpd-xamp.conf, et cela a fonctionné à nouveau, mais mon phpPgAdmin ne fonctionnera pas (évidemment). J'ai décommenté la php_pgsql.dll et l'extension php_pdo_pgsql.dll à php.ini

extension=php_pdo_sqlite.dll 
extension=php_pgsql.dll 

Voici ma configuration sur config.inc.php du dossier phpPgAdmin

$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; 

Ceci est ma configuration alias sur-httpd xampp.conf

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

Je suis nouveau avec XAMPP et PHP, donc je ne sais pas quel est le problème. Quelqu'un peut-il aider?

Répondre

1

Je ne sais pas si ma réponse est pas trop tard, mais il faut juste changer les accolades “” dans vos chemins pour les réguliers "", comme celui-ci

"C:/xampp/phppgadmin/" 
+0

Je ne l'ai pas .. . Belle prise! – bibi

+0

Wow, c'est ma faute en copiant toutes les configurations au lieu de le taper ... –