IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

Ajouter PostgreSQL à Wamp


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Membre habitué Avatar de sondo
    Homme Profil pro
    Assistant aux utilisateurs
    Inscrit en
    Août 2004
    Messages
    540
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Assistant aux utilisateurs
    Secteur : Service public

    Informations forums :
    Inscription : Août 2004
    Messages : 540
    Points : 162
    Points
    162
    Par défaut Ajouter PostgreSQL à Wamp
    Bonjour à tous,

    Je dois utiliser PostgreSQL à wamp. Je précise que je suis novice en la matière.
    J'ai suivi cette procédure http://www.mickaelsylvestre.com/2013...sql-avec-wamp/
    mais PostgreSQL ne s'affiche pas dans phpmyadmin.
    Je suis windows 10, PostgreSQL 10, php 5.6.35.

    Voici le contenu de mon fichier conf.inc.php

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    <?php
     
    	/**
    	 * Central phpPgAdmin configuration.  As a user you may modify the
    	 * settings here for your particular configuration.
    	 *
    	 * $Id: config.inc.php-dist,v 1.55 2008/02/18 21:10:31 xzilla Exp $
    	 */
     
    	// An example server.  Create as many of these as you wish,
    	// indexed from zero upwards.
     
    	// Display name for the server on the login screen
    	$conf['servers'][0]['desc'] = 'PostgreSQL';
     
    	// Hostname or IP address for server.  Use '' for UNIX domain socket.
    	// use 'localhost' for TCP/IP connection on this computer
    	$conf['servers'][0]['host'] = '';
     
    	// Database port on server (5432 is the PostgreSQL default)
    	$conf['servers'][0]['port'] = 5432;
     
    	// Database SSL mode
    	// Possible options: disable, allow, prefer, require
    	// To require SSL on older servers use option: legacy
    	// To ignore the SSL mode, use option: unspecified
    	$conf['servers'][0]['sslmode'] = 'allow';
     
    	// Change the default database only if you cannot connect to template1.
    	// For a PostgreSQL 8.1+ server, you can set this to 'postgres'.
    	$conf['servers'][0]['defaultdb'] = 'template1';
     
    	// Specify the path to the database dump utilities for this server.
    	// You can set these to '' if no dumper is available.
    	$conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
    	$conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
     
    	// Example for a second server (PostgreSQL for Windows)
    	//$conf['servers'][1]['desc'] = 'Test Server';
    	//$conf['servers'][1]['host'] = '127.0.0.1';
    	//$conf['servers'][1]['port'] = 5432;
    	//$conf['servers'][1]['sslmode'] = 'allow';
    	//$conf['servers'][1]['defaultdb'] = 'template1';
    	//$conf['servers'][1]['pg_dump_path'] = 'C:\\Program Files\\PostgreSQL\\8.0\\bin\\pg_dump.exe';
    	//$conf['servers'][1]['pg_dumpall_path'] = 'C:\\Program Files\\PostgreSQL\\8.0\\bin\\pg_dumpall.exe';
     
     
    	/* Groups definition */
    	/* Groups allow administrators to logicaly group servers together under
    	 * group nodes in the left browser tree
    	 *
    	 * The group '0' description
    	 */
    	//$conf['srv_groups'][0]['desc'] = 'group one';
     
    	/* Add here servers indexes belonging to the group '0' seperated by comma */
    	//$conf['srv_groups'][0]['servers'] = '0,1,2'; 
     
    	/* A server can belong to multi groups. Here server 1 is referenced in both
    	 * 'group one' and 'group two'*/
    	//$conf['srv_groups'][1]['desc'] = 'group two';
    	//$conf['srv_groups'][1]['servers'] = '3,1';
     
    	/* A group can be nested in one or more existing groups using the 'parents'
    	 * parameter. Here the group 'group three' contains only one server and will
    	 * appear as a subgroup in both 'group one' and 'group two':
    	 */
    	//$conf['srv_groups'][2]['desc'] = 'group three';
    	//$conf['srv_groups'][2]['servers'] = '4';
    	//$conf['srv_groups'][2]['parents'] = '0,1';
     
    	/* Warning: Only groups with no parents appears at the root of the tree. */
     
     
    	// Default language. E.g.: 'english', 'polish', etc.  See lang/ directory
    	// for all possibilities. If you specify 'auto' (the default) it will use 
    	// your browser preference.
    	$conf['default_lang'] = 'auto';
     
    	// AutoComplete uses AJAX interaction to list foreign key values 
    	// on insert fields. It currently only works on single column 
    	// foreign keys. You can choose one of the following values:
    	// 'default on' enables AutoComplete and turns it on by default.
    	// 'default off' enables AutoComplete but turns it off by default.
    	// 'disable' disables AutoComplete.
    	$conf['autocomplete'] = 'default on';
     
    	// If extra login security is true, then logins via phpPgAdmin with no
    	// password or certain usernames (pgsql, postgres, root, administrator)
    	// will be denied. Only set this false once you have read the FAQ and
    	// understand how to change PostgreSQL's pg_hba.conf to enable
    	// passworded local connections.
    	$conf['extra_login_security'] = true;
     
    	// Only show owned databases?
    	// Note: This will simply hide other databases in the list - this does
    	// not in any way prevent your users from seeing other database by
    	// other means. (e.g. Run 'SELECT * FROM pg_database' in the SQL area.)
    	$conf['owned_only'] = false;
     
    	// Display comments on objects?  Comments are a good way of documenting
    	// a database, but they do take up space in the interface.
    	$conf['show_comments'] = true;
     
    	// Display "advanced" objects? Setting this to true will show 
    	// aggregates, types, operators, operator classes, conversions, 
    	// languages and casts in phpPgAdmin. These objects are rarely 
    	// administered and can clutter the interface.
    	$conf['show_advanced'] = false;
     
    	// Display "system" objects?
    	$conf['show_system'] = false;
     
    	// Minimum length users can set their password to.
    	$conf['min_password_length'] = 1;
     
    	// Width of the left frame in pixels (object browser)
    	$conf['left_width'] = 200;
     
    	// Which look & feel theme to use
    	$conf['theme'] = 'default';
     
    	// Show OIDs when browsing tables?
    	$conf['show_oids'] = false;
     
    	// Max rows to show on a page when browsing record sets
    	$conf['max_rows'] = 30;
     
    	// Max chars of each field to display by default in browse mode
    	$conf['max_chars'] = 50;
     
    	// Send XHTML strict headers?
    	$conf['use_xhtml_strict'] = false;
     
    	// Base URL for PostgreSQL documentation.
    	// '%s', if present, will be replaced with the PostgreSQL version
    	// (e.g. 8.4 )
    	$conf['help_base'] = 'http://www.postgresql.org/docs/%s/interactive/';
     
    	// Configuration for ajax scripts
    	// Time in seconds. If set to 0, refreshing data using ajax will be disabled (locks and activity pages)
    	$conf['ajax_refresh'] = 3;
     
    	/** Plugins management
    	 * Add plugin names to the following array to activate them
    	 * Example:
    	 *   $conf['plugins'] = array(
    	 *     'Example',
    	 *     'Slony'
    	 *   );
    	 */
    	$conf['plugins'] = array();
     
    	/*****************************************
    	 * Don't modify anything below this line *
    	 *****************************************/
     
    	$conf['version'] = 19;
     
    ?>
    $conf['servers'][0]['desc'] = 'PostgreSQL_local';
    $conf['servers'][0]['desc'] = 'PostgreSQL 10';
    $conf['servers'][0]['host'] = '127.0.0.1';
    $conf['servers'][0]['pg_dump_path'] = 'C:\\Programmes\\PostgreSQL\\10\\bin\\pg_dump.exe';
    $conf['servers'][0]['pg_dumpall_path'] = 'C:\\Programmes\\PostgreSQL\\10\\bin\\pg_dumpall.exe';
    $conf['extra_login_security'] = false;
    Voici le contenu du fichier phppgadmin.conf
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    Alias /phpmyadmin "c:/wamp64/apps/phpmyadmin4.7.9/"
     
    # Fichier phppgadmin.conf
    Alias /phppgadmin "C:/wamp/apps/phppgadmin5.1/"
     
    <Directory "C:/wamp/apps/phppgadmin5.1/">
        Options Indexes FollowSymLinks ExecCGI
        AllowOverride all
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
        Allow from ::1
        Allow from localhost
    </Directory>
    Contenu de wampmanager.conf
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    [main]
    language ="french"
    status = "offline"
    wampserverVersion ="3.1.3"
    installDir ="c:/wamp64"
    ;Path of the Browser used by Wampserver
    ;May be modfied with the absolute path of the browser exe file
    ;(Use / instead of \)
    navigator ="C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
    ;Path of the Text Editor used by Wampserver
    ;May be modfied with the absolute path of the Text Editor exe file
    ;(Use / instead of \)
    editor ="C:/WINDOWS/system32/notepad.exe"
    defaultLanguage = english
    wampserverMode ="64bit"
    [options]
    AliasSubmenu ="off"
    NotCheckVirtualHost = "off"
    NotCheckDuplicate = "off"
    ItemServicesNames = "off"
    VirtualHostSubMenu = "on"
    ProjectSubMenu = "off"
    HomepageAtStartup = "off"
    urlAddLocalhost = "off"
    MenuItemOnline = "off"
    VhostAllLocalIp = "off"
    SupportMySQL = "on"
    SupportMariaDB = "on"
    ShowphmyadMenu= "on"
    ShowadminerMenu = "on"
    NotVerifyPATH= "off"
    HostsLinesLimit= "5000"
    NotVerifyHosts= "off"
     
    [php]
    phpVersion ="5.6.35"
    phpIniDir = "."
    phpConfFile = "php.ini"
    phpExeDir = "."
    mysqlDefaultPort= "3306"
     
    [phpCli]
    phpCliVersion ="5.6.35"
    phpExeFile = php.exe
    phpCliFile = php-win.exe
     
    [apache]
    apacheVersion ="2.4.33"
    apacheExeDir = "bin"
    apacheConfDir = "conf"
    apacheExeFile = "httpd.exe"
    apacheConfFile = "httpd.conf"
    apacheServiceInstallParams ="-n wampapache64 -k install"
    apacheServiceRemoveParams ="-n wampapache64 -k unisntall"
    [apacheoptions]
    apacheUseOtherPort = "off"
    apachePortUsed = "80"
     
    [mysql]
    mysqlVersion ="5.7.21"
    mysqlConfDir = "."
    mysqlConfFile = "my.ini"
    mysqlExeDir = "bin"
    mysqlExeFile = "mysqld.exe"
    mysqlServiceInstallParams ="--install-manual wampmysqld64"
    mysqlServiceRemoveParams ="--remove wampmysqld64"
    [mysqloptions]
    mysqlPortUsed = "3306"
    mysqlUseOtherPort = "off"
    mysqlUseConsolePrompt = "off"
    mysqlConsolePrompt= "\U-MySQL\v-['\d']>"
     
    [mariadb]
    mariadbVersion ="10.2.14"
    mariadbConfDir = "."
    mariadbConfFile = "my.ini"
    mariadbExeDir = "bin"
    mariadbExeFile = "mysqld.exe"
    mariadbServiceInstallParams ="--install-manual wampmariadb64"
    mariadbServiceRemoveParams = "--remove wampmariadb64"
    mysqlServiceRemoveParams="--remove wampmariadb64"
    [mariadboptions]
    mariaPortUsed = "3307"
    mariaUseOtherPort = "on"
    mariadbUseConsolePrompt = "off"
    mariadbConsolePrompt= "\U-\v-['\d']>"
     
    [service]
    ServiceApache ="wampapache64"
    ServiceMysql ="wampmysqld64"
    ServiceMariadb ="wampmariadb64"
     
    [postgresql]
    postgresqlVersion = "10.3"
    Contenu de index.php

    Je n'ai rien modifier dans ce fichier
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    <?php
     
    // Page created by Shepard [Fabian Pijcke] <Shepard8@laposte.net>
    // Arno Esterhuizen <arno.esterhuizen@gmail.com>
    // and Romain Bourdon <rromain@romainbourdon.com>
    // and Hervé Leclerc <herve.leclerc@alterway.fr>
    // Icons by Mark James <http://www.famfamfam.com/lab/icons/silk/>
    // Version 2.5 -> 3.0.0 by Dominique Ottello aka Otomatic
    // 3.1.2 - verify strip_tags and trim on $_GET and $_POST
    //
    //
    //
     
    $server_dir = "../";
     
    require $server_dir.'scripts/config.inc.php';
    require $server_dir.'scripts/wampserver.lib.php';
     
    //chemin jusqu'aux fichiers alias
    $aliasDir = $server_dir.'alias/';
     
    //Fonctionne à condition d'avoir ServerSignature On et ServerTokens Full dans httpd.conf
    $server_software = $_SERVER['SERVER_SOFTWARE'];
    $error_content = '';
     
    // on récupère les versions des applis
    $phpVersion = $wampConf['phpVersion'];
    $apacheVersion = $wampConf['apacheVersion'];
    $doca_version = 'doca'.substr($apacheVersion,0,3);
    $mysqlVersion = $wampConf['mysqlVersion'];
     
    //On récupére la valeur de urlAddLocalhost
    $suppress_localhost = ($wampConf['urlAddLocalhost'] == 'off' ? true : false);
     
    //On récupère la valeur de VirtualHostMenu
    $VirtualHostMenu = $wampConf['VirtualHostSubMenu'];
     
    //on récupère la valeur de apachePortUsed
    $port = $wampConf['apachePortUsed'];
    $UrlPort = $port !== "80" ? ":".$port : '';
    //On récupère le ou les valeurs des ports en écoute dans Apache
    $ListenPorts = implode(' - ',listen_ports());
    //on récupère la valeur de mysqlPortUsed
    $Mysqlport = $wampConf['mysqlPortUsed'];
     
     
    // répertoires à ignorer dans les projets
    $projectsListIgnore = array ('.','..','wampthemes','wamplangues');
     
    // images
    $pngFolder = <<< EOFILE
    iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAABhlBMVEX//v7//v3///7//fr//fj+/v3//fb+/fT+/Pf//PX+/Pb+/PP+/PL+/PH+/PD+++/+++7++u/9+vL9+vH79+r79+n79uj89tj89Nf889D88sj78sz78sr58N3u7u7u7ev777j67bL67Kv46sHt6uP26cns6d356aP56aD56Jv45pT45pP45ZD45I324av344r344T14J734oT34YD13pD24Hv03af13pP233X025303JL23nX23nHz2pX23Gvn2a7122fz2I3122T12mLz14Xv1JPy1YD12Vz02Fvy1H7v04T011Py03j011b01k7v0n/x0nHz1Ejv0Hnuz3Xx0Gvz00buzofz00Pxz2juz3Hy0TrmznzmzoHy0Djqy2vtymnxzS3xzi/kyG3jyG7wyyXkwJjpwHLiw2Liw2HhwmDdvlXevVPduVThsX7btDrbsj/gq3DbsDzbrT7brDvaqzjapjrbpTraojnboTrbmzrbmjrbl0Tbljrakz3ajzzZjTfZijLZiTJdVmhqAAAAgnRSTlP///////////////////////////////////////8A////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9XzUpQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAACqSURBVBiVY5BDAwxECGRlpgNBtpoKCMjLM8jnsYKASFJycnJ0tD1QRT6HromhHj8YMOcABYqEzc3d4uO9vIKCIkULgQIlYq5haao8YMBUDBQoZWIBAnFtAwsHD4kyoEA5l5SCkqa+qZ27X7hkBVCgUkhRXcvI2sk3MCpRugooUCOooWNs4+wdGpuQIlMDFKiWNbO0dXTx9AwICVGuBQqkFtQ1wEB9LhGeAwDSdzMEmZfC0wAAAABJRU5ErkJggg==
    EOFILE;
    $pngFolderGo = <<< EOFILE
    iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJISURBVDjLpZPLS5RhFIef93NmnMIRSynvgRF5KWhRlmWbbotwU9sWLupfCBeBEYhQm2iVq1oF0TKIILIkMgosxBaBkpFDmpo549y+772dFl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BBd/x+Eg2ObwH4FORmGfYCaQRikCUS7B5YBNReBMUgvQABBDADaAtIIwsEx9f/Dk9pQsH9kHTh8XANKMAIRIIDAhF9ELTiQQH4FaQAZCAsskPNhyRpkK7oBAAEEMSC8GsVGkEaYIlBghcU3gbGzL6YBAAEEJnzCgP6EYs/gcjCGKQI5G4Z9QiswDAAIIAZKszNAgAEAHgFgGSNMTwgAAAAASUVORK5CYII=
    EOFILE;
    $pngWrench = <<< EOFILE
    iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAABO1BMVEXu7u7n5+fk5OTi4uLg4ODd3d3X19fV1dXU1NTS0tLPz8+7z+/MzMy6zu65ze65zu7Kysq3zO62zO3IyMjHx8e1yOiyyO2yyOzFxcXExMSyxue0xuexxefDw8OtxeuwxOXCwsLBwcGuxOWsw+q/v7+qweqqwuqrwuq+vr6nv+qmv+m7u7ukvumkvemivOi5ubm4uLicuOebuOeat+e0tLSYtuabtuaatuaXteaZteaatN6Xs+aVs+WTsuaTsuWRsOSrq6uLreKoqKinp6elpaWLqNijo6OFpt2CpNyAo92BotyAo9+dnZ18oNqbm5t4nt57nth7ntp4nt15ndp3nd6ZmZmYmJhym956mtJzm96WlpaVlZVwmNyTk5Nvl9lultuSkpKNjY2Li4uKioqIiIiHh4eGhoZQgtVKfNFdha6iAAAAaXRSTlMA//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////914ivwAAAACXBIWXMAAAsSAAALEgHS3X78AAAAH3RFWHRTb2Z0d2FyZQBNYWNyb21lZGlhIEZpcmV3b3JrcyA4tWjSeAAAAKFJREFUGJVjYIABASc/PwYkIODDxBCNLODEzGiQgCwQxsTlzJCYmAgXiGKVdHFxYEuB8dkTOIS1tRUVocaIWiWI8IiIKKikaoD50kYWrpwmKSkpsRC+lBk3t2NEMgtMu4wpr5aeuHcAjC9vzadjYyjn7w7lK9kK6tqZK4d4wBQECenZW6pHesEdFC9mbK0W7ot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BZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3Mi
    PiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1ODg0QkM3NUZB
    MDhFMDExODkyQ0U2NkE5ODVBM0Q2OSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1ODg0QkM3
    NUZBMDhFMDExODkyQ0U2NkE5ODVBM0Q2OSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRG
    PiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiUukzAAAAHHSURBVHja5FfRccIwDLVz
    /W+7QdggbJBM0HQCwg+/LRNwTJDymx9ggmYDsgEZwRuUDVI5ET1XyE5CuIa76k7ABVtPluQnRVZV
    JcYST4woD85/ZRbC5wxUf/sdbZagBehGVAvlNM+GXWYaaIugQ+QDdA1OnLqByyyAzwPo042iqyMx
    BwdKN7jMNODREWKFyonv2KdPPqERoDlPGQMKQ7drPWPjfAy6Inb080/QiK/2Js8JMacBpzWwzGIs
    QFdxhujkFMNtSkj3m1ftjTnxEg0f0XNXAYb1mmatwFPSFM1s4NTwuUp18QU9CiyonWj2rhkHWXAK
    kNeh7gdMQ5wzRdnKcAo9DwZcsRBtqL70qm7Ior3B/5zbI0IKrvv8mxarhXSsXtrY8m5OfjB+F5SN
    BkhKrpi8635uaxAvkO9HpgZSB/v57f2cFpEQzz+UeZ28Yvq+bMXpkb5rSgwLc+Z5Fylwb+y68x4p
    MlNW2CLnPUmnrE/d7F1dOGXJ+Qb0neQqre9ptZiAscTI38ng7YTQ8g6Budlg75pktkxPV9idctss
    1mGYOKciupsxatQB8pJkmkUTpgCvHZ0jDtg+t4/60vAf3tVGBf8WYAC3Rq8Ub3mHyQAAAABJRU5E
    rkJggg==
    EOFILE;
     
    // Recherche des différents thèmes disponibles
    $styleswitcher = '<select id="themes">'."\n";
    $themes = glob('wampthemes/*', GLOB_ONLYDIR);
    foreach ($themes as $theme) {
        if (file_exists($theme.'/style.css')) {
            $theme = str_replace('wampthemes/', '', $theme);
            $styleswitcher .= '<option id="'.$theme.'">'.$theme.'</option>'."\n";
        }
    }
    $styleswitcher .= '</select>'."\n";
     
    //affichage du phpinfo
    if (isset($_GET['phpinfo']))
    {
    	phpinfo();
    	exit();
    }
     
    //affichage des images
    if (isset($_GET['img']))
    {
        switch (strip_tags(trim($_GET['img'])))
        {
            case 'pngFolder' :
            header("Content-type: image/png");
            echo base64_decode($pngFolder);
            exit();
     
            case 'pngFolderGo' :
            header("Content-type: image/png");
            echo base64_decode($pngFolderGo);
            exit();
     
            case 'gifLogo' :
            header("Content-type: image/gif");
            echo base64_decode($gifLogo);
            exit();
     
            case 'pngPlugin' :
            header("Content-type: image/png");
            echo base64_decode($pngPlugin);
            exit();
     
            case 'pngWrench' :
            header("Content-type: image/png");
            echo base64_decode($pngWrench);
            exit();
     
            case 'favicon' :
            header("Content-type: image/x-icon");
            echo base64_decode($favicon);
            exit();
        }
    }
     
    // Language
    $langue = $wampConf['language'];
     
    if (isset($_GET['lang']))
      $langue = strip_tags(trim($_GET['lang']));
     
    // Recherche des différentes langues disponibles
    $langueswitcher = '<form method="get" style="display:inline-block;"><select name="lang" id="langues" onchange="this.form.submit();">'."\n";
    $i_langues = glob('wamplangues/index_*.php');
    $selected = false;
    foreach ($i_langues as $i_langue) {
      $i_langue = str_replace(array('wamplangues/index_','.php'), '', $i_langue);
      $langueswitcher .= '<option value="'.$i_langue.'"';
      if(!$selected && $langue == $i_langue) {
      	$langueswitcher .= ' selected ';
      	$selected = true;
      }
      $langueswitcher .= '>'.$i_langue.'</option>'."\n";
    }
    $langueswitcher .= '</select></form>';
     
    include('wamplangues/index_english.php');
    if(file_exists('wamplangues/index_'.$langue.'.php')) {
    	$langue_temp = $langues;
    	include('wamplangues/index_'.$langue.'.php');
    	$langues = array_merge($langue_temp, $langues);
    }
     
    //initialisation
    // Récupération MySQL si supporté
    $MySQLdb = '';
    if(isset($wampConf['SupportMySQL']) && $wampConf['SupportMySQL'] =='on') {
    	$MySQLdb = <<< EOF
    <dt>{$langues['versm']}</dt>
    	<dd>${mysqlVersion}&nbsp;-&nbsp;{$langues['mysqlportUsed']}{$Mysqlport}&nbsp;-&nbsp; <a href='http://{$langues['docm']}'>{$langues['documentation']}</a></dd>
    EOF;
    }
     
    // Récupération MariaDB si supporté
    $MariaDB = '';
    if(isset($wampConf['SupportMariaDB']) && $wampConf['SupportMariaDB'] =='on') {
    	$MariaDB = <<< EOF
    <dt>{$langues['versmaria']}</dt>
      <dd>${c_mariadbVersion}&nbsp;-&nbsp;{$langues['mariaportUsed']}{$wampConf['mariaPortUsed']}&nbsp;-&nbsp; <a href='http://{$langues['docmaria']}'>{$langues['documentation']}</a></dd>
    EOF;
    }
    // No Database Mysql System
    $noDBMS = (empty($MySQLdb) && empty($MariaDB)) ? true : false;
    $phpmyadminTool = $noDBMS ? '' : '<li><a href="phpmyadmin/">phpmyadmin</a></li>';
     
    $aliasContents = '';
     
    // récupération des alias
    if (is_dir($aliasDir))
    {
        $handle=opendir($aliasDir);
        while (($file = readdir($handle))!==false)
        {
    	    if (is_file($aliasDir.$file) && strstr($file, '.conf'))
    	    {
    	    	if(!($noDBMS && ($file == 'phpmyadmin.conf' || $file == 'adminer.conf'))) {
    		    	$msg = '';
    		    	$aliasContents .= '<li><a href="'.str_replace('.conf','',$file).'/">'.str_replace('.conf','',$file).'</a></li>';
    		  	}
    	    }
        }
        closedir($handle);
    }
    if (empty($aliasContents))
    	$aliasContents = "<li>".$langues['txtNoAlias']."</li>\n";
     
     
    //Récupération des ServerName de httpd-vhosts.conf
    $addVhost = "<li><a href='add_vhost.php?lang=".$langue."'>".$langues['txtAddVhost']."</a></li>";
    if($VirtualHostMenu == "on") {
    	$vhostError = false;
    	$vhostErrorCorrected = true;
    	$error_message = array();
        $allToolsClass = "four-columns";
    	$virtualHost = check_virtualhost();
    	$vhostsContents = '';
    	if($virtualHost['include_vhosts'] === false) {
    		$vhostsContents = "<li><i style='color:red;'>Error Include Apache</i></li>";
    		$vhostError = true;
    		$error_message[] = sprintf($langues['txtNoIncVhost'],$wampConf['apacheVersion']);
    	}
    	else {
    		if($virtualHost['vhosts_exist'] === false) {
    			$vhostsContents = "<li><i style='color:red;'>No vhosts file</i></li>";
    			$vhostError = true;
    			$error_message[] = sprintf($langues['txtNoVhostFile'],$virtualHost['vhosts_file']);
    		}
    		else {
    				if($virtualHost['nb_Server'] > 0) {
    				$port_number = true;
    				$nb_Server = $virtualHost['nb_Server'];
    				$nb_Virtual = $virtualHost['nb_Virtual'];
    				$nb_Document = $virtualHost['nb_Document'];
    				$nb_Directory = $virtualHost['nb_Directory'];
    				$nb_End_Directory = $virtualHost['nb_End_Directory'];
     
    				foreach($virtualHost['ServerName'] as $key => $value) {
    					if($virtualHost['ServerNameValid'][$value] === false) {
    						$vhostError = true;
    						$vhostErrorCorrected = false;
    						$vhostsContents .= '<li>'.$value.' - <i style="color:red;">syntax error</i></li>';
    						$error_message[] = sprintf($langues['txtServerName'],"<span style='color:black;'>".$value."</span>",$virtualHost['vhosts_file']);
    					}
    					elseif($virtualHost['ServerNameValid'][$value] === true) {
    						$UrlPortVH = ($virtualHost['ServerNamePort'][$value] != '80') ? ':'.$virtualHost['ServerNamePort'][$value] : '';
    						if(!$virtualHost['port_listen'] && $virtualHost['ServerNamePortListen'][$value] !== true || $virtualHost['ServerNamePortApacheVar'][$value] !== true) {
    							$value_url = ((strpos($value, ':') !== false) ? strstr($value,':',true) : $value);
    							$vhostsContents .= '<li>'.$value_url.$UrlPortVH.' - <i style="color:red;">Not a Listen port</i></li>';
    							if($virtualHost['ServerNamePortListen'][$value] !== true)
    								$msg_error = ' not an Apache Listen port';
    							elseif($virtualHost['ServerNamePortApacheVar'][$value] !== true)
    								$msg_error = ' not an Apache define variable';
    							if(!$vhostError) {
    								$vhostError = true;
    								$vhostErrorCorrected = false;
    								$error_message[] = "Port ".$UrlPortVH." used for the VirtualHost is ".$msg_error;
    							}
    						}
    						elseif($virtualHost['ServerNameIp'][$value] !== false) {
    							$vh_ip = $virtualHost['ServerNameIp'][$value];
    							if($virtualHost['ServerNameIpValid'][$value] !== false) {
    								$vhostsContents .= '<li><a href="http://'.$vh_ip.$UrlPortVH.'">'.$vh_ip.'</a> <i>('.$value.')</i></li>';
    							}
    							else {
    								$vhostError = true;
    								$vhostErrorCorrected = false;
    								$vhostsContents .= '<li>'.$vh_ip.' for '.$value.' - <i style="color:red;">IP not valid</i></li>';
    								$error_message[] = sprintf($langues['txtServerNameIp'],"<span style='color:black;'>".$vh_ip."</span>","<span style='color:black;'>".$value."</span>",$virtualHost['vhosts_file']);
    							}
    						}
    						elseif($virtualHost['DocRootNotwww'][$value] === false) {
    							$vhostError = true;
    							$vhostErrorCorrected = false;
    							$vhostsContents .= '<li>'.$value.' - <i style="color:red;">DocumentRoot error</i></li>';
    							$error_message[] = sprintf($langues['txtDocRoot'],"<span style='color:black;'>".$value."</span>","<span style='color:black;'>".$wwwDir."</span>");
    						}
    						else {
    							$value_url = ((strpos($value, ':') !== false) ? strstr($value,':',true) : $value);
    							$vhostsContents .= '<li><a href="http://'.$value_url.$UrlPortVH.'">'.$value.'</a></li>';
    						}
    					}
    					else {
    						$vhostError = true;
    						$error_message[] = sprintf($langues['txtVhostNotClean'],$virtualHost['vhosts_file']);
    					}
    				}
    				//Check number of <Directory equals </Directory
    				if($nb_End_Directory != $nb_Directory) {
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = sprintf($langues['txtNbNotEqual'],"&lt;Directory ....&gt;","&lt;/Directory&gt;",$virtualHost['vhosts_file']);
    				}
    				//Check number of DocumentRoot equals to number of ServerName
    				if($nb_Document != $nb_Server) {
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = sprintf($langues['txtNbNotEqual'],"DocumentRoot","ServerName",$virtualHost['vhosts_file']);
    				}
    				//Check validity of DocumentRoot
    				if($virtualHost['document'] === false) {
    					foreach($virtualHost['documentPath'] as $value) {
    						if($virtualHost['documentPathValid'][$value] === false) {
    							$documentPathError = $value;
    							$vhostError = true;
    							$vhostErrorCorrected = false;
    							$error_message[] = sprintf($langues['txtNoPath'],"<span style='color:black;'>".$value."</span>", "DocumentRoot", $virtualHost['vhosts_file']);
    							break;
    						}
    					}
    				}
    				//Check validity of Directory Path
    				if($virtualHost['directory'] === false) {
    					foreach($virtualHost['directoryPath'] as $value) {
    						if($virtualHost['directoryPathValid'][$value] === false) {
    							$documentPathError = $value;
    							$vhostError = true;
    							$vhostErrorCorrected = false;
    							$error_message[] = sprintf($langues['txtNoPath'],"<span style='color:black;'>".$value."</span>", "&lt;Directory ...", $virtualHost['vhosts_file']);
    							break;
    						}
    					}
    				}
    				//Check number of <VirtualHost equals or > to number of ServerName
    				if($nb_Server != $nb_Virtual && $wampConf['NotCheckDuplicate'] == 'off') {
    					$port_number = false;
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = sprintf($langues['txtNbNotEqual'],"&lt;VirtualHost","ServerName",$virtualHost['vhosts_file']);
    				}
    				//Check number of port definition of <VirtualHost *:xx> equals to number of ServerName
    				if($virtualHost['nb_Virtual_Port'] != $nb_Virtual && $wampConf['NotCheckDuplicate'] == 'off') {
    					$port_number = false;
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = sprintf($langues['txtNbNotEqual'],"port definition of &lt;VirtualHost *:xx&gt;","ServerName",$virtualHost['vhosts_file']);
    				}
    				//Check validity of port number
    				if($port_number && $virtualHost['port_number'] === false) {
    					$port_number = false;
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = sprintf($langues['txtPortNumber'],"&lt;VirtualHost *:port&gt;",$virtualHost['vhosts_file']);
    				}
    				//Check if duplicate ServerName
    				if($virtualHost['nb_duplicate'] > 0) {
    					$DuplicateNames = '';
    					foreach($virtualHost['duplicate'] as $NameValue)
    						$DuplicateNames .= " ".$NameValue;
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = "Duplicate ServerName <span style='color:blue;'>".$DuplicateNames."</span> into ".$virtualHost['vhosts_file'];
    				}
    				//Check if duplicate Server IP
    				if($virtualHost['nb_duplicateIp'] > 0) {
    					$DuplicateNames = '';
    					foreach($virtualHost['duplicateIp'] as $NameValue)
    						$DuplicateNames .= " ".$NameValue;
    					$vhostError = true;
    					$vhostErrorCorrected = false;
    					$error_message[] = "Duplicate IP <span style='color:blue;'>".$DuplicateNames."</span> into ".$virtualHost['vhosts_file'];
    				}
    			}
    		}
    	}
    	if(empty($vhostsContents)) {
    		$vhostsContents = "<li><i style='color:red:'>No VirtualHost</i></li>";
    		$vhostError = true;
    		$error_message[] = sprintf($langues['txtNoVhost'],$wampConf['apacheVersion']);
    	}
    	if(!$c_hostsFile_writable){
    		$vhostError = true;
    		$error_message[] = sprintf($langues['txtNotWritable'],$c_hostsFile);
    	}
    	if($vhostError) {
    		$vhostsContents .= "<li><i style='color:red;'>Error(s)</i> See below</li>";
    		$error_content .= "<p style='color:red;'>";
    		foreach($error_message as $value) {
    			$error_content .= $value."<br />";
    		}
    		$error_content .= "</p>\n";
    		if($vhostErrorCorrected)
    			$addVhost = "<li><a href='add_vhost.php?lang=".$langue."'>".$langues['txtAddVhost']."</a> <span style='font-size:0.72em;color:red;'>".$langues['txtCorrected']."</span></li>";
    	}
    }
    else {
        $allToolsClass = "three-columns";
    }
     
    //Fin Récupération ServerName
     
    // récupération des projets
    $handle=opendir(".");
    $projectContents = '';
    while (($file = readdir($handle))!==false)
    {
    	if (is_dir($file) && !in_array($file,$projectsListIgnore))
    	{
    		$projectContents .= '<li><a href="';
    		if($suppress_localhost)
    			$projectContents .= 'http://'.$file.$UrlPort.'/"';
    		else
    			$projectContents .= 'http://localhost'.$UrlPort.'/'.$file.'/"';
    		$projectContents .= '>'.$file.'</a></li>';
    	}
    }
    closedir($handle);
    if (empty($projectContents))
    	$projectContents = "<li>".$langues['txtNoProjet']."</li>\n";
    else {
    	if(strpos($projectContents,"http://localhost/") !== false) {
    		$projectContents .= "<li><i style='color:blue;'>Warning:</i> See below</li>";
    		if(!isset($error_content))
    			$error_content = '';
    		$error_content .= "<p style='color:blue;'>".sprintf($langues['nolocalhost'],$wampConf['apacheVersion'])."</p>";
    	}
    }
     
    //initialisation
    $phpExtContents = '';
     
    // récupération des extensions PHP
    $loaded_extensions = get_loaded_extensions();
    // classement alphabétique des extensions
    setlocale(LC_ALL,"{$langues['locale']}");
    sort($loaded_extensions,SORT_LOCALE_STRING);
    foreach ($loaded_extensions as $extension)
    	$phpExtContents .= "<li>${extension}</li>";
     
    //vérifications diverses - Quel php.ini est chargé ?
    $phpini = strtolower(trim(str_replace("\\","/",php_ini_loaded_file())));
    $c_phpConfFileOri = strtolower($c_phpVersionDir.'/php'.$wampConf['phpVersion'].'/'.$phpConfFileForApache);
    $c_phpCliConf = strtolower($c_phpVersionDir.'/php'.$wampConf['phpVersion'].'/'.$wampConf['phpConfFile']);
     
    if($phpini != strtolower($c_phpConfFile) && $phpini != $c_phpConfFileOri) {
    	$error_content .= "<p style='color:red;'>*** ERROR *** The PHP configuration loaded file is: ".$phpini." - should be: ".$c_phpConfFile." or ".$c_phpConfFileOri;
    	$error_content .= "<br>You must perform: <span style='color:green;'>Right-click icon Wampmanager -> Refresh</span><br>";
    	if($phpini == $c_phpCliConf || $phpini == $c_phpCliConfFile)
    		$error_content .= " - This file is only for PHP in Command Line - Maybe you've added 'PHPIniDir' in the 'httpd.conf' file. Delete or comment this line.";
    	$error_content .= "</p>";
    }
    if($filelist = php_ini_scanned_files()) {
    	if (strlen($filelist) > 0) {
    		$error_content .= "<p style='color:red;'>*** ERROR *** There are too much php.ini files</p>";
    		$files = explode(',', $filelist);
    		foreach ($files as $file) {
    			$error_content .= "<p style='color:red;'>*** ERROR *** There are other php.ini files: ".trim(str_replace("\\","/",$file))."</p>";
    		}
    	}
    }
     
    $pageContents = <<< EOPAGE
    <!DOCTYPE html>
    <html>
    <head>
    	<title>{$langues['titreHtml']}</title>
    	<meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width">
    	<link id="stylecall" rel="stylesheet" href="wampthemes/classic/style.css" />
    	<link rel="shortcut icon" href="index.php?img=favicon" type="image/ico" />
    </head>
     
    <body>
      <div id="head">
        <div class="innerhead">
    	    <h1><abbr title="Windows">W</abbr><abbr title="Apache">A</abbr><abbr title="MySQL">M</abbr><abbr title="PHP">P</abbr></h1>
    		   <ul>
    		    <li>PHP 5</li>
    			   <li>Apache 2.4</li>
    			   <li>MySQL 5</li>
    		   </ul>
         </div>
    		<ul class="utility">
    		  <li>Version ${c_wampVersion} - ${c_wampMode}</li>
          <li>${langueswitcher}${styleswitcher}</li>
    	  </ul>
    	</div>
     
    	<div class="config">
    	    <div class="innerconfig">
     
    	        <h2> {$langues['titreConf']} </h2>
     
    	        <dl class="content">
    		        <dt>{$langues['versa']}</dt>
    		            <dd>${apacheVersion}&nbsp;&nbsp;-&nbsp;<a href='http://{$langues[$doca_version]}'>{$langues['documentation']}</a></dd>
    		        <dt>{$langues['versp']}</dt>
    		            <dd>${phpVersion}&nbsp;&nbsp;-&nbsp;<a href='http://{$langues['docp']}'>{$langues['documentation']}</a></dd>
    		        <dt>{$langues['server']}</dt>
    		            <dd>${server_software}&nbsp;-&nbsp;{$langues['portUsed']}{$ListenPorts}</dd>
    		        <dt>{$langues['phpExt']}</dt>
    		            <dd>
    			            <ul>
    			                ${phpExtContents}
    			            </ul>
    		            </dd>
    						${MySQLdb}
    		        ${MariaDB}
    	        </dl>
            </div>
        </div>
     
        <div class="divider1">&nbsp;</div>
     
        <div class="alltools ${allToolsClass}">
    	    <div class="inneralltools">
    	        <div class="column">
    	            <h2>{$langues['titrePage']}</h2>
    	            <ul class="tools">
    		            <li><a href="?phpinfo=1">phpinfo()</a></li>
    		            {$phpmyadminTool}
    		            {$addVhost}
    	            </ul>
    	        </div>
    	        		<div class="column">
    	            <h2>{$langues['txtProjet']}</h2>
    	            <ul class="projects">
    	                ${projectContents}
    	            </ul>
    	        </div>
    	        	<div class="column">
    	            <h2>{$langues['txtAlias']}</h2>
    	            <ul class="aliases">
    	                ${aliasContents}
    	            </ul>
    	        </div>
    EOPAGE;
    if($VirtualHostMenu == "on") {
    $pageContents .= <<< EOPAGEA
    	        <div class="column">
    	            <h2>{$langues['txtVhost']}</h2>
    	            <ul class="vhost">
    	                ${vhostsContents}
    	            </ul>
    	        </div>
    EOPAGEA;
    }
    if(!empty($error_content)) {
    $pageContents .= <<< EOPAGEB
    	<div id="error" style="clear:both;"></div>
    	${error_content}
    EOPAGEB;
    }
    $pageContents .= <<< EOPAGEC
            </div>
        </div>
     
    	<div class="divider2">&nbsp;</div>
     
    	<ul id="foot">
    		<li><a href="{$langues['forumLink']}">{$langues['forum']}</a></li>
    	</ul>
     
    <script>
    var select = document.getElementById("themes");
    if (select.addEventListener) {
        /* Only for modern browser and IE > 9 */
        var stylecall = document.getElementById("stylecall");
        /* looking for stored style name */
        var wampStyle = localStorage.getItem("wampStyle");
        if (wampStyle !== null) {
            stylecall.setAttribute("href", "wampthemes/" + wampStyle + "/style.css");
            selectedOption = document.getElementById(wampStyle);
            selectedOption.setAttribute("selected", "selected");
        }
        else {
            localStorage.setItem("wampStyle","classic");
            selectedOption = document.getElementById("classic");
            selectedOption.setAttribute("selected", "selected");
        }
        /* Changing style when select change */
     
        select.addEventListener("change", function(){
            var styleName = this.value;
            stylecall.setAttribute("href", "wampthemes/" + styleName + "/style.css");
            localStorage.setItem("wampStyle", styleName);
        })
    }
    </script>
    </body>
    </html>
    EOPAGEC;
     
    echo $pageContents;
     
    ?>
    // ...
    preg_match('|mysqlVersion = (.*)\n|',$wampConfFileContents,$result);
    $mysqlVersion = str_replace('"','',$result[1]);
    preg_match('|postgresqlVersion = (.*)\n|',$wampConfFileContents,$result);
    $postgresqlVersion = str_replace('"','',$result[1]); 
    // ...
    'versm' => 'MySQL Version :',
    'verspg' => 'PostgreSQL Version :',
     
    // ...
    'versm' => 'Version de MySQL:',
    'verspg' => 'Version de PostgreSQL:',
     
    // ...
    <dt>{$langues[$langue]['versm']}</dt>
    <dd>${mysqlVersion} &nbsp;</dd>
    <dt>{$langues[$langue]['verspg']}</dt>
    <dd>${postgresqlVersion} &nbsp;</dd>
     
    // ...
    <li><a href="phpmyadmin/">phpmyadmin</a></li>
    <li><a href="phppgadmin/">phppgadmin</a></li>
    J'ai activer PostgreSQL dans php.ini en enlevant les ;
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    extension=php_bz2.dll
    extension=php_curl.dll
    ;extension=php_com_dotnet.dll
    ;extension=php_enchant.dll
    extension=php_fileinfo.dll
    extension=php_gd2.dll
    extension=php_gettext.dll
    extension=php_gmp.dll
    extension=php_intl.dll
    extension=php_imap.dll
    ;extension=php_interbase.dll
    extension=php_ldap.dll
    extension=php_mbstring.dll
    extension=php_exif.dll      ; Must be after mbstring as it depends on it
    extension=php_mysql.dll
    extension=php_mysqli.dll
    ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    extension=php_openssl.dll
    ;extension=php_pdo_firebird.dll
    extension=php_pdo_mysql.dll
    ;extension=php_pdo_oci.dll
    ;extension=php_pdo_odbc.dll
    extension=php_pdo_pgsql.dll
    extension=php_pdo_sqlite.dll
    extension=php_pgsql.dll
    extension=php_shmop.dll
    extension=php_pdo_pgsql.dll
    extension=php_pgsql.dll
    J'ai enfin renseigné les PATH.

    Merci de m'aider à trouver le problème.

  2. #2
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    mais PostgreSQL ne s'affiche pas dans phpmyadmin.
    Phpmyadmin est un outil de gestion des bases mysql.
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  3. #3
    Membre habitué Avatar de sondo
    Homme Profil pro
    Assistant aux utilisateurs
    Inscrit en
    Août 2004
    Messages
    540
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Assistant aux utilisateurs
    Secteur : Service public

    Informations forums :
    Inscription : Août 2004
    Messages : 540
    Points : 162
    Points
    162
    Par défaut
    Salut Sabotage,

    Je me suis mal exprimé alors. Je devrait dire Installer PostgreSQL avec Wamp.
    C'est ce que je vois dans ce site : http://www.mickaelsylvestre.com/2013...sql-avec-wamp/

  4. #4
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    L'article que tu donnes parles surtout de l'installation de Postgresql lui même et de l'outil PhpPgAdmin.

    Pour la partie Wamp c'est tout simple : Dans le menu Wamp - PHP - Extension, il suffit de cocher "php_pgsql" ou "php_pdo_pgsql".
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  5. #5
    Membre habitué Avatar de sondo
    Homme Profil pro
    Assistant aux utilisateurs
    Inscrit en
    Août 2004
    Messages
    540
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Assistant aux utilisateurs
    Secteur : Service public

    Informations forums :
    Inscription : Août 2004
    Messages : 540
    Points : 162
    Points
    162
    Par défaut
    Bonjour à tous,

    Pour la partie Wamp c'est tout simple : Dans le menu Wamp - PHP - Extension, il suffit de cocher "php_pgsql" ou "php_pdo_pgsql".
    Je l'avais déjà fait. Mais quand on se connecte sur http://localhost/phpmyadmin/, on ne voit que Mysql et MariaDB activé.
    Comment avoir PostgreSQL dans la liste? J'ai suivis le tutoriel mais je n'ai pas obtenu le résultat escompté.

Discussions similaires

  1. comment ajouter postgresql à jboss 4.2.3GA?
    Par nbs230591 dans le forum Wildfly/JBoss
    Réponses: 0
    Dernier message: 07/02/2016, 09h17
  2. Réponses: 1
    Dernier message: 16/02/2011, 11h45
  3. Wamp Postgresql Ruby
    Par triaguae dans le forum Ruby
    Réponses: 3
    Dernier message: 01/11/2010, 08h07
  4. ajout dans une base postgresql
    Par anisj1m dans le forum Wildfly/JBoss
    Réponses: 6
    Dernier message: 15/10/2008, 09h47
  5. [PostGreSQL] Requête d'insertion qui ajoute des champs vides
    Par civodultrebor37 dans le forum PHP & Base de données
    Réponses: 6
    Dernier message: 30/10/2006, 14h16

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo