#41  
Old 24th January 2007, 10:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,665
Thanks: 819
Thanked 5,316 Times in 4,169 Posts
Default

Quote:
Post to where??
To this forum thraed
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #42  
Old 4th March 2007, 19:47
BigMember BigMember is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Patched?

Quote:
Originally Posted by till
We are working on a patch for the installer, that PHP will be compiled with postgresql support if the setup script finds an postgres server.
When installing from ISPConfig-2.2.10 do I need to add --with-pgsql to the compile file, or does the new ispconfig versions have this 'patch for the installer'?
Reply With Quote
  #43  
Old 4th March 2007, 19:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,665
Thanks: 819
Thanked 5,316 Times in 4,169 Posts
Default

Quote:
Originally Posted by BigMember
When installing from ISPConfig-2.2.10 do I need to add --with-pgsql to the compile file, or does the new ispconfig versions have this 'patch for the installer'?
You dont have to modify the installer. Just make sure that you have postgresql, the postgresql client and the postgresql development package from your linux distribution installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #44  
Old 4th March 2007, 20:03
BigMember BigMember is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
You dont have to modify the installer. Just make sure that you have postgresql, the postgresql client and the postgresql development package from your linux distribution installed.
How do I make sure these are installed? Would it be correct to type these commands to check or not? I am using Fedora Core 6 The Perfect Setup Installing a Lamp Server.

rpm -q postgresql-devel
rpm -q postgresql

Last edited by BigMember; 4th March 2007 at 20:05.
Reply With Quote
  #45  
Old 5th March 2007, 18:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by BigMember
rpm -q postgresql-devel
rpm -q postgresql
That should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #46  
Old 6th March 2007, 16:43
BigMember BigMember is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default rpm check output

Here is my output

[root@lexx ~]# rpm -q postgresql
postgresql-8.1.4-1.1
[root@lexx ~]# rpm -q postgresql-devel
package postgresql-devel is not installed
[root@lexx ~]# rpm -q postgresql-dev
package postgresql-dev is not installed
[root@lexx ~]# rpm -q php-pgsql
php-pgsql-5.1.6-3.4.fc6
Reply With Quote
  #47  
Old 7th March 2007, 09:57
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

So you need to install postgresql-dev or postgresql-devel. I don't know fedora well, but I think you can use yum to install them.

Last edited by jnsc; 7th March 2007 at 23:00.
Reply With Quote
  #48  
Old 7th March 2007, 19:36
BigMember BigMember is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default no luck

I installed postgresql-devel with yum. I did these commands

[root@lexx ~]# rpm -q postgresql
postgresql-8.1.8-1.fc6
[root@lexx ~]# rpm -q postgresql-devel
postgresql-devel-8.1.8-1.fc6
[root@lexx ~]# rpm -q php-pgsql
php-pgsql-5.1.6-3.4.fc6

I upagraded my ispconfig to newest version, and installed the phppgadmin addon package.

When I access the phppgadmin webpage on port 81 it gives me a login screen, and when I try to login, it says in my web browser "Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option."
Reply With Quote
  #49  
Old 7th March 2007, 21:06
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Before starting the installation of ISPConfig you need to modify (in the extracted directory) the makefiles for php used by ISPConfig. So the steps to do would be:
  1. extract the installation tar file
  2. find the php source directory
  3. locate the makefile for php
  4. change the makefile (probably the Makefile.PL) to add the --with-pgsql flag
  5. change to the top installation directory
  6. start the install script
This is all untested.
Reply With Quote
  #50  
Old 8th March 2007, 13:36
BigMember BigMember is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default i don't get it

Quote:
Originally Posted by martinfst
Before starting the installation of ISPConfig you need to modify (in the extracted directory) the makefiles for php used by ISPConfig. So the steps to do would be:
  1. extract the installation tar file
  2. find the php source directory
  3. locate the makefile for php
  4. change the makefile (probably the Makefile.PL) to add the --with-pgsql flag
  5. change to the top installation directory
  6. start the install script
This is all untested.
1. How am i supposed to find the php source directory?
2. I cannot locate a makefile for php
3. I cannot find a file that is PROBABLY named Makefile.PL

Quote:
Originally Posted by till
You dont have to modify the installer. Just make sure that you have postgresql, the postgresql client and the postgresql development package from your linux distribution installed.
Which suggestion is right since they contradict each other? Do I need to modify the installer or not?

postgresql and postgresql-devel were installed before installing ispconfig, and the phppgadmin addon package.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.