1
vote
0answers
267 views

pgsql troubles on centOS 5 with directadmin

I'm having trouble configuring pgsql for PHP 5.2 on the server I administer. It's a DirectAdmin enabled server, and the contents of ap2/configure.php5 are: #!/bin/sh ./configure \ --with-apxs2 \ ...
0
votes
1answer
330 views

PHP script times out after 60 seconds on Apache

An old site I've inherited has a script that users can run from the CMS that basically pulls out all the products from the database table and exports them as a xls file. There aren't that many ...
0
votes
0answers
680 views

Get PHP to support PostgreSQL on Windows 7

I have figured out the issue. I needed to change the extension_dir. I had changed it to the correct path before, but because either I had the wrong version of PostgreSQL, or the libpq.dll, that change ...
4
votes
2answers
2k views

Can't Login to phpPgAdmin

I'm trying to set up phpPgAdmin on my test machine so that I can interface with PostgreSQL without always having to use the psql CLI. I have PostgreSQL 9.1 installed via the RPM repository, while I ...
0
votes
1answer
599 views

Error in osm data data import while nominatim installation

I am doing nominatim installation on my server. I run the following command ./utils/setup.php --osm-file /usr/share/osm2pgsql/planetfile/planet-latest.osm.pbf --all to import the pbf file and Few ...
1
vote
1answer
389 views

MediaWiki Internal Error

I have been running a mediawiki server for many years now at my company. Recently to combat a problem I was having with PDF uploading when they contained metadata, I have moved to the latest revision ...
1
vote
0answers
233 views

Apaches seems to not be shutting down Established TCP connections

I have a needle in a haystack type problem I'm trying to track down. Have not been able to recreate it on test servers. The symptom is TCP connections left in an ESTABLISHED state so don't seen to ...
0
votes
1answer
234 views

Where's To Download PHP5-PGSQL Modules for RHEL 4

I wanna ask where and how to install PHP-PGSQL modules for RHEL4. Because I've tried "yum install php5-pgsql" not found, I've tried "php-pgsql" the message my modules is more update than it anyone can ...
0
votes
1answer
394 views

PostgreSQL 9.0 and PHP on Amazon EC2

How can I enable PostgreSQL 9.0 support in PHP on my Amazon EC2 instance? I'm running the free 32 bit Linux Micro instance. I've installed PostgreSQL 9.0 by following these instructions ...
1
vote
0answers
104 views

Add new ODBC driver libs to PHP on OS X 10.6?

I'm trying to access a PostgreSQL datasource via ODBC from the installed stock PHP (OS X 10.6). Queries just hang, and I'm suspecting it can't find the PostgreSQL driver library which was installed ...
1
vote
1answer
42 views

mediawiki database error when uploading some PDF files

I'm running a private mediawiki server on a Gentoo Linux box with Apache, PHP and Postgresql-9.0. Sometimes when one of us tries to upload a PDF file (that's the only type I've ever seen it happen ...
3
votes
3answers
337 views

php postgres night mares

A lecturer demanded that we do some homework in PHP and PostgreSQL, so I downloaded a package off the internet called "The BitNami WAPPStack" which had php, phpPgAdmin. The problem is I have failed ...
1
vote
1answer
1k views

PostgreSQL pg_hba.conf with “password” auth wouldn't work with PHP pg_connect?

I've recently experimented with the settings in pg_hba.conf. I read the PostgreSQL documentation and I though that the "password" auth method is what I want. There are many people that have access to ...
0
votes
1answer
655 views

PHP5, curl, PostgreSQL, SSL, and segmentation faults (ubuntu 10.04)

This ONLY happens over SSL.. When I load my PHP extensions like so: extension=pgsql.so extension=gd.so extension=mcrypt.so extension=memcache.so extension=pdo.so extension=pdo_pgsql.so ...
1
vote
1answer
305 views

Postgres error messages in Apache error log

I'm running Apache 2.2, PHP 5.2, and Postgres 8.2 on Windows, and I'm seeing something funky in Apache's error.log file. Occasionally, I'll see the message "row number -1 is out of range 0..-1" pop ...
0
votes
3answers
155 views

Setting up my own hosting

I have a Linode VPS. This means I have root access; well, I thought I'd offer a bit of shared hosting. How do you get started doing this? I'm wanting to give PHP, MySQL, and PostgreSQL. Also, I'm ...
2
votes
1answer
4k views

How to install PostgreSQL extension for PDO in Linux?

I have the VPS. I can build my PHP version using Easy Apache. I can find the option for PDO support for MySQL, SQLite. But I don't have any option of PDO pgsql driver. How can I enable that? It says ...
0
votes
2answers
5k views

To get PHP communicate with PostgreSQL

My PHP code which I try to use in Firefox <?php // Connecting, selecting database $dbconn = pg_connect("host=localhost dbname=masi user=postgres password=abc") or die('Could not connect'); ...