Basicly i want to Lampp's Apache web server as main webserver for 3 Databases type that i have mysql (bundling with Lampp default),PostgreSql-10 (fully installed and tested),MongoDb (not yet started to install). i have a problem with the postgre DB that wont connect with my web in xampp apache htdocs i run a test in a test folder index.php for testing connection like this..
$connection = pg_connect ("host=localhost dbname=survey user=postgres password=linux101114");
if($connection) {
echo 'connected';
} else {
echo 'there has been an error connecting';
}
but when i run it return just a blank page.. any suggestion for me i need a web server like apache that can run multiple web with 3 type database connection.. (pgsql,mysql,monggo)
php index.php
locally?cd
to the directory where this pageindex.php
is stored, and enterphp index.php
.