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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 00:01:29 2024 UTC