php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75900 Misleading php.ini entry for extensions
Submitted: 2018-02-01 01:19 UTC Modified: 2018-02-01 01:47 UTC
From: sand_groper80 at hotmail dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 7.2.1 OS: windows 10
Private report: No CVE-ID: None
 [2018-02-01 01:19 UTC] sand_groper80 at hotmail dot com
Description:
------------
The sample php.ini files show these lines 

; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
; extension_dir = "ext"

This led me to try 
extension_dir = "c:\php\ext"   - which of course did not work!!

It took several hours to realise that correct is
extension_dir = c:\php\ext   ie no quotes - which all worked.

This is minor but easy to fix.....





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-01 01:47 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2018-02-01 01:47 UTC] requinix@php.net
I'm not sure what you had wrong before but quotes work just fine.
 [2018-02-03 21:57 UTC] a at b dot c dot de
And, assuming that PHP was installed in C:\php, then the documented

extension_dir = "ext"

works just fine as well.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC