Obsolete Releases > SME 8.x Contribs

Changing php.ini question

<< < (2/3) > >>

rogerbodger:

--- Quote from: mary on March 13, 2013, 01:41:12 AM ---Actually that directive is deprecated in php 5.3.3

--- End quote ---

Thanks Mary, that would probably explain it.

janet:
rogerbodger


--- Quote ---....that would probably explain it.

--- End quote ---

Sure would.
So let us know here what you find out to do about it and workaround it etc.
It will be useful info for others.
Thanks

mmccarn:
When playing with ioncube in 2011 I was able to disable magic quotes using:


--- Code: ---mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cd /etc/e-smith/templates-custom/etc/php.ini
echo 'magic_quotes_gpc = off' > 15ioncube
expand-template /etc/php.ini
sv t httpd-e-smith

--- End code ---

I have several ibays that require that magic_quotes_gpc is off (and which came with their own .htaccess files).

The .htaccess files in those ibays contain a line saying:
--- Code: ---php_flag magic_quotes_gpc          Off
--- End code ---

But in order for .htaccess to make any difference in an ibay you need to 'AllowOverride' for the ibay:

--- Code: ---db accounts setprop itop AllowOverride All
signal-event ibay-modify itop

--- End code ---

CharlieBrady:

--- Quote from: mary on March 13, 2013, 10:30:20 AM ---Sure would.

--- End quote ---

Sure would not! :-)

"Deprecated" means "please do not use". Does not mean "will not work".

Stefano:
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/   (Cit.)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version