如何找到php.ini文件(xampp) [英] How to locate the php.ini file (xampp)
本文介绍了如何找到php.ini文件(xampp)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用xampp
服务器进行PHP
开发,并且想要编辑php.ini
文件;我在哪里可以找到它?
I am using xampp
server for PHP
development and want to edit the php.ini
file; where can I locate it?
推荐答案
对于 Windows ,您可以在C:\xampp\php\php.ini
-文件夹(Windows)或etc
-文件夹中找到文件(在 xampp文件夹内).
For Windows, you can find the file in the C:\xampp\php\php.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 ), A pache, M ySQL, P erl, P HP) -
Lampp
( L inux, A pache, M ySQL, P erl, P HP)
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屋!
查看全文