WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
161134
[Win] http server is not starting.
https://bugs.webkit.org/show_bug.cgi?id=161134
Summary
[Win] http server is not starting.
Per Arne Vollan
Reported
2016-08-24 04:02:41 PDT
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
Attachments
Patch
(1.87 KB, patch)
2016-08-24 04:16 PDT
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(1.13 KB, patch)
2016-08-24 10:49 PDT
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Per Arne Vollan
Comment 1
2016-08-24 04:16:47 PDT
Created
attachment 286847
[details]
Patch
Brent Fulgham
Comment 2
2016-08-24 09:27:37 PDT
Comment on
attachment 286847
[details]
Patch Looks good. It's a shame we can't keep Windows and other OS's more consistent here.
Brent Fulgham
Comment 3
2016-08-24 09:29:34 PDT
Do you need to update the XAMPP 'php.ini' file to match what was done on macOS? Or perhaps Windows is running an older PHP that doesn't need it? #### ; Let <meta charset> work. A charset provided in Content-Type takes precedence, and PHP 5.6+ defaults to UTF-8. default_charset = "" ####
Alexey Proskuryakov
Comment 4
2016-08-24 10:03:24 PDT
Comment on
attachment 286847
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=286847&action=review
> Tools/ChangeLog:8 > + 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.
Brent Fulgham
Comment 5
2016-08-24 10:28:38 PDT
(In reply to
comment #4
)
> Comment on
attachment 286847
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=286847&action=review
> > > Tools/ChangeLog:8 > > + 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.
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't investigated this myself. Can you try that before landing this change?
Alexey Proskuryakov
Comment 6
2016-08-24 10:36:58 PDT
Comment on
attachment 286847
[details]
Patch Brent looked at the XAMPP php.ini, and looks like there are things in it that are needed.
Per Arne Vollan
Comment 7
2016-08-24 10:49:20 PDT
Created
attachment 286866
[details]
Patch
Per Arne Vollan
Comment 8
2016-08-24 10:52:09 PDT
Thanks for reviewing! I agree with your comments, I have updated the patch :)
Per Arne Vollan
Comment 9
2016-08-24 10:56:58 PDT
(In reply to
comment #5
)
> (In reply to
comment #4
) > > Comment on
attachment 286847
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=286847&action=review
> > > > > Tools/ChangeLog:8 > > > + 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. > > 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't investigated this myself. > > Can you try that before landing this change?
I tried this, and it actually seems to fix some http tests :)
Alexey Proskuryakov
Comment 10
2016-08-24 11:10:22 PDT
Comment on
attachment 286866
[details]
Patch r=me given that it works :)
WebKit Commit Bot
Comment 11
2016-08-24 11:35:15 PDT
Comment on
attachment 286866
[details]
Patch Clearing flags on attachment: 286866 Committed
r204907
: <
http://trac.webkit.org/changeset/204907
>
WebKit Commit Bot
Comment 12
2016-08-24 11:35:21 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug