Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

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? ...

  1. #1
    JPC Member
    Join Date
    Dec 2001
    Posts
    4

    they just upgraded to PHP 4.2.0

    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!!

  2. #2
    Jag Veteran
    Join Date
    Jan 2002
    Posts
    660
    out of curiosity... what server are you on?

  3. #3
    JPC Member
    Join Date
    Dec 2001
    Posts
    4
    starfish

  4. #4
    04 LeeUmm's Avatar
    Join Date
    Oct 2002
    Location
    Hamilton, Ontario
    Posts
    642
    Why is it Aletia fault?
    Nomsane?
    That is all.

  5. #5
    Just Walking...
    Join Date
    Oct 2002
    Location
    England
    Posts
    436
    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.

  6. #6
    JPC Senior Member
    Join Date
    Nov 2001
    Posts
    86

    PHP4.2

    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:

    php_flag register_globals on
    in an .htaccess file might work.

  7. #7
    JPC Addict
    Join Date
    Aug 2002
    Posts
    224
    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

  8. #8
    JPC Member
    Join Date
    May 2002
    Posts
    1

    my site as of yet is down

    i lost all my connections to my mysql databases.

    Is this somehow related?

  9. #9
    JPC Member
    Join Date
    Dec 2001
    Posts
    4
    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....

  10. #10
    JPC Member
    Join Date
    Dec 2001
    Posts
    4
    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...

  11. #11
    Jag Veteran
    Join Date
    Jan 2002
    Posts
    660
    They fixed the problem GG... dunno about this last post of yours though.

  12. #12
    JPC Member
    Join Date
    Nov 2002
    Posts
    4
    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

  13. #13
    JPC Member
    Join Date
    May 2002
    Posts
    3

    Query string

    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.

  14. #14
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,399
    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

  15. #15
    JPC Member
    Join Date
    May 2002
    Posts
    3
    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.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •