php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6725 Spaces preceding line cause problems in PHP.ini
Submitted: 2000-09-13 19:46 UTC Modified: 2001-06-14 16:21 UTC
From: jlim at natsoft dot com dot my Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.2 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jlim at natsoft dot com dot my
New email:
PHP Version: OS:

 

 [2000-09-13 19:46 UTC] jlim at natsoft dot com dot my
This may seem a simple problem, but it has caused some people I was supporting several days of heartache.

I asked the person to add

extension=php_mssql70.dll

to PHP.ini. The person added the following line:

 extension=php_mssql70.dll

^^ Note that there is a space preceding the word extension -- might not show up in HTML. The PHP.INI parser fails to do a trim() while parsing, so the extension is not loaded.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-13 21:35 UTC] dbeu@php.net
i haven't found any spaces in front of these extensions in the php.ini-*
if there have been some, it has been fixed now
 [2000-09-13 22:31 UTC] sniper@php.net
The problem wasn't in the distributed php.ini* files but in the
ini-parseing funcs..reopened.

--Jani
 [2000-10-30 11:01 UTC] stas@php.net
I not see a reason why it is a bug. Moving to feature request.
 [2001-06-14 16:21 UTC] sniper@php.net
seems to be fixed in 4.0.5

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC