[英]where is php.ini in joomla? (xampp installation)
我用谷歌搜索过去30分钟没有解决方案。 我甚至搜索了'php.ini',我得到的只是我整个localhost / htdocts / mysites目录下的ini.php文件,我目前安装了joomla。 我在joomla论坛上找到的最新答案是在2011年7月,但我找不到人们所说的php.ini文件。 我甚至尝试检查安装目录,然后删除它并打开隐藏文件,一切都没有运气。 我必须将设置更改为我在安装后立即停止获取以下不必要的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
php.ini
文件属于您的服务器配置,不属于Joomla。 您似乎正在使用XAMPP - 如果您有XAMPP> = 1.7.0,则该文件应位于C:\\xampp\\php
目录中;对于旧版本,该文件应位于c:\\xampp\\apache\\bin
中。
它应该在版本1.7.0及更高版本的xamppInstallationDir / PHP / PHP.ini中找到。
无论是什么情况*,您都可以获知后端Joomla实例加载的任何php.ini文件。 只需转到系统 - >系统信息 - > PHP信息,Joomla实际运行phpinfo()函数。 在那里,您将能够找到有关服务器环境的PHP配置的所有相关信息。 特别是对于php.ini,你可以看看这些行:
*除非在服务器中禁用phpinfo()。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.