#48563 [Opn->Fbk]: # in php.ini will cause php to crash if latter is running in FastCGI mode
| From: | pajoye@php.net | Date: | Wed, 17 Jun 2009 09:13:14 +0000 |
| Subject: | #48563 [Opn->Fbk]: # in php.ini will cause php to crash if latter is running in FastCGI mode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-138396@lists.php.net to get a copy of this message | ||
ID: 48563
Updated by: pajoye@php.net
Reported By: dmda at yandex dot ru
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP sp3
PHP Version: 5.3.0RC3
Assigned To: pajoye
New Comment:
On the screenshot, bottom right:
"PHP Deprecated: Comments starting with '#' are deprecated in
..php.ini..."
That can happen only when php-cgi.exe php.ini is used.
Please try "php -c php.ini -i", and no, I do not consider you as an
idiot (just in case :)
Previous Comments:
------------------------------------------------------------------------
[2009-06-17 08:38:52] dmda at yandex dot ru
>btw, for what I can read in the screenshot, you are executing the
>php.ini :) Is it really what you want?
No, I'm not that idiot, and even if I did this, wouldn't php just
ignore the file as it contains no php code?
May I ask why you think I'm executing php.ini?
From the screenshot it's clear that the error message refers to
php.ini. Do you have the same error message in php.log?
>(restarting IIS in between each change).
Did you make sure that no php-cgi.exe processes remained running?
Did you make sure that browser gets the content from executed script
and IIS returned HTTP/200?
------------------------------------------------------------------------
[2009-06-17 08:27:19] RQuadling at GMail dot com
Hi.
Using Windows Server 2008 Enterprise with IIS7 (V7.0.6000.16386) with
PHP V5.3.0RC4-dev
(Build date Jun 16 2009 08:56:09, Compiler MSVC9 (Visual C++ 2008) x86)
with Server API CGI/FastCGI (Is that enough detail?).
Using
#extension_dir = C:/PHP5/ext
and
extension_dir = C:/PHP5/ext
(restarting IIS in between each change).
No problems.
Sure extensions aren't available (as seen in phpinfo()). With the # I
have 34
extensions loaded (count(get_loaded_extensions()) vs 58 without the #
(just loaded them
all that I could as a test).
No other change to the INI file.
------------------------------------------------------------------------
[2009-06-17 08:03:46] pajoye@php.net
btw, for what I can read in the screenshot, you are executing the
php.ini :) Is it really what you want?
------------------------------------------------------------------------
[2009-06-17 00:10:09] pajoye@php.net
Looks like VC6, I'd to try it again.
Thanks for the feedback
------------------------------------------------------------------------
[2009-06-17 00:05:17] dmda at yandex dot ru
php.ini, just one line:
#extension_dir=./
screenshot: http://www.image123.net/9bclxbny3f1fpic.html
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48563
--
Edit this bug report at http://bugs.php.net/?id=48563&edit=1