it's been quite a while since a security breach was found in PHP 4.1, so Aletia finally decided to upgrade to PHP 4.2.0. The result? My site has become totally nonfunctional....
Way to go, Aletia... way to go!!
This is a discussion on they just upgraded to PHP 4.2.0 in the Open Discussion & Chit-chat forum
it's been quite a while since a security breach was found in PHP 4.1, so Aletia finally decided to upgrade to PHP 4.2.0. The result? ...
it's been quite a while since a security breach was found in PHP 4.1, so Aletia finally decided to upgrade to PHP 4.2.0. The result? My site has become totally nonfunctional....
Way to go, Aletia... way to go!!
out of curiosity... what server are you on?
starfish
Why is it Aletia fault?
Nomsane?
That is all.
Sorry, but I'm with whitty on this on. Why again is this Aletia's fault?
If you mean they upgraded but php isn't working then you have a point. However if you mean they upgraded and your scripts just don't work then I suggest your problem is with the script vendor or your own code.
PHP4.2 handles globals differently- or not at all, or something. Correct? I'd been reading a bit about it, and wondered when Aletia was going to upgrade- because I figured it would cause problems.
That said- can't fault Aletia for UPGRADING! Yea- it's going to be a pain for some folks (wandering off now to see if I'm one of them)- but it was inevitable. Ultimately, it will be a good thing. (Short term- I'm wondering if b2 news script is affected. Sigh- oh well, hadn't completed the switch over from Coranto yet, anyway!)
And just a note- you might be able to set the globals to 'on' using .htaccess . It depends on whether it's set to allow overrides.
See:
http://www.php.net/manual/en/html/configuration.html
This may or may not work- and may or may not be a good idea, as the globals were disallowed for security reasons. Anyway- I think something along the lines of:
in an .htaccess file might work.php_flag register_globals on
This is the kind of thing where I would expect Aletia to notify users by email of the change. A warning it was coming would be even better.
T
i lost all my connections to my mysql databases.
Is this somehow related?
I lost all my MySQL connections as well. Is it not Aletia's fault???? Then whose? Mine? You gotta be kidding me!!!!
I have PHP 4.2.0 on my system and all those scripts are working fine....
Ok, I figured out how to restore the connections, but now the site is down.
If you can't handle the upgrading process smoothly, then don't upgrade at all.
P.S. During this upgrade PHP went down and I was able to download my .php files. I can only wonder if someone else did that as well and obtained my login info...
They fixed the problem GG... dunno about this last post of yours though.
PHP 4.2.1 Bugfix Released ... including *fix for the MySQL extension not be able to connect to a MySQL server*
http://www.php.net/release_4_2_1.php
I tried the version 4.2 in my local computer as well. and i found that my site will not work in 4.2.
one of the or the only problem i'm having is the query string part. i'm not sure why but it just can't get those query string variables.
like:
http://www.a.com/test.php?section=bbb
the test.php script should be able to have a variable $section with the value 'bbb', isn't it?
I'm not sure if i misconfig the new php or not, but it just failed to get the variable. i'm not sure if there is a new way to achieve this.
I really hope someone can point me the direction, so i can modify my site before php is actually upgrade for the server i'm using in aletia.
Thankyou.
Make sure register_globals is ON in your php.ini. Or you will have to rewrite (recommended by PHP.net) all your scripts to work with register_globals OFF.
Julian D. Muņoz - LANeros.com
Thank you so much for your reply.
Could you tell me how to achieve the case I mentioned above with register_globals is off? Basically is how to get query string into variables with register_globals off.
BTW, just wondering why it is set to be off by default? is there any special reason for this. cos for me, i can't see why it should be disable.
Thank you.
Copyright © 2011 JaguarPC.com
Bookmarks