[英]Getting Older PHP Extensions
It happens that I need the GD, SQLite and a few more extensions for php 5.1. 碰巧我需要GD,SQLite和php 5.1的更多扩展。 But I can't find out where to get them.
但是我找不到在哪里买的。
I am using WinBinder to develop some desktop applications for Windows with php. 我正在使用WinBinder使用php开发一些Windows桌面应用程序。 The minimal php 5.1 pack has the winbinder extension only.
最小的PHP 5.1包仅具有winbinder扩展名。 I need other extensions for enhanced features like image editing or data storage.
我需要其他扩展来增强功能,例如图像编辑或数据存储。
Can anybody help? 有人可以帮忙吗? I really need this very much.
我真的很需要这个。
PS: I want to get pre-compiled DLLs if posible. PS:如果可以的话,我想获取预编译的DLL。
Thanks and Regards, Masnun 感谢和问候,Masnun
Check here for your specific version: http://www.php.net/releases/ 在此处查看您的特定版本: http : //www.php.net/releases/
The 'Windows Binary' link will provide a .zip file containing the ext folder where you will find all standard extensions including php_gd2.dll and the 'Collection of PECL modules...' link will allow you to source additional extensions you may require. “ Windows Binary”链接将提供一个.ext文件,其中包含ext文件夹,您可以在其中找到所有标准扩展名,包括php_gd2.dll和“ PECL模块的集合...”链接,您可以通过它们获取您可能需要的其他扩展名。
You will still need to enable these in your php.ini as described in other comments. 如其他注释所述,您仍然需要在php.ini中启用这些功能。
Hope this helps, 希望这可以帮助,
Jason. 杰森
To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory.要启用GD支持,请配置PHP --with-gd [= DIR],其中DIR是GD基本安装目录。 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.
要使用推荐的捆绑库版本的GD库(PHP 4.3.0中首次捆绑),请使用configure选项--with-gd。 GD library requires libpng and libjpeg to compile.
GD库需要libpng和libjpeg进行编译。
In Windows, you'll include the GD2 DLL php_gd2.dll as an extension in php.ini.在Windows中,您将GD2 DLL php_gd2.dll作为扩展名包含在php.ini中。 The GD1 DLL php_gd.dll was removed in PHP 4.3.2.
GD1 DLL php_gd.dll在PHP 4.3.2中被删除。 Also note that the preferred truecolor image functions, such as imagecreatetruecolor(), require GD2.
另请注意,首选的truecolor图像函数(例如imagecreatetruecolor())需要GD2。
Enhance the capabilities of GD to handle more image formats by specifying the --with-XXXX configure switch to your PHP configure line.通过在PHP configure行中指定--with-XXXX configure开关,增强GD处理更多图像格式的功能。
http://www.php.net/manual/en/image.installation.php http://www.php.net/manual/zh/image.installation.php
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.