Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » PHP




 Page 1 of 1 [ 7 posts ] 



Author Message
 Post subject: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:03 am 
Offline

Joined: Sat Feb 21, 2009 1:05 pm
Posts: 66
I set the max_execution_time = 200 in the php.ini

Code:
# # cat /etc/php.ini | grep max_execution
# max_execution_time = 200     ; Maximum execution time of each script, in seconds


phpinfo shows that is the file it does load

Code:
   1. # php -i | grep php.ini
   2. Configuration File (php.ini) Path => /etc
   3. Loaded Configuration File => /etc/php.ini


yet it shows a value of 0 for that value

Code:
# # php -i | grep max_execution
# max_execution_time => 0 => 0




What was goin on?

_________________
If your wife wants to learn to drive, don't stand in her way.


Top 
 Post subject: Re: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:03 am 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
use dis function---

Code:
set_time_limit(200);


Top 
 Post subject: Re: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:04 am 
Offline

Joined: Sat Feb 21, 2009 1:05 pm
Posts: 66
I could.. howver dat was not explain it. Anyways I m reinstallin the
linux on dat machine so we would see if it was somethin in da code.

_________________
If your wife wants to learn to drive, don't stand in her way.


Top 
 Post subject: Re: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:04 am 
Offline

Joined: Sat Feb 21, 2009 1:08 pm
Posts: 549
There must be the additional configuration files overriding dis
value. Check in ur php information o/p undr "Scan dis dir 4
additional .ini files " for paths dat it might include.


Top 
 Post subject: Re: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:05 am 
Offline

Joined: Sat Feb 21, 2009 1:05 pm
Posts: 66
There was one included .ini nd it only had like two lines, neither
of which overrided. What was wierd is da val looks like a
multi-dimensional array. neways I just finishd restorin my svn
repository, would test out now on a diff distro

_________________
If your wife wants to learn to drive, don't stand in her way.


Top 
 Post subject: Re: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:05 am 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
Check also 4 overridin htaccess files which could use da
php_flag operator 2 override it


Top 
 Post subject: Re: php.ini settins are not takin the effect
 Post Posted: Thu Nov 19, 2009 7:05 am 
Offline

Joined: Sat Feb 21, 2009 1:05 pm
Posts: 66
Hmm well I just installed a new distro on a a fresh drivend it was
workin , there wasnot any overriden php.ini settings in da code and
no .htaccess, oh well. go figure

_________________
If your wife wants to learn to drive, don't stand in her way.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 7 posts ] 




Board index » Server Side Development » PHP


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron