<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>161134</bug_id>
          
          <creation_ts>2016-08-24 04:02:41 -0700</creation_ts>
          <short_desc>[Win] http server is not starting.</short_desc>
          <delta_ts>2016-08-24 11:35:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>161047</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1222631</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-08-24 04:02:41 -0700</bug_when>
    <thetext>The http server fails to start in the layout tests:

ServerError raised: Failed to start httpd: AH00526: Syntax error on line 2 of -c/-C directives:
Only first PHPINIDir directive honored per configuration tree - subsequent ones ignored</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222632</commentid>
    <comment_count>1</comment_count>
      <attachid>286847</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-08-24 04:16:47 -0700</bug_when>
    <thetext>Created attachment 286847
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222666</commentid>
    <comment_count>2</comment_count>
      <attachid>286847</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-08-24 09:27:37 -0700</bug_when>
    <thetext>Comment on attachment 286847
Patch

Looks good. It&apos;s a shame we can&apos;t keep Windows and other OS&apos;s more consistent here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222667</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-08-24 09:29:34 -0700</bug_when>
    <thetext>Do you need to update the XAMPP &apos;php.ini&apos; file to match what was done on macOS? Or perhaps Windows is running an older PHP that doesn&apos;t need it?

####
; Let &lt;meta charset&gt; work. A charset provided in Content-Type takes precedence, and PHP 5.6+ defaults to UTF-8.
default_charset = &quot;&quot;
####</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222687</commentid>
    <comment_count>4</comment_count>
      <attachid>286847</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-08-24 10:03:24 -0700</bug_when>
    <thetext>Comment on attachment 286847
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=286847&amp;action=review

&gt; Tools/ChangeLog:8
&gt; +        Avoid setting php ini folder twice, it has been set in http.conf.

Is the line in http.conf needed? It seems wrong to have it, but then to override globally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222708</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-08-24 10:28:38 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Comment on attachment 286847 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=286847&amp;action=review
&gt; 
&gt; &gt; Tools/ChangeLog:8
&gt; &gt; +        Avoid setting php ini folder twice, it has been set in http.conf.
&gt; 
&gt; Is the line in http.conf needed? It seems wrong to have it, but then to
&gt; override globally.

PerArne: What happens if we remove the PHPINIDir line from the Windows apache configuration file? I think the php.conf in XAMPP is just the default setup, but I haven&apos;t investigated this myself.

Can you try that before landing this change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222714</commentid>
    <comment_count>6</comment_count>
      <attachid>286847</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-08-24 10:36:58 -0700</bug_when>
    <thetext>Comment on attachment 286847
Patch

Brent looked at the XAMPP php.ini, and looks like there are things in it that are needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222722</commentid>
    <comment_count>7</comment_count>
      <attachid>286866</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-08-24 10:49:20 -0700</bug_when>
    <thetext>Created attachment 286866
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222725</commentid>
    <comment_count>8</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-08-24 10:52:09 -0700</bug_when>
    <thetext>Thanks for reviewing!

I agree with your comments, I have updated the patch :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222734</commentid>
    <comment_count>9</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-08-24 10:56:58 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; Comment on attachment 286847 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; https://bugs.webkit.org/attachment.cgi?id=286847&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Tools/ChangeLog:8
&gt; &gt; &gt; +        Avoid setting php ini folder twice, it has been set in http.conf.
&gt; &gt; 
&gt; &gt; Is the line in http.conf needed? It seems wrong to have it, but then to
&gt; &gt; override globally.
&gt; 
&gt; PerArne: What happens if we remove the PHPINIDir line from the Windows
&gt; apache configuration file? I think the php.conf in XAMPP is just the default
&gt; setup, but I haven&apos;t investigated this myself.
&gt; 
&gt; Can you try that before landing this change?

I tried this, and it actually seems to fix some http tests :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222740</commentid>
    <comment_count>10</comment_count>
      <attachid>286866</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-08-24 11:10:22 -0700</bug_when>
    <thetext>Comment on attachment 286866
Patch

r=me given that it works :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222749</commentid>
    <comment_count>11</comment_count>
      <attachid>286866</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-08-24 11:35:15 -0700</bug_when>
    <thetext>Comment on attachment 286866
Patch

Clearing flags on attachment: 286866

Committed r204907: &lt;http://trac.webkit.org/changeset/204907&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222750</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-08-24 11:35:21 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>286847</attachid>
            <date>2016-08-24 04:16:47 -0700</date>
            <delta_ts>2016-08-24 10:49:13 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-161134-20160824041446.patch</filename>
            <type>text/plain</type>
            <size>1919</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIwNDg5NCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDE2LTA4LTI0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AgICAgICAjIFBlcmZvcm0gcGFydCBvZiB0aGUgY2hlY2tzIEFwYWNo
ZSdzIEFQUiBkb2VzIHdoZW4gdHJ5aW5nIHRvIGxpc3RlbiB0bwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>286866</attachid>
            <date>2016-08-24 10:49:20 -0700</date>
            <delta_ts>2016-08-24 11:35:15 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-161134-20160824104720.patch</filename>
            <type>text/plain</type>
            <size>1160</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDIwNDkwNCkKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE2LTA4LTI0ICBQZXIgQXJuZSBWb2xsYW4g
IDxwdm9sbGFuQGFwcGxlLmNvbT4KKworICAgICAgICBbV2luXSBodHRwIHNlcnZlciBpcyBub3Qg
c3RhcnRpbmcuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD0xNjExMzQKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICBBdm9pZCBzZXR0aW5nIHRoZSBwaHAgaW5pIGZvbGRlciB0d2ljZSwgaXQgaXMgbm90IGFsbG93
ZWQgYnkgeGFtcHAuCisKKyAgICAgICAgKiBodHRwL2NvbmYvYXBhY2hlMi40LWh0dHBkLXdpbi5j
b25mOgorCiAyMDE2LTA4LTI0ICBCcmFkeSBFaWRzb24gIDxiZWlkc29uQGFwcGxlLmNvbT4KIAog
ICAgICAgICBDaGFuZ2luZyBnYW1lcGFkIHRlc3QgdG8gdHJ5IHRvIGdldCBtb3JlIGluZm8gYWJv
dXQgdGhlIGZhaWx1cmUgbW9kZSBvbiB0aGUgYm90cy4KSW5kZXg6IExheW91dFRlc3RzL2h0dHAv
Y29uZi9hcGFjaGUyLjQtaHR0cGQtd2luLmNvbmYKPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gTGF5b3V0VGVzdHMv
aHR0cC9jb25mL2FwYWNoZTIuNC1odHRwZC13aW4uY29uZgkocmV2aXNpb24gMjA0ODg2KQorKysg
TGF5b3V0VGVzdHMvaHR0cC9jb25mL2FwYWNoZTIuNC1odHRwZC13aW4uY29uZgkod29ya2luZyBj
b3B5KQpAQCAtMTI2LDggKzEyNiw2IEBAIFNlcnZlclNpZ25hdHVyZSBPbgogPC9JZk1vZHVsZT4K
IAogPElmTW9kdWxlIG1vZF9waHA1LmM+Ci0gICAgUEhQSW5pRGlyICJDOi94YW1wcC9waHAiCi0K
ICAgICBBZGRUeXBlIGFwcGxpY2F0aW9uL3gtaHR0cGQtcGhwIC5waHAKICAgICBBZGRUeXBlIGFw
cGxpY2F0aW9uL3gtaHR0cGQtcGhwIC5iYXQKICAgICBBZGRUeXBlIGFwcGxpY2F0aW9uL3gtaHR0
cGQtcGhwLXNvdXJjZSAucGhwcwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>