хорошо я решил его:
'поместите xml заголовок здесь'
<!-- ================================================================== Configure and deploy the test web application in $(jetty.home)/webapps/test Note. If this file did not exist or used a context path other that /test then the default configuration of jetty.xml would discover the test webapplication with a WebAppDeployer. By specifying a context in this directory, additional configuration may be specified and hot deployments detected. ===================================================================== --> <Configure class="org.mortbay.jetty.webapp.WebAppContext"> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- Required minimal context configuration : --> <!-- + contextPath --> <!-- + war OR resourceBase --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <Set name="contextPath">/</Set> <!-- <Set name="war"><SystemProperty name="jetty.home" default="."/>/www</Set> --> <Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/www/domain2/</Set> <!-- <Set name="handler"> <New class="org.mortbay.jetty.handler.ResourceHandler"> <Set name="welcomeFiles"> <Array type="String"> <Item>index.html</Item> </Array> </Set> </New> </Set> --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- Optional context configuration --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/config/jetty/webdefault.xml</Set> <Set name="overrideDescriptor"><SystemProperty name="jetty.home" default="."/>/www/domain2/WEB-INF/web.xml</Set> <!-- virtual hosts --> <Set name="virtualHosts"> <Array type="String"> <Item>domain2.com</Item> <Item>www.domain2.com</Item> </Array> </Set> </Configure>
phpinfo ()
предоставит вам путь php.ini
.
Вы также можете сделать:
sudo find /etc/* -name php.ini
и проверить другие файлы конфигурации.
Если вы используете установку nginx, вы можете посмотреть: fpm / php.ini
.