From:             prof_moriarty at veryfast dot biz
Operating system: XP Home
PHP version:      5.0.0RC1
PHP Bug Type:     Documentation problem
Bug description:  unclear documentaiton pertaining to extensions

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. :)


-- 
Edit bug report at http://bugs.php.net/?id=28171&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28171&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28171&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28171&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28171&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28171&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28171&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28171&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28171&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28171&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28171&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28171&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28171&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28171&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28171&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28171&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28171&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28171&r=float

Reply via email to