web hosting line
1.866.605.2484

Web hosting

Go Back   Web Hosting Forum - Web hosting discussion at SiteGround.com > Popular Software > Other Software and Applications

Reply
 
Thread Tools Display Modes
  #1  
Old 10-16-2006, 10:50 AM
paradox paradox is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Default MediaWiki 1.8.2: PHP register_globals and memcaching

Hi,

The installation script for MW 1.8.2 recommends turning register_globals to "off" due to potential security risks and also enabling memcaching if available. This leaves me with two questions: 1) Should a user make the request, will SiteGround disable register_globals on the standard hosting package (shared server)? 2) Is memcaching available and if not, can SiteGround install it for standard hosting customers?

Thanks.
Reply With Quote
  #2  
Old 10-16-2006, 06:35 PM
Brandon's Avatar
Brandon Brandon is offline
SiteGround Forum Manager
 
Join Date: Sep 2005
Posts: 335
Default

Hi

The register_globals can be turned off for your account by creating a file named php.ini and inserting this row into it:

register_globals = OFF

Once this file is created, it must be spread in all MediaWiki directories, in order to take effect for the whole application.

They are currently set to off to some of the servers we manage, due to some applications, yet outdated, requirements. However, we have provided an alternative way of disabling them, while we are thinking of a global solution for this potential security breach.

As to the memcaching, unfortunately, it tends to use a lot (I mean really a lot) of resources and memory on the server, when used unoptimized (while optimizing is not yet easy job with it and very small amount of scripts do it all right for a shared server). This is why we provide it only on a VPS/Dedicated Server packages, per Customer's request.
Reply With Quote
  #3  
Old 10-17-2006, 04:02 AM
paradox paradox is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Default

Hi,

Do I have to put the "php.ini" in every single directory, or just those containing PHP scripts? Because the image directories are numerous and that would just be more trouble than its really worth.
Reply With Quote
  #4  
Old 10-17-2006, 04:13 AM
Brandon's Avatar
Brandon Brandon is offline
SiteGround Forum Manager
 
Join Date: Sep 2005
Posts: 335
Default

Oops It's my bad for not clarifying. Only in the directories with php files into them, yes, the folders containing images do not need php.ini files.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:37 PM.

Copyright © SiteGround.com Inc