I have a website with MySQL database. Since my hosting service moved me to another server, I have noticed that database searches take slightly longer - long enough though, for users to bail out.
Before contacting my hosting sompany (who I still think are rather good), I did a comparison beween my old php.ini and my new php.ini settings.
I have tried to google the meaning of each setting, but I'm not sure if this is my problem. Can anyone here take a look at these few differences, to see if they may be the cause of my problem? (is it worth exploring: "session save path" and "magic_quotes_gpc"?)
session.save_path
OLD PHP.INI
session.save_path /tmp /tmp
NEW PHP.INI
session.save_path no value no value
http://uk3.php.net/manual/en/function.s ... e-path.php
--------------------------------------------------------------
allow_url_include
OLD PHP.INI
allow_url_include On On
NEW PHP.INI
allow_url_include Off Off
Okay, probably a security measure and I'm on a shared server.
--------------------------------------------------------------
detect_unicode
OLD PHP.INI
(nothing)
NEW PHP.INI
detect_unicode On On
I use charset=utf-8 in Joomla, Wordpress and Open Realty. I'm not sure what effect having "detect_unicode On" has
--------------------------------------------------------------
display_errors
OLD PHP.INI
display_errors Off Off
NEW PHP.INI
display_errors On On
--------------------------------------------------------------
magic_quotes_gpc
OLD PHP.INI
magic_quotes_gpc Off Off
NEW PHP.INI
magic_quotes_gpc On On
http://www.jimmysworld.org/article.html?aID=59
and
http://php.net/manual/en/security.magicquotes.php
--------------------------------------------------------------
upload_max_filesize
OLD PHP.INI
upload_max_filesize 6M 6M
NEW PHP.INI
upload_max_filesize 2M 2M
Thanks in advance of any help - gratefully received.
- Daren.
Difference in my PHP.INI Settings
Moderator: General Moderators
-
darenmatthews
- Forum Newbie
- Posts: 1
- Joined: Mon Nov 02, 2009 2:05 am
Re: Difference in my PHP.INI Settings
magic quotes should be OFF
They added it for lazy developers and later realized it was a bad idea. http://php.net/manual/en/security.magicquotes.php
See the big warning?
Warning
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
They added it for lazy developers and later realized it was a bad idea. http://php.net/manual/en/security.magicquotes.php
See the big warning?
Warning
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.