Doc #64419 [Opn->Fbk]: php.ini should have comment on path to ext directory.
| From: | cmb@php.net | Date: | Tue, 09 Jun 2015 19:01:21 +0000 |
| Subject: | Doc #64419 [Opn->Fbk]: php.ini should have comment on path to ext directory. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12398@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64419&edit=1
ID: 64419
Updated by: cmb@php.net
Reported by: vladimir dot camaj at gmail dot com
-Summary: php.ini should have coment on path to ext directory.
+Summary: php.ini should have comment on path to ext
directory.
-Status: Open
+Status: Feedback
Type: Documentation Problem
-Package: Windows Installer
+Package: *Configuration Issues
-Operating System: Windows
+Operating System: Windows only
PHP Version: 5.4.12
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I'm not aware of any problems with relative extension_dir paths on
recent PHP versions under supported Windows versions. Anybody
else? Otherwise there would be no need for additional
docs/comments.
@burek021: this is a separate issue. Please create a new ticket as
feature request.
Previous Comments:
------------------------------------------------------------------------
[2013-04-27 18:59:16] burek021 at gmail dot com
I just installed php (with the latest apache 2.4 from apachelounge) on Windows
XP and Windows 7. In both php.ini-development and php.ini-production there are
commented out lines that say:
; extension_dir = "ext"
I copied php.ini-production to php.ini. Now, when I enable two extensions, by
uncommenting the lines:
extension=php_mysql.dll
extension=php_mysqli.dll
I should be able (after the restart of apache) to see mysql/mysqli support in
phpinfo(), but I don't. After commenting out the following line, I'm able to see
those 2 extensions available in phpinfo():
extension_dir = "ext"
That's why I think there is a bug on a Window OS, which prevents php from
correctly determining its extension_dir and I could suggest that default value
for that variable (if commented by default), on Windows, should be "ext".
------------------------------------------------------------------------
[2013-03-15 10:52:32] jhannwong at gmail dot com
This is needed for a portable WAMP on a thumbdrive.
This should be classified as a bug, since the php.ini indicates that relative paths are to be used.
------------------------------------------------------------------------
[2013-03-13 13:25:03] vladimir dot camaj at gmail dot com
Some Windowses doesn´t works correctly with relative path. There should be some coment to note
this.
------------------------------------------------------------------------
[2013-03-13 13:21:35] vladimir dot camaj at gmail dot com
Description:
------------
php.ini line 729:
; On windows:
extension_dir = "ext"
Test script:
---------------
php.ini line 729(here should be note, that (some???)Windows may needs absolute path for loading
extensions):
; On windows:
extension_dir = "ext"
Expected result:
----------------
Windows(min. XP) doesn´t work with relative paths correctly. There should be the absolute path to
work right("C:\PHP54\ext"). I seems that Win take the path from system path variable
first. So it would be fine, if there will be some coment for this unexpected behavior. For example:
"Windows may needs absolute path for loading extensions".
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64419&edit=1