#1 (permalink)  
Old 09-10-2004, 06:22 PM
jester.ro's Avatar
Registered User
 
Join Date: Feb 2004
Location: Bucharest, Romania
Posts: 304
jester.ro is an unknown quantity at this point
phpPgAdmin

So, i have postgress installed. i have php compiled with pgsql. Postgress works from php scripts. But for some reason, phpPgAdmin doesnt.


WHY?

Oh, cmon, we're using cpanel. we all now WHY.

edit the file:

/usr/local/cpanel/base/3rdparty/phpmyAdmin/config.inc.php

change $cfg['ShowPhpInfo'] to TRUE.

then go in cpanel, on port 2082, and open phpMyAdmin. Click on PHP Information. Notice the version, and the configure line. Mine shows 4.3.3


now, go into whm, and click phpMyAdmin. Check out PHP Info there. Mine shows 4.3.8

now just create a file in a www root somewhere, and write <?php phpinfo();?> in it and save it, then load it in your favourite browser. Check the PHP version there. Mine shows 4.3.8(but with different config line from the one in WHM).


What does this mean?

We have 3 PHP setups on our servers. We only have control over one. The one in WHM rebuild sometimes, when cPanel decides to "change" something, but it does so in the background. If you have a busi server, you'll sometimes notice, like i did, that manual updateting cpanel takes a while. Don't reboot. For sure php is compiling in background.
This sucks.

The cpanel(2082) instalation of php does not update(o i havent's seen it anyway)

Bottom line.
phpPgAdmin in cpanel doesn't work. Why? Cose someone forgo to ./configure php --with-pgsql.


You draw your own conclusions.

if anyone knows how to reconfigure cpanel PHP --with-pgsql, i would be very gratefull. i can install phppgadmin in cpanel_skel, and ask the clients to edit the config manualy, but his would be really stupid.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-23-2004, 05:28 PM
Registered User
 
Join Date: Oct 2004
Posts: 50
itrends is on a distinguished road
I wish i could say i didn't agree, but i do. God, who's to blame for thisone?

Really, this is a stupid mistake.. nobody can use phpPgAdmin ?


Would somebody plaese pay attention to this, it's a really good point!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-23-2004, 06:46 PM
jester.ro's Avatar
Registered User
 
Join Date: Feb 2004
Location: Bucharest, Romania
Posts: 304
jester.ro is an unknown quantity at this point
they got it fixed, dunno exactly when
(i think october 8'th, from the date of phpPgAdmin.diff file)



btw, what is phpSysInfo doing there anyway?


http://domain.com:2082/3rdparty/phpSysInfo/

spooky...is this supposed to be there for all customers to see?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-27-2004, 02:50 PM
Registered User
 
Join Date: Oct 2004
Posts: 50
itrends is on a distinguished road
Not fixed, not in the stable ..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:14 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc