changes to php.ini have no effect / which php.ini?

Christophe1

Verified User
Joined
Aug 24, 2008
Messages
49
Location
Belgium
Hi everyone,

I would like to change my php.ini, but it seems that the changes have no effect. Even changing engine=On to engine=Off doesn't do anything; php still works...

I have 3 php.ini's:
/usr/local/etc/php5/cgi/php.ini
/usr/local/directadmin/custombuild/php-5.2.6/php.ini-recommended
/usr/local/directadmin/custombuild/php-5.2.6/php.ini-dist

I tried with all 3. I also restarted apache each time I changed anything.

I use custombuild, php in cgi mode (suphp)

Any ideas?
 
Thanx for the quick answer, smtalk!
But I don't understand...

do you mean the file suphp.conf? or do you mean I have to type "Suphp_engine = Off" in php.ini to turn php off or...?

I'm looking for the php.ini that is realy used on the server. I hope to find there the solution for an error 500 I get when a query returns more than ~6500 records in php.

The same simple "select * from contacts order by name"-query in phpMyAdmin: 0.02s

I thought it could be the max amount of memory php could use or maybe some buffer that is too small to bring things from mysql to php?

Anyone who has a suggestion?

I also tried some changes in my.cnf, but I don't think it has to be something with mysql.
 
Nevermind, problem solved!

The log file said: ModSecurity: Output filter: Response body too large (over limit of 524288, total not specified)

So I went to the config file of modsecurity and changed the value: SecResponseBodyLimit

A restart of apache and problem was solved.
 
Back
Top