Debian Хрипящий PHP понижение/обновление вопросов

хорошо я решил его:

  1. создание папки контекстов на том же уровне как www папка.
  2. создание следующего файла domain2.xml в папке контекстов (не забывают добавлять xml заголовок),

'поместите 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>
0
задан 7 November 2013 в 14:57
1 ответ

phpinfo () предоставит вам путь php.ini .

Вы также можете сделать:

sudo find /etc/* -name php.ini

и проверить другие файлы конфигурации.

Если вы используете установку nginx, вы можете посмотреть: fpm / php.ini .

0
ответ дан 24 November 2019 в 10:21

Теги

Похожие вопросы