siquo Posted August 2, 2007 Share Posted August 2, 2007 hi there, I'm new, so hi, i've just upgraded my hosting to a VPS, and when trasferring my websites accross found a problem. my old hosting had php set up with the setting so i dont have to use $HTTP_GET_VARS[] to retrieve a variable from the http, so i was using codes such as echo $variable to pull the variables strait from the http now , on my own managed vps that setting is not enabled, which means editing all my current scripts, or (the easy option) enabling that setting. however, i don't know what that setting is called nor how to access the php settings on my vps. i phoned technical support for my vps and they told me i'm responsible for managing my own server, and basically its not thier problem. soooooooooooooooo could one of you lovely people lead me in the right direction? Thanks in advance Tony P.S my VPS is hosted by webfusion (pipex) Quote Link to comment Share on other sites More sharing options...
trq Posted August 2, 2007 Share Posted August 2, 2007 The setting is called registr_globals and should be left off for security reasons. Your php.ini would normally reside within /etc/php or something simular. If your unable to locate it make a file containing... <?php phpinfo(); ?> When you view this file it will give you all sorts of info about php, including the location of you php.ini. PS: Unless you know what your doing, I really think a VPS may be a bad choice security wise. You need to take care of everything. Have you setup a firewall as yet? Quote Link to comment Share on other sites More sharing options...
siquo Posted August 2, 2007 Author Share Posted August 2, 2007 ok thanks, i'll leave it off for now i'll just rewrite my scripts with HTTP_GET_VARS. I'm only running basic scripts anyway nothing too fancy. firewall is installed by default like php was. just looked now, it has access list set up allowing the common ports, and also 'system policy for incomming traffic' is set to 'allow all other incomming traffic' should i set this to deny all other incomming traffic? Thanks Tony Quote Link to comment Share on other sites More sharing options...
trq Posted August 2, 2007 Share Posted August 2, 2007 i'll just rewrite my scripts with HTTP_GET_VARS. Thats also depricated. Use the $_GET array. Sorry, i'm not sure what firewall your using, I usually build my own with iptables. 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.