如何定位 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.
相关文章