Hi, i got some problem since i move to another web server using kloxo unstead of cpanel... i try to find the
get_magic_quotes_gpc
in the php.ini but i cant... i only see the magic_quotes_gpc
and when i try to set to on the magic_quotes_gpc it still dont work... i got again the
get_magic_quotes_gpc is Off, enable it
someone can help me please...
thx
|
Dolphin 7 will be out tomorrow morning, maybe you might wanna try Dolphin7 friday june 12 2009 |
yes i will but the script will probably need also to set
get_magic_quotes_gpc ON
:(
|
Double check. Make sure it reads as follows.
magic_quotes_gpc = On
Make sure spelling is correct, underscores are there and = sign is there.
You may also want to run phpinfo() to see of apache is running php in CGI mode or as an apache module.
https://www.deanbassett.com |
everything must be ok... but it still dont work
http://status.pridecommunity.com/index.php?action=phpinfo
here take a look to my phpinfo
the link where i try to install the website
http://www.rentmylibido.com/index.php
i really dont know what to do...
|
Are you tring to do this with a php.ini file placed in your website directory?
PHP is running as an apache module on this server. Unlikely that per directory php.ini files will work. So try putting this in your .htaccess file.
php_flag magic_quotes_gpc On
I also see that open_basedir has some path restrictions set so your likley to run into more problems. I see the server is CentOS but it's not stock. From what i can see from the phpinfo a lot of php configuration changes have be made from the stock defaults for CentOS.
Normally this is set in the global config in /etc/php.ini but i see a large mess of additional config directories where one of them is aparently overriding that setting. Becuse the master is set to on, but local is set to off.
https://www.deanbassett.com |
so what should i do to correct all the mess on my server?
or can you do it for me :)
|
so what should i do to correct all the mess on my server?
or can you do it for me :)
I can't do it for you without access. Turns our anyway that most of those paths to additional ini config locations are normal for centos. seems i never noticed it on my servers. So something is over riding it. see if any other php.ini files exists on the server. They can be found with this command.
find / -name php.ini
Any found should be checked for the magic_quotes_gpc setting.
But also as i mentioned you can try adding php_flag magic_quotes_gpc On in your .htaccess file.
https://www.deanbassett.com |
ok i try the find / -name php.ini
i got a lot of php.ini... how to know which on is the main one
|
The main php.ini file for CentOS is /etc/php.ini
https://www.deanbassett.com |
I just did a scan on my centos server and i only found the main one in /etc
So why you have so many i do not know. Who setup the server?
Because your server is running php as an apache module there should not be any extra php.ini files.
You could try removing them all. But i would make backups of then all with notes on where they were.
Once removed and current websites running on the server will need to be checked.
I have to leave for a few days, so this will be my last post for a while.
https://www.deanbassett.com |
What hosting are you using.. I just went into Cpanel and went to PHP Admin and took care of that.. |
well i dont use cpanel... i use kloxo panel... its a free version of a kind of cpanel....
but with the dolphin 7 i dont get the error... dont know why... but the server seams again to not recognize image magick and the php path when im in the installation page of dophin... its seam to be missing... but its there... i do the whereis mogrify and the other one and they are all on the server... so i enter it manually during the installation... it seams to works fine... but just to make sure... how can i test if image magick works correctly... where the dolphin script use this image magick??
|