[英]where is php.ini in joomla? (xampp installation)
I've googled for the past 30 minutes with no solution. 我用谷歌搜索过去30分钟没有解决方案。 I even searched 'php.ini' and all I get is ini.php files in my whole localhost/htdocts/mysites directory where my joomla is currently installed.
我甚至搜索了'php.ini',我得到的只是我整个localhost / htdocts / mysites目录下的ini.php文件,我目前安装了joomla。 The most recent answer I've found on the joomla forum is in july 2011 but I can't find the php.ini file where the people are saying it is.
我在joomla论坛上找到的最新答案是在2011年7月,但我找不到人们所说的php.ini文件。 I even tried checking the installation directory before deleting it and turning on hidden files all with no luck.
我甚至尝试检查安装目录,然后删除它并打开隐藏文件,一切都没有运气。 I have to change the settings to I stop getting uneccessary php error messages like the following right after installation:
我必须将设置更改为我在安装后立即停止获取以下不必要的php错误消息:
Strict Standards: Static function JDatabase::test() should not be abstract in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\database\database.php on line 350
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 394
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 396
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 396
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 396
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 396
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 394
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 396
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\mysites\joomla_now\libraries\joomla\cache\cache.php on line 396
The php.ini
file belongs to your server configuration and is not part of Joomla. php.ini
文件属于您的服务器配置,不属于Joomla。 It seems you are using XAMPP - the file should be in your C:\\xampp\\php
directory if you have XAMPP >= 1.7.0 and in c:\\xampp\\apache\\bin
for older versions. 您似乎正在使用XAMPP - 如果您有XAMPP> = 1.7.0,则该文件应位于
C:\\xampp\\php
目录中;对于旧版本,该文件应位于c:\\xampp\\apache\\bin
中。
它应该在版本1.7.0及更高版本的xamppInstallationDir / PHP / PHP.ini中找到。
Whatever the case *, you can get informed for any php.ini files loaded by your Joomla instance in the backend. 无论是什么情况*,您都可以获知后端Joomla实例加载的任何php.ini文件。 Simply go to System -> System Information -> PHP Information, where Joomla actually runs a phpinfo() function.
只需转到系统 - >系统信息 - > PHP信息,Joomla实际运行phpinfo()函数。 There you will be able to find all relevant information about the PHP configuration of your server environment.
在那里,您将能够找到有关服务器环境的PHP配置的所有相关信息。 Particularly for the php.ini you can look at these lines:
特别是对于php.ini,你可以看看这些行:
*Unless phpinfo() is disabled in the server. *除非在服务器中禁用phpinfo()。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.