php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26581 extension_dir is wrong for Windows
Submitted: 2003-12-10 09:10 UTC Modified: 2003-12-10 12:08 UTC
From: sire at acc dot umu dot se Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.4 OS: All Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sire at acc dot umu dot se
New email:
PHP Version: OS:

 

 [2003-12-10 09:10 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-10 09:18 UTC] 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 10:34 UTC] 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 10:37 UTC] sire at acc dot umu dot se
Reopened.
 [2003-12-10 10:46 UTC] 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 12:09 UTC] goba@php.net
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...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 28 07:01:27 2024 UTC