#11  
Old 22nd August 2005, 22:41
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

Thanks for the addon. I would like to know how you control that not more than the databases
which you specified in the hostingplan are created by the user for Mysql? I want to add this functionality for postgresql too.

hkaiser
Reply With Quote
Sponsored Links
  #12  
Old 22nd August 2005, 22:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Quote:
Originally Posted by hkaiser
Hi,

Thanks for the addon. I would like to know how you control that not more than the databases
which you specified in the hostingplan are created by the user for Mysql? I want to add this functionality for postgresql too.

hkaiser
Thats easy because the databases where created by scripts in ispconfig and not trough phpmyadmin. The rights of the mySQL users of the clients does not allow the creation of new databases so they cant exceed their database limit with phpmyadmin.
Reply With Quote
  #13  
Old 23rd August 2005, 00:16
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

How this script is called? Maybe I can adopt it to postgresql and add it then to the database creation dialog in ISPConfig.

hkaiser

Last edited by hkaiser; 23rd August 2005 at 02:06.
Reply With Quote
  #14  
Old 23rd August 2005, 11:22
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

Hi,

You have to create a form with the Form Designer like the existant form named isp - ISP Datenbank.

Then, you have also to create a class for managing PostgreSQL database. The mySQL one is called ispconfig_isp_datenbank.lib.php. you can find it in /home/admispconfig/lib/classes directory.
Reply With Quote
  #15  
Old 21st September 2005, 15:53
stuntshell stuntshell is offline
Junior Member
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Error compiling PHP

I'm getting this error compiling it on a Fedora Core 4 (ISP 2.0.9):
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
ERROR: Could not configure PHP

Please advise!
Regards,

Last edited by stuntshell; 21st September 2005 at 15:55. Reason: Adding System Info!
Reply With Quote
  #16  
Old 21st September 2005, 16:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Quote:
Originally Posted by stuntshell
I'm getting this error compiling it on a Fedora Core 4 (ISP 2.0.9):
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
ERROR: Could not configure PHP

Please advise!
Regards,
This means thet the PHP configure script can not find your postgresql libs. Try to speify the path in the PHP configure statement with:

--with-pgsql=/path/to/your/postges/libs
Reply With Quote
  #17  
Old 11th November 2005, 19:02
yeemin yeemin is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I try to install it at Fedora 4 but I just install postgreSQL (no MySQL installed at my system), I've got the error message like this:



how can I do, please?

Last edited by yeemin; 13th November 2005 at 19:52.
Reply With Quote
  #18  
Old 11th November 2005, 19:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Quote:
Originally Posted by yeemin
When I try to install it at Fedora 4 but I just install postgreSQL (no MySQL installed at my system), I've got the error message like this:



how can I do, please?
You cant install ISPConfig without mySQL on your system. MySQL and the mysql devel packages must be installed.
Reply With Quote
  #19  
Old 11th November 2005, 19:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Have a look at the prerequisites for ISPConfig here: http://www.ispconfig.org/manual_installation.htm
__________________
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
  #20  
Old 12th November 2005, 20:29
yeemin yeemin is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
Have a look at the prerequisites for ISPConfig here: http://www.ispconfig.org/manual_installation.htm

oh, because I think PostgreSQL can replace MySQL, but I find that it is wrong now, Thanks.
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:43.


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