PHP Magic Quotes GPC
#2
Posted 29 June 2011 - 03:43 PM
It generally accepted as being preferable to not utilize this capability these days - please see the PHP documentation at: http://php.net/manual/en/security.magicquotes.php
Hosts still seem to have this set on (enabled) by default as there are apparently still some (older) applications that still rely on this and they obviously don't know what you will be loading on. If you _do_ have anything that needs it (and if you have a moderately up to date system you most likely don't) then in any case the recommendation is to update whatever bit of software you have that needs this to be on (enabled).
You can turn this off with
magic_quotes_gpc = off
in your php.ini or the equivalent in your .htaccess, whichever is the method you are using for php config settings (I think in your case it would be php.ini).
Regards...jeremy
"Everything will be all right in the end. If it isn't all right yet then it isn't the end."
#4
Posted 28 July 2011 - 09:49 AM
It might be that your server does not allow this setting to be changed through the <span><span>php</span></span>.<span><span>ini</span></span>. Although it is not crucial that you have this setting off. Do you know of anything issues that are <span>occurring</span><span> with this setting turned on? These are just recommendations. You can try changing it through your .htaccess. Just add the line in file. </span>
php_flag magic_quotes_gpc Off<span>Please let us know if you have further questions </span>
<span>Regards</span>
<span>Josh
</span>
There are some plugin walkthrough videos on our youtube channel check it out!
#5
Posted 04 March 2013 - 08:29 AM
Quote
magic_quotes_gpc = off
In the php.ini file:
Quote
Line 95: ; - magic_quotes_gpc = Off [Performance]
Line 474: ; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On
Do I just have to change the 'On' of magic_quotes_gpc = On on Line 474 to 'Off'?
Thanks!
#6
Posted 07 March 2013 - 04:03 AM
From the PHP Documentation: http://www.php.net/manual/en/security.magicquotes.disabling.php
Regards...jeremy
"Everything will be all right in the end. If it isn't all right yet then it isn't the end."
#7
Posted 07 March 2013 - 05:50 AM
Further explanation and examples:
- The /public_html is for ABCD.com, while /public_html/1234 is for 1234.com.
- BackupBuddy is installed in 1234.com but php.ini is only available under /public_html.
- Edited the php.ini under /public_html but doesn't solve the warning sign.
I'm trying not to use the htaccess method.
#8
Posted 07 March 2013 - 07:48 AM
The .htaccess method applies to particular types of server configuration that don't use php.ini type files and if you use that improperly it can cause a server error for your site.
You should have your host support advise you on what is the correct approach to use for how they have their servers configured, we can just point you in the right direction ;-)
Regards...jeremy
"Everything will be all right in the end. If it isn't all right yet then it isn't the end."
#10
Posted 01 April 2013 - 11:33 AM
If you are continuing to have a problem that relates to BackupBuddy as opposed to ServerBuddy then please post in the BackupBuddy forum where you can be assisted.
If you are using either ServerBuddy or BackupBuddy you can click the button that gives you the detailed phpinfo() sourced information and that will tell you where PHP is picking up any configuration file from (an entry somewhere near the top dependent on your PHP installation) and thus you can see whether your php.ini file is being used or not.
I suggest that you consult your host support for details of how you can change PHP configuration item because as I mentioned there are a variety of ways and on some servers you have to wait some period of time before any changes are reflected in the actual operational PHP configuration.
In answer to your question - no, there is no known bug in the representation of the information as provided by your PHP installation (and such an issue has never been reported before by anyone that I can recall having dealt with). Plugins (and themes) can sometimes change PHP configurable items for their own purposes and override whatever you might have set in any configuration file or statement.
Regards...jeremy
"Everything will be all right in the end. If it isn't all right yet then it isn't the end."
Reply to this Topic
ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.
For BackupBuddy related issues, be sure to include the status log from your most recent backup.
CLICK HERE to start a new topic in the ServerBuddy forum.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





