Support

Admin Tools

#17746 Joomla3 and magic quotes on

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by alexwalker on Friday, 11 October 2013 11:14 CDT

alexwalker
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 3.1.5
PHP version: 5.3.27
MySQL version: 5.0.96-community
Host: hosthere.co.uk
Admin Tools version: 2.5.8

Description of my issue:

I have successfully installed Joomla3 and now I need to turn magic quotes back on.
Can I use admintools htaccess creator to turn magic quotes on or has this to be done by my web host ?

Error
Your host needs to disable magic_quotes_gpc to run this version of Joomla!

alexwalker
Sorry I meant to say turn magic quotes OFF not ON !!!

nicholas
Akeeba Staff
Manager
No, this has to be done by your host.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alexwalker
Nicholas
I added this as a custom htaccess rule:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/allanaab/public_html/joomla3
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>

and also added this php.ini file at the root

magic_quotes_gpc = Off
extension=pdo.so
extension=pdo_mysql.so

and this resolved this issue.

nicholas
Akeeba Staff
Manager
Correct. If your host is using the PHP CGI binary (suPHP does use PHP CGI) you can do that. Most modern servers have stopped using the now deprecated suPHP solution in favour of PHP in FastCGI mode in conjunction with FPM (FastCGI Process Manager). This is a solution equally safe as suPHP and much faster. The downside of FPM is that PHP configuration has to be performed in your php.ini as the whole point of FastCGI is having the PHP binary preloaded in memory*, something which precludes on-the-fly configuration with per-directory php.ini files or directives in .htaccess.

* Technically it's the PHP processing engine being preloaded in idle threads which can be reused, but for the intent of giving you an idea of what is going on the simplistic explanation that the "PHP binary is preloaded in memory" is not very far from the truth.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alexwalker
Nicholas, please change your English language rating from Good to Excellent, because I didn't understand a word of what you said, but can only believe that what you said is true !!! ;)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!