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
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: sand_groper80 at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 22:01:29 2024 UTC