PHP 4.0 Bug #6725 Updated: Spaces preceding line cause problems in PHP.ini
| From: | Bug Database | Date: | Thu, 14 Sep 2000 02:31:04 +0000 |
| Subject: | PHP 4.0 Bug #6725 Updated: Spaces preceding line cause problems in PHP.ini | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33175@lists.php.net to get a copy of this message | ||
ID: 6725
Updated by: sniper
Reported By: jlim@natsoft.com.my
Status: Open
Bug Type: *General Issues
Assigned To:
Comments:
The problem wasn't in the distributed php.ini* files but in the
ini-parseing funcs..reopened.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-13 21:35:41] 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 19:46:03] jlim@natsoft.com.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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6725