- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
PostgreSQL extension for PHP5 with ownCloud
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PostgreSQL extension for PHP5 with ownCloud
Is there a simple way to add the PostqgreSQL extension to PHP5 on a ReadyNAS Duo so I can use a remote PostgreSQL instance with ownCloud?
Steve
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Hi winnall,
Not quite sure about this. But let's see if @WhoCares_ can help 🙂
ownCloud ReadyNAS Community page
Kind regards,
BrianL
NETGEAR Community Team
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
What version of PHP do you have installed?
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Hi Stefan
I've got your latest PHP version from the community downloads page: 5.4.45.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Here's a link to the PHP PostgreSQL module for your version of PHP: https://www.dropbox.com/s/eqhdlik0h17wofh/php5-pgsql_5.4.45-0rnx1_i386.deb?dl=0
You'll most likely also need the base PostgreSQL library: https://www.dropbox.com/s/3ulqqxsgp8bqu46/libpq4_8.1.19-0etch1_i386.deb?dl=0
Both need to be installed on the command line of the ReadyNAS using
dpkg -i <name of .deb file>
There may be additional dependencies. The files needed sould be available here: http://archive.debian.org/debian/pool/main/
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Hi Stefan
Thanks for this. However, looking at the names of the files, they appear to be for Intel machines (i386). I've got a Duo, which is Sparc.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
However, I infer from your reply that the OS on the ReadNAS is a Debian. I hadn't realised that. I should be able to find the appropriate packages my self.
Thanks a lot for your help.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
My bad, I really shouldn't do ReadyNAS stuff while at work 😉
Here's the correct link for the PHP module: https://www.dropbox.com/s/du4a7bwne35zg68/php5-pgsql_5.4.45-0rnx1_sparc.deb?dl=0
And here's the Postgres library for Sparc: http://archive.debian.org/debian/pool/main/p/postgresql-8.1/libpq4_8.1.19-0etch1_sparc.deb
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
I doubt you'll get PHP 5.4.45 for Debian etch on Sparc anywhere except from me 😉
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Having looked on Debian's site, I see what you mean 😀
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Got this trying to install libpq4_8.1.19-0etch1_sparc.deb:
Selecting previously deselected package libpq4. (Reading database ... 23253 files and directories currently installed.) Unpacking libpq4 (from libpq4_8.1.19-0etch1_sparc.deb) ... dpkg: dependency problems prevent configuration of libpq4: libpq4 depends on libc6 (>= 2.3.5-1); however: Version of libc6 on system is 2.3.2.ds1-22sarge6.infrant1. dpkg: error processing libpq4 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: libpq4
I'm guessing it needs a sarge version.
Steve
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Nah, most likely I backported that too. Let me check.
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PostgreSQL extension for PHP5 with ownCloud
Nope. Seems to be the one from sarge indeed.
-Stefan