Page 1 of 1

Upgrading causes the some functions not working.

Posted: Fri Nov 29, 2002 7:40 pm
by b_praveen_kumar
Hi all,

We have upgraded redhat8.0 from 7.3 and php to latest version4.2.2, actually in the previous code we are using getenv function in lots of applications... but some how that function seems to be deprecated or not working.

What could be the reason? Is it deprecated?I don't like to change the code which i have been using in lots of applications olready. is there any global option that i can set in php.ini ?

Waiting for valuable replies :wink:

Posted: Mon Dec 02, 2002 3:46 am
by twigletmac
Moved this to the PHP forum 'cause it's not a suggestion for PHPDN.

Mac

Posted: Mon Dec 02, 2002 10:09 am
by BigE
This sounds more like a register_global problem. I suggest you check out the post on this forum viewtopic.php?t=511 Also, RedHat 8 uses Apache 2 I belive. I would suggest you downgrade if you are using Apache 2 because PHP support for Apache 2 is not yet stable due to the Apache 2 API still changing. Hope that helps.