Doc #75900 [Com]: Misleading php.ini entry for extensions

From: Date: Sat, 03 Feb 2018 21:57:33 +0000
Subject: Doc #75900 [Com]: Misleading php.ini entry for extensions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15409@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75900&edit=1 ID: 75900 Comment by: a at b dot c dot de Reported by: sand_groper80 at hotmail dot com Summary: Misleading php.ini entry for extensions Status: Not a bug Type: Documentation Problem Package: PHP options/info functions Operating System: windows 10 PHP Version: 7.2.1 Block user comment: N Private report: N New Comment: And, assuming that PHP was installed in C:\php, then the documented extension_dir = "ext" works just fine as well. Previous Comments: ------------------------------------------------------------------------ [2018-02-01 01:47:14] requinix@php.net I'm not sure what you had wrong before but quotes work just fine. ------------------------------------------------------------------------ [2018-02-01 01:19:57] 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..... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75900&edit=1

« previous php.doc.bugs (#15409) next »