php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28171 unclear documentaiton pertaining to extensions
Submitted: 2004-04-26 22:41 UTC Modified: 2004-04-27 15:49 UTC
From: prof_moriarty at veryfast dot biz Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.0RC1 OS: XP Home
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: prof_moriarty at veryfast dot biz
New email:
PHP Version: OS:

 

 [2004-04-26 22:41 UTC] prof_moriarty at veryfast dot biz
Description:
------------
Am still using 5.0RC2. :)

The documentation on loading extensions isn't particularly clear. At least it's usually of little help when trying to load an extension on windows.
Usually because the instructions for installing it on windows are mingled in with the instructions for compiling it.



For example, a quote from the GD library installation page:
"
To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. In Windows, you'll include the GD2 DLL php_gd2.dll as an extension in php.ini. The GD1 DLL php_gd.dll was removed in PHP 4.3.2. Also note that the preferred truecolor image functions, such as imagecreatetruecolor(), require GD2. 

To enable exif support in Windows, php_mbstring.dll must be loaded prior to php_exif.dll in php.ini. 

To disable GD support in PHP 3 add --without-gd to your configure line. 

Enhance the capabilities of GD to handle more image formats by specifying the --with-XXXX configure switch to your PHP configure line.
"


It starts of compiling, then refers to getting it to work on windows. There should be some sort of discrimination between the two. Even a return character. Though preferably a heading.

Also, it then goes on to talk about configure lines, but without stating whether those are for *nix, or win, or both.

Sorry for griping, but some of these damned extensions have taken hours of my life away at various points in the past. :)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-27 15:49 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=4e80e7cbed0060854edc6e5bd7c6faa283a8ee9f
Log: fix #28171: better style. no new content
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 11:01:28 2024 UTC