I’m glad you found the rg-emulation solution !
I’m sure you are correct about the post I referenced (you should not have had to search the forum, as I actually linked the relevant thread for you in my last posting) not specifically referencing magic-quotes, as that user was using PHP 4.4.2, and no magic_quotes setting needed to be changed for that parameter.
I do suggest you carefully re-read the post, however, because, in addition to the max_post and max_upload_size that was talked about in the wiki article, I provided the code to be added to the update-php.sh script to modify the register_globals setting in the php.ini.
Exactly which setting(s) you need to modify in the php.ioni depend upon which version of PHP you are using (also discussed in the post). It seems you are using PHP5, as you are seeing a warning from Joomla! about “magic_quotes” instead of “register_globals”, right?
If that is the case, you will not need the line I supplied the other user for register_globals, but will need, instead, a “substitution” regular expression to change the magic_quotes setting.
The wiki only mentions the max_post and max_upload_size, but the forum thread not only talks about the whole process, it also supplies example code as it relates to the register_globals setting; you just need to modify that to make it change magic_quotes.
Yes, you can modify whatever php setting you need using this process. Just carefully review the php.ini file for your version of php (see the wiki to find it), then review the forum post(s) I pointed you to for a discussion of what is involved in changing the setting to be the way you want. You will need to modify the update-php.sh script to remove the substitution for register_globals, and replace it with one to modify magic_quotes, if you are using PHP 5.
You will know you have it right when:
- Your Joomla! warnings go away
- Checking both system setting and phpinfo in the Joomla! administrative backend will show the settings you set up.