如何定位 php.ini 文件 (xampp) [英] How to locate the php.ini file (xampp)

查看:24
本文介绍了如何定位 php.ini 文件 (xampp)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 xamppserver 进行 PHP 开发并想编辑 php.ini 文件;我在哪里可以找到它?

I am using xamppserver for PHP development and want to edit the php.ini file; where can I locate it?

推荐答案

对于Windows,可以在C:xamppphpphp.ini-Folder (Windows) 或 etc-Folder(within xampp-Folder).

For Windows, you can find the file in the C:xamppphpphp.ini-Folder (Windows) or in the etc-Folder (within the xampp-Folder).

Linux下,大部分发行版都将lampp放在/opt/lampp下,所以文件可以在/opt/lampp/etc/php.ini下找到.

Under Linux, most distributions put lampp under /opt/lampp, so the file can be found under /opt/lampp/etc/php.ini.

可以使用普通的文本编辑器进行编辑.

It can be edited using a normal Text-Editor.

澄清:

  • Xampp(X(用于某些操作系统")、Apache、MySQL、P呃,PHP)
  • Lampp(Linux、Apache、MySQL、P呃,PHP)
  • Xampp (X (for "some OS"), Apache, MySQL, Perl, PHP)
  • Lampp (Linux, Apache, MySQL, Perl, PHP)

在这种情况下,它们可以相互替换.

in this context, they can be substituted for one another.

这篇关于如何定位 php.ini 文件 (xampp)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆