Re: Effect of syntax error in php.ini
| From: | Richard Lynch | Date: | Tue, 12 Jun 2007 19:44:55 +0000 |
| Subject: | Re: Effect of syntax error in php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256760@lists.php.net to get a copy of this message | ||
Check Apache error logs.
PHP probably just quits reading the php.ini and starts up with the
default settings.
On Tue, June 12, 2007 1:55 pm, Clive Gould wrote:
> Hi
>
> I have come across some very strange behavior with php-4.3.9-3.22.5
> when
> using Moodle 1.8+ on a CentOS 4.5 Linux platform.
>
> If I accidentally corrupt the php.ini file as follows and restart
> Apache
> all is well and admin/index.php displays correctly. The corrupt
> section in
> php.ini is shown below:
>
> ; Resource Limits ;
> ;;;;;;;;;;;;;;;;;;;
>
> max_execution_time = 30
> max_input_time = 60
> memory_limit = 60M ; Maximum amount of memory a script
> may consume
>
> If I correct the comment line by removing the carriage return after
> the
> word script and restart Apache the page admin/index.php just comes up
> blank. The uncorrupted section in php.ini is shown below:
>
> ; Resource Limits ;
> ;;;;;;;;;;;;;;;;;;;
>
> max_execution_time = 30
> max_input_time = 60
> memory_limit = 60M ; Maximum amount of memory a script may
> consume
>
> What effect does introducing a syntax error into php.ini have?
>
> Anyone any idea what on earth is happening here???
>
> Any suggestions most welcome...
>
> Clive
>
> Clive Gould
> HE PAL ICT
> Bromley College
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?