简体   繁体   English

在XAMPP上的哪里安装PHP扩展?

[英]Where to install PHP extension on XAMPP?

I am a PHP and XAMPP noob. 我是PHP和XAMPP新手。 I would like to enable PHP error logging in Chrome. 我想在Chrome中启用PHP错误日志记录。 I have located 2 Chrome extensions that purport to do this. 我找到了2个旨在实现此目的的Chrome扩展程序。 But each requires that I install libraries on my server. 但是每个都要求我在服务器上安装库。 I am using a local installation of XAMPP as my server, and I am wondering where exactly I need to install these libraries. 我正在使用XAMPP的本地安装作为服务器,我想知道我到底需要在哪里安装这些库。

The libraries consist of various files and folders, but the important files appear to be PHP files. 这些库由各种文件和文件夹组成,但是重要的文件似乎是PHP文件。 In my XAMPP area, there exists a php/ext directory. 在我的XAMPP区域中,存在一个php / ext目录。 But there are no folders or php files in it (only .dll files). 但是其中没有文件夹或php文件(仅.dll文件)。 So this didn't seem like the right area. 因此,这似乎不是正确的领域。 Correct me if I'm wrong though. 如果我错了,请纠正我。

The plugins in-question are PHP Console and FirePHP. 所质疑的插件是PHP Console和FirePHP。 I think there are more, but these 2 appear to have what I need. 我认为还有更多,但是这两个似乎满足了我的需求。

Thanks in advance. 提前致谢。

In general while using xampp, just move your php files/libraries to 通常,在使用xampp时,只需将php文件/库移至

xampp->htdocs(folder) xampp->的htdocs(文件夹)

to make it work. 使它工作。
ie .php extensions work inside htdocs folder and its subsidiary folders only. 即.php扩展名仅在htdocs文件夹及其附属文件夹中起作用。

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

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