#1  
Old 4th August 2005, 23:19
boardmain boardmain is offline
Junior Member
 
Join Date: Aug 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default PostgreSQL

i'have created the update package for install
phppgadmin

but when i try to launch it i have the errore message becouse
php isn't copiled with --with-pgsql
this error if related to apache of ispconfig webserver or system apache?

how i can solve it?

(the request is for a official postgresql release :P )
__________________
Samuele
http://www.myfav.it/

Last edited by boardmain; 26th October 2005 at 14:29.
Reply With Quote
Sponsored Links
  #2  
Old 5th August 2005, 08:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
Default

Quote:
Originally Posted by boardmain
i'have created the update package for install
phppgadmin

but when i try to launch it i have the errore message becouse
php isn't copiled with --with-pgsql
this error if related to apache of ispconfig webserver or system apache?

how i can solve it?

(the request is for a official postgresql release :P )
This is related to the PHP / apache of ISPConfig.

To compile the ISPConfig PHP with postgres:

1) Download the ISPConfig installer tar.gz and unpack it.
2) cd istall_ispconfig/compile_aps
3) Edit the script "compile" in the compile_aps folder and add the
--with-pgsql directive in the PHP configure statement (line 85)
4) Stop ISPConfig: /etc/init.d/ispconfig_server stop
5) Run the compile script ( ./compile)
4) Start ISPConfig: /etc/init.d/ispconfig_server start

Remark: This is untested

May you send the phppgadmin package to dev [at] ispconfig [dot] org
when everything is working? Then we can put it on the downloads page.
Reply With Quote
  #3  
Old 5th August 2005, 10:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by till
To compile the ISPConfig PHP with postgres:

1) Download the ISPConfig installer tar.gz and unpack it.
2) cd istall_ispconfig/compile_aps
3) Edit the script "compile" in the compile_aps folder and add the
--with-pgsql directive in the PHP configure statement (line 85)
4) Stop ISPConfig: /etc/init.d/ispconfig_server stop
5) Run the compile script ( ./compile)
4) Start ISPConfig: /etc/init.d/ispconfig_server start

Remark: This is untested
This won't work!
You must unpack the ISPConfig sources again, edit install_ispconfig/compile_aps/compile and change the PHP configure statement (add --with-pgsql) and then re-install ISPConfig (yes, you can install it over an existing installation)!
__________________
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
  #4  
Old 5th August 2005, 10:36
boardmain boardmain is offline
Junior Member
 
Join Date: Aug 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok i have reinstalled (if u compile after installation.. the dir ispconfig is deleted :/.... )

but now it works

i'have sended it on dev@ispconfig.org

bye

Samuele Coppedč.
Reply With Quote
  #5  
Old 10th August 2005, 17:41
Tribal-Dolphin Tribal-Dolphin is offline
Member
 
Join Date: Jul 2005
Location: Rives - Isčre - FRANCE
Posts: 50
Thanks: 0
Thanked 1 Time in 1 Post
Default

It can be interesting to add supprot of PostgreSQL to ISPConfig otherwise this plugin will have that can of interest
Reply With Quote
  #6  
Old 10th August 2005, 19:01
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
Default

Quote:
Originally Posted by Tribal-Dolphin
It can be interesting to add supprot of PostgreSQL to ISPConfig otherwise this plugin will have that can of interest
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. We will add the postgres Addon to the dowloads page, when postgres support is available.
Reply With Quote
  #7  
Old 10th August 2005, 20:42
Tribal-Dolphin Tribal-Dolphin is offline
Member
 
Join Date: Jul 2005
Location: Rives - Isčre - FRANCE
Posts: 50
Thanks: 0
Thanked 1 Time in 1 Post
Default

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. We will add the postgres Addon to the dowloads page, when postgres support is available.
Great
We can add this to the roadmap ?
Reply With Quote
  #8  
Old 12th August 2005, 10:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
Default

Quote:
Originally Posted by Tribal-Dolphin
Great
We can add this to the roadmap ?
I've added it to the roadmap
Reply With Quote
  #9  
Old 22nd August 2005, 01:22
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

I installed php from the begining with all option, so I would need the prostgresql support now for our hosted websites. Especially I would need to make Hostingpackages where I can giv e the maximum databases in PostgreSql and if a postgresql database will be addes to the hosting packages or not. Is it possible to get the code for this addon now? Is it possible to have a look to the SVN without downloading the whole source code?

hkaiser

Last edited by hkaiser; 22nd August 2005 at 01:26.
Reply With Quote
  #10  
Old 22nd August 2005, 08:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
 
Default

Quote:
Originally Posted by hkaiser
Hi,

I installed php from the begining with all option, so I would need the prostgresql support now for our hosted websites. Especially I would need to make Hostingpackages where I can giv e the maximum databases in PostgreSql and if a postgresql database will be addes to the hosting packages or not. Is it possible to get the code for this addon now? Is it possible to have a look to the SVN without downloading the whole source code?

hkaiser
The things you need are not part of the addon currently developed. The addon includes only the possibility to run phppgadmin, nothing more.

I will put the phppgadmin online on the download page, but you can use it only with a reinstallation of ISPConfig and the steps perfomed in the thread above.
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 18:29.


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