Upgrading causes the some functions not working.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
b_praveen_kumar
Forum Newbie
Posts: 1
Joined: Fri Nov 29, 2002 7:40 pm
Contact:

Upgrading causes the some functions not working.

Post 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:
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Moved this to the PHP forum 'cause it's not a suggestion for PHPDN.

Mac
User avatar
BigE
Site Admin
Posts: 139
Joined: Fri Apr 19, 2002 9:49 am
Location: Missouri, USA
Contact:

Post 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.
Post Reply