php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50948 Comments after directives in php
Submitted: 2010-02-06 16:55 UTC Modified: 2010-02-07 09:52 UTC
From: rudenko at delta-x dot ua Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 6SVN-2010-02-06 (snap) OS: Fedora Core 11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rudenko at delta-x dot ua
New email:
PHP Version: OS:

 

 [2010-02-06 16:55 UTC] rudenko at delta-x dot ua
Description:
------------
You will get error 500 Internal server error if you put comment after 
param in php.ini

Reproduce code:
---------------
in php.ini put comment at the same line with param:

max_execution_time = 30 ; Maximum execution time of each script, in seconds

Expected result:
----------------
In older versions of php such code work properly

Actual result:
--------------
You will get error Premature end of script headers

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-07 09:52 UTC] jani@php.net
Please don't report bugs that have a) been reported countless times already b) been fixed long time ago in SVN repo. 

And reporting something in PHP 6 is kinda pointless as well. Please don't spam.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 02:01:31 2024 UTC