简体   繁体   English

如何在XAMPP上安装PHP库?

[英]how do you install PHP libraries on XAMPP?

因此,我知道通常在Web服务器上的/ lib /文件夹中安装PHP librabry,但是我在XAMPP上找不到/ lib /文件夹,因此我试图在XAMPP中安装Swiftmailer。

In /php/ext you can drop php extensions, remember to add them to php.ini later in /php/php.ini with the respective configuration. 在/ php / ext中,您可以删除php扩展名,请记住稍后使用各自的配置将其添加到php.ini中。 You can also use PECL.In /php/ext you can drop php extensions, remember to add them to php.ini later in /php/php.ini with the respective configuration. 您还可以使用PECL。在/ php / ext中,您可以删除php扩展名,请记住稍后使用相应的配置将其添加到php.ini中。 You can also use PECL. 您也可以使用PECL。

XAMPP is the tools stack that allows you to run PHP applications on an Apache server (Perl and MySQL also). XAMPP是允许您在Apache服务器(也可以是Perl和MySQL)上运行PHP应用程序的工具堆栈。 It isn't supposed to keep any kind of library. 它不应该保留任何类型的库。

I suggest you saving your libraries in your project's folder. 建议您将库保存在项目的文件夹中。
Or in a global folder that you will add to your PHP include path . 或者在将添加到PHP 包含路径全局文件夹中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM