WordPress.org

Ready to get started?Download WordPress

Forums

Is this webhost wrong re:wordpress? (13 posts)

  1. kensavage
    Member
    Posted 8 years ago #

    Does register_globals functionality have to be turned on for WP to work? My webhost says it does but I doubt WP would write a script and be this popular with such a security hole.

  2. ComputerBob
    Member
    Posted 8 years ago #

    I'm a WP noob, but the following post that says that register_globals should be OFF for WordPress, not on.

    http://wordpress.org/support/topic/41685

    UPDATE: I've read several other old posts on the subject, and apparently there was a WP security exploit in August, 2005, that could only do damage if register_globals was set to ON. Almost immediately, a new version of WP was released to fix the problem, and ever since then, it has been recommended that register_globals be set to OFF, not just for WP, but because register_globals causes security issues for a lot of scripts if it is set to on.

    WP experts, did I summarize all of that correctly?

  3. kensavage
    Member
    Posted 8 years ago #

    any idea what this would mean?

    http://kensavage.com/wp-admin/

    my webhost upgraded php from 4.1 to 4.6 and now all my php scripts just show the source and not render properly. I was told to make it work to turn on register_globals.

    Thought that was a basic no no with php?

  4. moshu
    Member
    Posted 8 years ago #

    Tell them if you can see all the PHP code instead of being parsed - they screwed up something during the upgrade.

  5. kensavage
    Member
    Posted 8 years ago #

    its a vps account and they say it's my responsibility to configure it correctly. Although their the one that wrote the upgrade script for apache and php.

  6. kensavage
    Member
    Posted 8 years ago #

    They're telling me to turn on register_globals or fix the script's code to complay with php 4.3 as far as variables being passed with GET and POST.

    "The PHP issues you are experiencing are due to code. PHP is working on the server."

    Although all I did was upgrade php and did nothing to the files.

  7. kensav
    Member
    Posted 8 years ago #

    Here's what i did and the update....

    I asked my webhost to upgrade apache to 2.x and php 4.3.x
    After it was complete my wordpress website stopped working. I get this http://www.kensavage.com/ and http://www.kensavage.com/wp-admin/ but php works ok http://www.kensavage.com/info.php

    I even uploaded fresh files to one of the sites and nothing. I had a friend of mine who's a unix sys admin look at the server side of things and he says everythig should work ok. It's just wordpress not working for this upgrade.

    Is there anything I can test or any suggestions?

  8. kensav
    Member
    Posted 8 years ago #

    Update: while doing a fresh install on a new domain and database I get to this point in the install and it just stops.

    Second Step

    Now we’re going to create the database tables and fill them with some default data....

  9. kensavage
    Member
    Posted 8 years ago #

    php files have proper permissions to be read and index.php is listed as a starting file for default fodler files in httpd.conf.

    I GIVE UP. almost.

  10. theFX
    Member
    Posted 8 years ago #

    YOu can toggle register_globals on and off by using .htaccess file in your root folder
    ON
    php_flag register_globals on

    OFF
    php_flag register_globals off

  11. kensavage
    Member
    Posted 8 years ago #

    I tried that and they shouldn't be on for anything but when I did turn them on it didn't make a difference.

    php files render ok but it seems like WP php files dont want to execute.
    http://kensavage.com/info.php works ok but not http://kensavage.com/wp-admin

  12. Have you checked the error_log and the permissions on the php files that won't run?

  13. kensavage
    Member
    Posted 8 years ago #

    yes I have and they aren't telling me anything unusual or problematic.
    Permissions are set to what all other php files are. It's just that the wp- files are not rendering.

    I'm going to try a different webhost.

Topic Closed

This topic has been closed to new replies.

About this Topic