Doc #64419 [Fbk->NoF]: php.ini should have comment on path to ext directory.
Edit report at https://bugs.php.net/bug.php?id=64419&edit=1
ID: 64419
Updated by: php-bugs@lists.php.net
Reported by: vladimir dot camaj at gmail dot com
Summary: php.ini should have comment on path to ext directory.
-Status: Feedback
+Status: No Feedback
Type: Documentation Problem
Package: *Configuration Issues
Operating System: Windows only
PHP Version: 5.4.12
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2015-06-09 19:01:20] cmb@php.net
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.
------------------------------------------------------------------------
[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
Thread (6 messages)