Jump to content

PHP setup - new to running my own PHP server


Recommended Posts

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)

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?

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.