By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,819 Members | 1,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,819 IT Pros & Developers. It's quick & easy.

PEAR conflict

P: n/a
Iam running a server and PEAR is compiled with PHP. Before some days I have
upgraded PHP from 4.3.4 to 4.3.7 using Apache update from WHM (cPanel). This
went well but after that one client contacted me to tell me that he have
problems with showing some variables. The thing is that he told me that he is
using his own PEAR installation in his web hosting account !

This is part of the code which had a problem:


$ID_stranice =$row[ID_stranice]; //THIS VARIABLE NOT SHOWING

$tip_vijesti =$row[$naziv_tablica];//THIS VARIABLE WORKING OK

Problem was found but it is weird. In his configuration od DB.php file following
value was changed :
define('DB_PORTABILITY_LOWERCASE', 0); This value was somehow set to "1" so "ID"
was watched as "id"

Then he change it back to "0" and it is OK now. I inspect server's PEAR
installation under PHP and found that this value default is "1" . But it seems
that his scripts are using his PEAR installation and not server PEAR.
The big question is , can this be a conflict (his installation of PEAR and
server's PEAR) and is it must that he uninstall his installation under his
account ?
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.