PHP5 beta problems with WinXP/Apache2 and GD
| From: | Ulrich Speidel | Date: | Thu, 02 Oct 2003 11:17:28 +0000 |
| Subject: | PHP5 beta problems with WinXP/Apache2 and GD | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11993@lists.php.net to get a copy of this message | ||
Hiya,
I wonder if anyone has come across the following problem, too, or can give me advice on how/whether this is a configuration problem, a bug, an as-yet-unsupported extension, or simply a missing library on my side:
- I run PHP 5.0.0b2-dev with Apache 2.0.44 under Windows XP. I have tried several recent Win32 builds from snaps.php.net and they all give the same symptom
- In my php.ini, I have uncommented the "extension=php_gd2.dll" line, and the extension_dir points to the correct location
- Upon startup, Apache shows two warnings with identical text:
"Invalid access level for gd_info() - access must be exactly one of public, protected, or private"
- after showing the warnings, Apache starts normally and PHP scripts that do not rely on GD work without undue problems.
- my tried and tested graphics PHP script fails with the following error:
"Fatal error: Call to undefined function ImageCreate() in ..."
- phpinfo() reports the GD extension as enabled, bundled, and GD 2.0.15 compatible, as I guess should be.
Any suggestions?
Regards,
Ulrich