FS2Crew Posted April 26, 2008 Share Posted April 26, 2008 Hi, I've been having problems with the PayPal IPN not working properly (it wouldn't auto switch orders to 'delivered' after receiving payment). I think the problem is that Register Globals on my servers are set to 'off' by default. From the PayPal IPN troubleshooting section: "If your server has register globals off and you need to turn it on by using a custom php.ini file, you need to put that php.ini under the ext folder as well. IPN won't work if register globals turned off." The question is: 1. Is it safe to turn Global Variables to 'on'? 2. How do I create a custom php.ini file? Can I just take my pre-existing ini file, change Register Globals to 'on' and save a copy of that modified version under the EXT folder? So basically the php.ini file in my main folder will have Register Globals set to off, but in the Ext folder the Php.ini file will have them to to on. Is that okay? Thanks! Quote Link to comment Share on other sites More sharing options...
bbailey Posted April 28, 2008 Share Posted April 28, 2008 Hi, I've been having problems with the PayPal IPN not working properly (it wouldn't auto switch orders to 'delivered' after receiving payment). I think the problem is that Register Globals on my servers are set to 'off' by default. From the PayPal IPN troubleshooting section: "If your server has register globals off and you need to turn it on by using a custom php.ini file, you need to put that php.ini under the ext folder as well. IPN won't work if register globals turned off." The question is: 1. Is it safe to turn Global Variables to 'on'? 2. How do I create a custom php.ini file? Can I just take my pre-existing ini file, change Register Globals to 'on' and save a copy of that modified version under the EXT folder? So basically the php.ini file in my main folder will have Register Globals set to off, but in the Ext folder the Php.ini file will have them to to on. Is that okay? Thanks! Hi, I am not an expert at this at all, but I think i had a similar problem to this and talked to my server, and this is how they fixed it. You may not get to your files through the file manager, but however you get to you files, this is how I fixed mine, and turned global variables on. So i don't think you create a new file, i think you edit an existing one, it seems pretty simple, here is the log: Me: I am getting this error "Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory." Server: What you would need to do is, from your Site Manager, login to File Manager, then click the "Up one directory" button until the "Current Directory:" reads "/". Server: Then click on the "etc" directory. Then click on the pencil to the right of the "php.ini" file. Server: At this point you will want to look for the "register_globals" directive, and you will just change the value to either Off or On. I hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.