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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 04:01:27 2024 UTC