#26581 [Bgs]: extension_dir is wrong for Windows
| From: | goba@php.net | Date: | Wed, 10 Dec 2003 17:09:49 +0000 |
| Subject: | #26581 [Bgs]: extension_dir is wrong for Windows | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357323@lists.php.net to get a copy of this message | ||
ID: 26581
Updated by: goba@php.net
Reported By: sire at acc dot umu dot se
Status: Bogus
Bug Type: Documentation problem
Operating System: All Windows
PHP Version: 4.3.4
New Comment:
Setting it to ./extensions might not work for all installation methods.
The current directory is not guaranteed to be the PHP.exe folder on all
servers and all methods (ISAPI, CGI, FastCGI, NSAPI, etc.). Best
practice is to provide a full path in there, which is dependant on your
local machine, so it cannot be provided as a default...
Previous Comments:
------------------------------------------------------------------------
[2003-12-10 10:46:37] vrana@php.net
It's described in install.txt. If someone installs without reading
install.txt, he probably knows what is he doing.
------------------------------------------------------------------------
[2003-12-10 10:37:11] sire at acc dot umu dot se
Reopened.
------------------------------------------------------------------------
[2003-12-10 10:34:32] sire at acc dot umu dot se
So you don't agree that it would be HELPFUL if the windows installation
actually worked without the need to edit the php.ini file?
EVERY Windows user is going to have to make this php.ini modification
if they want to use more extensions.
If this will have consequences I don't know of, atleast add a comment
in the php.ini-dist file! Thanks.
------------------------------------------------------------------------
[2003-12-10 09:18:41] vrana@php.net
You can unzip extensions wherever you want. It's in extensions/
directory just in distribution archive. It's stated also in
install.txt.
------------------------------------------------------------------------
[2003-12-10 09:10:29] sire at acc dot umu dot se
Description:
------------
The variable extension_dir is set to "./", it must be "./extensions"
for Windows users. Please state this in the php.ini file, and in the
manual... and make it default when installing the Windows exe??
When set to ./ and you enable gd2 (probably anything), and try to load
a php page, it justs loads forever.
Thanks for fixing this!
Read more here: http://se.php.net/function.imagecreatefromjpeg
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26581&edit=1