Title: [224084] trunk
Revision
224084
Author
[email protected]
Date
2017-10-26 21:04:18 -0700 (Thu, 26 Oct 2017)

Log Message

[GTK][WPE] install-dependencies can't find libapache2-mod-php7.0 on Ubuntu 17.10
https://bugs.webkit.org/show_bug.cgi?id=178854

Patch by Fujii Hironori <[email protected]> on 2017-10-26
Reviewed by Michael Catanzaro.

Tools:

* Scripts/webkitpy/port/base.py:
(Port._debian_php_version): Return "-php7.1" if libphp7.1.so found.
(Port._is_debian_php_version_7): Deleted.
* gtk/install-dependencies: Install libapache2-mod-php instead of libapache2-mod-php7.0.
* wpe/install-dependencies: Ditto.

LayoutTests:

* http/conf/debian-httpd-2.2.conf: Removed.
* http/conf/debian-httpd-2.4-php7.0.conf: Renamed from LayoutTests/http/conf/debian-httpd-2.4-php7.conf.
* http/conf/debian-httpd-2.4-php7.1.conf: Copied from LayoutTests/http/conf/debian-httpd-2.4-php7.conf.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (224083 => 224084)


--- trunk/LayoutTests/ChangeLog	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/LayoutTests/ChangeLog	2017-10-27 04:04:18 UTC (rev 224084)
@@ -1,3 +1,14 @@
+2017-10-26  Fujii Hironori  <[email protected]>
+
+        [GTK][WPE] install-dependencies can't find libapache2-mod-php7.0 on Ubuntu 17.10
+        https://bugs.webkit.org/show_bug.cgi?id=178854
+
+        Reviewed by Michael Catanzaro.
+
+        * http/conf/debian-httpd-2.2.conf: Removed.
+        * http/conf/debian-httpd-2.4-php7.0.conf: Renamed from LayoutTests/http/conf/debian-httpd-2.4-php7.conf.
+        * http/conf/debian-httpd-2.4-php7.1.conf: Copied from LayoutTests/http/conf/debian-httpd-2.4-php7.conf.
+
 2017-10-26  Devin Rousso  <[email protected]>
 
         Web Inspector: Canvas Tab: canvas path components from old page stick around when page is reloaded

Deleted: trunk/LayoutTests/http/conf/debian-httpd-2.2.conf (224083 => 224084)


--- trunk/LayoutTests/http/conf/debian-httpd-2.2.conf	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/LayoutTests/http/conf/debian-httpd-2.2.conf	2017-10-27 04:04:18 UTC (rev 224084)
@@ -1,155 +0,0 @@
-ServerRoot "/usr"
-
-LockFile "/tmp/WebKit/httpd.lock"
-PidFile "/tmp/WebKit/httpd.pid"
-ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
-
-Timeout 300
-KeepAlive On
-MaxKeepAliveRequests 100
-KeepAliveTimeout 15
-
-MinSpareServers 1
-MaxSpareServers 5
-StartServers 1
-MaxClients 150
-MaxRequestsPerChild 100000
-
-LoadModule mime_module        /usr/lib/apache2/modules/mod_mime.so
-LoadModule negotiation_module /usr/lib/apache2/modules/mod_negotiation.so
-LoadModule include_module    /usr/lib/apache2/modules/mod_include.so
-LoadModule cgi_module         /usr/lib/apache2/modules/mod_cgi.so
-LoadModule asis_module        /usr/lib/apache2/modules/mod_asis.so
-LoadModule imagemap_module    /usr/lib/apache2/modules/mod_imagemap.so
-LoadModule actions_module      /usr/lib/apache2/modules/mod_actions.so
-LoadModule alias_module       /usr/lib/apache2/modules/mod_alias.so
-LoadModule rewrite_module     /usr/lib/apache2/modules/mod_rewrite.so
-LoadModule authz_host_module  /usr/lib/apache2/modules/mod_authz_host.so
-LoadModule headers_module     /usr/lib/apache2/modules/mod_headers.so
-LoadModule ssl_module         /usr/lib/apache2/modules/mod_ssl.so
-LoadModule php5_module        /usr/lib/apache2/modules/libphp5.so
-
-ServerName 127.0.0.1
-
-<Directory />
-    Options Indexes FollowSymLinks MultiViews ExecCGI Includes
-    AllowOverride All
-    Order allow,deny
-    Allow from all
-</Directory>
-
-AccessFileName .htaccess
-
-<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
-    Order allow,deny
-    Deny from all
-    Satisfy All
-</Files>
-
-UseCanonicalName On
-DefaultType text/plain
-HostnameLookups Off
-
-LogLevel warn
-LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
-LogFormat "%h %l %u %t \"%r\" %>s %b" common
-LogFormat "%{Referer}i -> %U" referer
-LogFormat "%{User-agent}i" agent
-
-ServerSignature On
-
-<IfModule mod_alias.c>
-</IfModule>
-
-<IfModule mod_mime.c>
-    AddLanguage da .dk
-    AddLanguage nl .nl
-    AddLanguage en .en
-    AddLanguage et .ee
-    AddLanguage fr .fr
-    AddLanguage de .de
-    AddLanguage el .el
-    AddLanguage he .he
-    AddCharset ISO-8859-8 .iso8859-8
-    AddLanguage it .it
-    AddLanguage ja .ja
-    AddCharset ISO-2022-JP .jis
-    AddLanguage kr .kr
-    AddCharset ISO-2022-KR .iso-kr
-    AddLanguage nn .nn
-    AddLanguage no .no
-    AddLanguage pl .po
-    AddCharset ISO-8859-2 .iso-pl
-    AddLanguage pt .pt
-    AddLanguage pt-br .pt-br
-    AddLanguage ltz .lu
-    AddLanguage ca .ca
-    AddLanguage es .es
-    AddLanguage sv .sv
-    AddLanguage cs .cz .cs
-    AddLanguage ru .ru
-    AddLanguage zh-TW .zh-tw
-    AddCharset Big5         .Big5    .big5
-    AddCharset WINDOWS-1251 .cp-1251
-    AddCharset CP866        .cp866
-    AddCharset ISO-8859-5   .iso-ru
-    AddCharset KOI8-R       .koi8-r
-    AddCharset UCS-2        .ucs2
-    AddCharset UCS-4        .ucs4
-    AddCharset UTF-8        .utf8
-
-    <IfModule mod_negotiation.c>
-        LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
-    </IfModule>
-
-    AddType application/x-tar .tgz
-
-    AddEncoding x-compress .Z
-    AddEncoding x-gzip .gz .tgz
-
-    AddHandler cgi-script .cgi .pl
-
-    AddType text/html .shtml
-    AddHandler server-parsed .shtml
-
-    AddHandler send-as-is asis
-</IfModule>
-
-<IfModule mod_php5.c>
-    AddType application/x-httpd-php .php
-    AddType application/x-httpd-php .bat
-    AddType application/x-httpd-php-source .phps
-
-    <IfModule mod_dir.c>
-        DirectoryIndex index.html index.php
-    </IfModule>
-
-    php_flag log_errors on
-    php_flag short_open_tag on
-</IfModule>
-
-<IfModule mod_rewrite.c>
-    RewriteEngine On
-    RewriteCond %{REQUEST_METHOD} ^TRACE
-    RewriteRule .* - [F]
-</IfModule>
-
-<VirtualHost *:8443>
-    ServerName 127.0.0.1
-    SSLEngine On
-</VirtualHost>
-
-#
-# Apple-specific filesystem protection.
-#
-<Files "rsrc">
-    Order allow,deny
-    Deny from all
-    Satisfy All
-</Files>
-
-<Directory  ~ ".*\.\.namedfork">
-    Order allow,deny
-    Deny from all
-    Satisfy All
-</Directory>

Copied: trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.0.conf (from rev 224083, trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.conf) (0 => 224084)


--- trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.0.conf	                        (rev 0)
+++ trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.0.conf	2017-10-27 04:04:18 UTC (rev 224084)
@@ -0,0 +1,148 @@
+ServerTokens OS
+ServerRoot "/usr/lib/apache2"
+
+PidFile "/tmp/WebKit/httpd.pid"
+ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
+
+Timeout 300
+KeepAlive On
+MaxKeepAliveRequests 100
+KeepAliveTimeout 15
+
+MinSpareServers 1
+MaxSpareServers 5
+StartServers 1
+MaxClients 150
+MaxRequestsPerChild 100000
+
+LoadModule mpm_prefork_module   modules/mod_mpm_prefork.so
+LoadModule authz_core_module    modules/mod_authz_core.so
+LoadModule authz_host_module    modules/mod_authz_host.so
+LoadModule include_module       modules/mod_include.so
+LoadModule headers_module       modules/mod_headers.so
+LoadModule mime_module          modules/mod_mime.so
+LoadModule negotiation_module   modules/mod_negotiation.so
+LoadModule actions_module       modules/mod_actions.so
+LoadModule alias_module         modules/mod_alias.so
+LoadModule rewrite_module       modules/mod_rewrite.so
+LoadModule cgi_module           modules/mod_cgi.so
+LoadModule ssl_module           modules/mod_ssl.so
+LoadModule php7_module          modules/libphp7.0.so
+LoadModule asis_module          modules/mod_asis.so
+
+ServerName 127.0.0.1
+
+<Directory />
+    Options Indexes FollowSymLinks MultiViews ExecCGI Includes
+    AllowOverride All
+    Require all granted
+</Directory>
+
+AccessFileName .htaccess
+
+<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
+    Require all denied
+</Files>
+
+UseCanonicalName On
+HostnameLookups Off
+
+TypesConfig /etc/mime.types
+
+LogLevel warn
+LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat "%h %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
+ErrorLog /tmp/WebKit/error_log
+
+ServerSignature On
+
+AddLanguage ca .ca
+AddLanguage cs .cz .cs
+AddLanguage da .dk
+AddLanguage de .de
+AddLanguage el .el
+AddLanguage en .en
+AddLanguage eo .eo
+AddLanguage es .es
+AddLanguage et .et
+AddLanguage fr .fr
+AddLanguage he .he
+AddLanguage hr .hr
+AddLanguage it .it
+AddLanguage ja .ja
+AddLanguage ko .ko
+AddLanguage ltz .ltz
+AddLanguage nl .nl
+AddLanguage nn .nn
+AddLanguage no .no
+AddLanguage pl .po
+AddLanguage pt .pt
+AddLanguage pt-BR .pt-br
+AddLanguage ru .ru
+AddLanguage sv .sv
+AddLanguage zh-CN .zh-cn
+AddLanguage zh-TW .zh-tw
+AddCharset Big5         .Big5    .big5
+AddCharset WINDOWS-1251 .cp-1251
+AddCharset CP866        .cp866
+AddCharset ISO-8859-5   .iso-ru
+AddCharset KOI8-R       .koi8-r
+AddCharset UCS-2        .ucs2
+AddCharset UCS-4        .ucs4
+AddCharset UTF-8        .utf8
+
+<IfModule mod_negotiation.c>
+    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
+</IfModule>
+
+AddType application/x-tar .tgz
+
+AddEncoding x-compress .Z
+AddEncoding x-gzip .gz .tgz
+
+AddType application/x-x509-ca-cert .crt
+AddType application/x-pkcs7-crl    .crl
+
+AddHandler cgi-script .cgi .pl
+
+AddType text/html .shtml
+AddOutputFilter INCLUDES .shtml
+
+AddHandler send-as-is asis
+
+<IfModule mod_php7.c>
+    AddType application/x-httpd-php .php
+    AddType application/x-httpd-php .bat
+    AddType application/x-httpd-php-source .phps
+
+    <IfModule mod_dir.c>
+        DirectoryIndex index.html index.php
+    </IfModule>
+
+    php_flag log_errors on
+    php_flag short_open_tag on
+</IfModule>
+
+<IfModule mod_rewrite.c>
+    RewriteEngine On
+    RewriteCond %{REQUEST_METHOD} ^TRACE
+    RewriteRule .* - [F]
+</IfModule>
+
+<VirtualHost *:8443>
+    ServerName 127.0.0.1
+    SSLEngine On
+</VirtualHost>
+
+#
+# Apple-specific filesystem protection.
+#
+<Files "rsrc">
+    Require all denied
+</Files>
+
+<Directory  ~ ".*\.\.namedfork">
+    Require all denied
+</Directory>

Copied: trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.1.conf (from rev 224083, trunk/LayoutTests/http/conf/debian-httpd-2.4.conf) (0 => 224084)


--- trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.1.conf	                        (rev 0)
+++ trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.1.conf	2017-10-27 04:04:18 UTC (rev 224084)
@@ -0,0 +1,148 @@
+ServerTokens OS
+ServerRoot "/usr/lib/apache2"
+
+PidFile "/tmp/WebKit/httpd.pid"
+ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
+
+Timeout 300
+KeepAlive On
+MaxKeepAliveRequests 100
+KeepAliveTimeout 15
+
+MinSpareServers 1
+MaxSpareServers 5
+StartServers 1
+MaxClients 150
+MaxRequestsPerChild 100000
+
+LoadModule mpm_prefork_module   modules/mod_mpm_prefork.so
+LoadModule authz_core_module    modules/mod_authz_core.so
+LoadModule authz_host_module    modules/mod_authz_host.so
+LoadModule include_module       modules/mod_include.so
+LoadModule headers_module       modules/mod_headers.so
+LoadModule mime_module          modules/mod_mime.so
+LoadModule negotiation_module   modules/mod_negotiation.so
+LoadModule actions_module       modules/mod_actions.so
+LoadModule alias_module         modules/mod_alias.so
+LoadModule rewrite_module       modules/mod_rewrite.so
+LoadModule cgi_module           modules/mod_cgi.so
+LoadModule ssl_module           modules/mod_ssl.so
+LoadModule php7_module          modules/libphp7.1.so
+LoadModule asis_module          modules/mod_asis.so
+
+ServerName 127.0.0.1
+
+<Directory />
+    Options Indexes FollowSymLinks MultiViews ExecCGI Includes
+    AllowOverride All
+    Require all granted
+</Directory>
+
+AccessFileName .htaccess
+
+<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
+    Require all denied
+</Files>
+
+UseCanonicalName On
+HostnameLookups Off
+
+TypesConfig /etc/mime.types
+
+LogLevel warn
+LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat "%h %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
+ErrorLog /tmp/WebKit/error_log
+
+ServerSignature On
+
+AddLanguage ca .ca
+AddLanguage cs .cz .cs
+AddLanguage da .dk
+AddLanguage de .de
+AddLanguage el .el
+AddLanguage en .en
+AddLanguage eo .eo
+AddLanguage es .es
+AddLanguage et .et
+AddLanguage fr .fr
+AddLanguage he .he
+AddLanguage hr .hr
+AddLanguage it .it
+AddLanguage ja .ja
+AddLanguage ko .ko
+AddLanguage ltz .ltz
+AddLanguage nl .nl
+AddLanguage nn .nn
+AddLanguage no .no
+AddLanguage pl .po
+AddLanguage pt .pt
+AddLanguage pt-BR .pt-br
+AddLanguage ru .ru
+AddLanguage sv .sv
+AddLanguage zh-CN .zh-cn
+AddLanguage zh-TW .zh-tw
+AddCharset Big5         .Big5    .big5
+AddCharset WINDOWS-1251 .cp-1251
+AddCharset CP866        .cp866
+AddCharset ISO-8859-5   .iso-ru
+AddCharset KOI8-R       .koi8-r
+AddCharset UCS-2        .ucs2
+AddCharset UCS-4        .ucs4
+AddCharset UTF-8        .utf8
+
+<IfModule mod_negotiation.c>
+    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
+</IfModule>
+
+AddType application/x-tar .tgz
+
+AddEncoding x-compress .Z
+AddEncoding x-gzip .gz .tgz
+
+AddType application/x-x509-ca-cert .crt
+AddType application/x-pkcs7-crl    .crl
+
+AddHandler cgi-script .cgi .pl
+
+AddType text/html .shtml
+AddOutputFilter INCLUDES .shtml
+
+AddHandler send-as-is asis
+
+<IfModule mod_php7.c>
+    AddType application/x-httpd-php .php
+    AddType application/x-httpd-php .bat
+    AddType application/x-httpd-php-source .phps
+
+    <IfModule mod_dir.c>
+        DirectoryIndex index.html index.php
+    </IfModule>
+
+    php_flag log_errors on
+    php_flag short_open_tag on
+</IfModule>
+
+<IfModule mod_rewrite.c>
+    RewriteEngine On
+    RewriteCond %{REQUEST_METHOD} ^TRACE
+    RewriteRule .* - [F]
+</IfModule>
+
+<VirtualHost *:8443>
+    ServerName 127.0.0.1
+    SSLEngine On
+</VirtualHost>
+
+#
+# Apple-specific filesystem protection.
+#
+<Files "rsrc">
+    Require all denied
+</Files>
+
+<Directory  ~ ".*\.\.namedfork">
+    Require all denied
+</Directory>

Deleted: trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.conf (224083 => 224084)


--- trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.conf	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/LayoutTests/http/conf/debian-httpd-2.4-php7.conf	2017-10-27 04:04:18 UTC (rev 224084)
@@ -1,148 +0,0 @@
-ServerTokens OS
-ServerRoot "/usr/lib/apache2"
-
-PidFile "/tmp/WebKit/httpd.pid"
-ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
-
-Timeout 300
-KeepAlive On
-MaxKeepAliveRequests 100
-KeepAliveTimeout 15
-
-MinSpareServers 1
-MaxSpareServers 5
-StartServers 1
-MaxClients 150
-MaxRequestsPerChild 100000
-
-LoadModule mpm_prefork_module   modules/mod_mpm_prefork.so
-LoadModule authz_core_module    modules/mod_authz_core.so
-LoadModule authz_host_module    modules/mod_authz_host.so
-LoadModule include_module       modules/mod_include.so
-LoadModule headers_module       modules/mod_headers.so
-LoadModule mime_module          modules/mod_mime.so
-LoadModule negotiation_module   modules/mod_negotiation.so
-LoadModule actions_module       modules/mod_actions.so
-LoadModule alias_module         modules/mod_alias.so
-LoadModule rewrite_module       modules/mod_rewrite.so
-LoadModule cgi_module           modules/mod_cgi.so
-LoadModule ssl_module           modules/mod_ssl.so
-LoadModule php7_module          modules/libphp7.0.so
-LoadModule asis_module          modules/mod_asis.so
-
-ServerName 127.0.0.1
-
-<Directory />
-    Options Indexes FollowSymLinks MultiViews ExecCGI Includes
-    AllowOverride All
-    Require all granted
-</Directory>
-
-AccessFileName .htaccess
-
-<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
-    Require all denied
-</Files>
-
-UseCanonicalName On
-HostnameLookups Off
-
-TypesConfig /etc/mime.types
-
-LogLevel warn
-LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
-LogFormat "%h %l %u %t \"%r\" %>s %b" common
-LogFormat "%{Referer}i -> %U" referer
-LogFormat "%{User-agent}i" agent
-ErrorLog /tmp/WebKit/error_log
-
-ServerSignature On
-
-AddLanguage ca .ca
-AddLanguage cs .cz .cs
-AddLanguage da .dk
-AddLanguage de .de
-AddLanguage el .el
-AddLanguage en .en
-AddLanguage eo .eo
-AddLanguage es .es
-AddLanguage et .et
-AddLanguage fr .fr
-AddLanguage he .he
-AddLanguage hr .hr
-AddLanguage it .it
-AddLanguage ja .ja
-AddLanguage ko .ko
-AddLanguage ltz .ltz
-AddLanguage nl .nl
-AddLanguage nn .nn
-AddLanguage no .no
-AddLanguage pl .po
-AddLanguage pt .pt
-AddLanguage pt-BR .pt-br
-AddLanguage ru .ru
-AddLanguage sv .sv
-AddLanguage zh-CN .zh-cn
-AddLanguage zh-TW .zh-tw
-AddCharset Big5         .Big5    .big5
-AddCharset WINDOWS-1251 .cp-1251
-AddCharset CP866        .cp866
-AddCharset ISO-8859-5   .iso-ru
-AddCharset KOI8-R       .koi8-r
-AddCharset UCS-2        .ucs2
-AddCharset UCS-4        .ucs4
-AddCharset UTF-8        .utf8
-
-<IfModule mod_negotiation.c>
-    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
-</IfModule>
-
-AddType application/x-tar .tgz
-
-AddEncoding x-compress .Z
-AddEncoding x-gzip .gz .tgz
-
-AddType application/x-x509-ca-cert .crt
-AddType application/x-pkcs7-crl    .crl
-
-AddHandler cgi-script .cgi .pl
-
-AddType text/html .shtml
-AddOutputFilter INCLUDES .shtml
-
-AddHandler send-as-is asis
-
-<IfModule mod_php7.c>
-    AddType application/x-httpd-php .php
-    AddType application/x-httpd-php .bat
-    AddType application/x-httpd-php-source .phps
-
-    <IfModule mod_dir.c>
-        DirectoryIndex index.html index.php
-    </IfModule>
-
-    php_flag log_errors on
-    php_flag short_open_tag on
-</IfModule>
-
-<IfModule mod_rewrite.c>
-    RewriteEngine On
-    RewriteCond %{REQUEST_METHOD} ^TRACE
-    RewriteRule .* - [F]
-</IfModule>
-
-<VirtualHost *:8443>
-    ServerName 127.0.0.1
-    SSLEngine On
-</VirtualHost>
-
-#
-# Apple-specific filesystem protection.
-#
-<Files "rsrc">
-    Require all denied
-</Files>
-
-<Directory  ~ ".*\.\.namedfork">
-    Require all denied
-</Directory>

Deleted: trunk/LayoutTests/http/conf/debian-httpd-2.4.conf (224083 => 224084)


--- trunk/LayoutTests/http/conf/debian-httpd-2.4.conf	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/LayoutTests/http/conf/debian-httpd-2.4.conf	2017-10-27 04:04:18 UTC (rev 224084)
@@ -1,148 +0,0 @@
-ServerTokens OS
-ServerRoot "/usr/lib/apache2"
-
-PidFile "/tmp/WebKit/httpd.pid"
-ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
-
-Timeout 300
-KeepAlive On
-MaxKeepAliveRequests 100
-KeepAliveTimeout 15
-
-MinSpareServers 1
-MaxSpareServers 5
-StartServers 1
-MaxClients 150
-MaxRequestsPerChild 100000
-
-LoadModule mpm_prefork_module   modules/mod_mpm_prefork.so
-LoadModule authz_core_module    modules/mod_authz_core.so
-LoadModule authz_host_module    modules/mod_authz_host.so
-LoadModule include_module       modules/mod_include.so
-LoadModule headers_module       modules/mod_headers.so
-LoadModule mime_module          modules/mod_mime.so
-LoadModule negotiation_module   modules/mod_negotiation.so
-LoadModule actions_module       modules/mod_actions.so
-LoadModule alias_module         modules/mod_alias.so
-LoadModule rewrite_module       modules/mod_rewrite.so
-LoadModule cgi_module           modules/mod_cgi.so
-LoadModule ssl_module           modules/mod_ssl.so
-LoadModule php5_module          modules/libphp5.so
-LoadModule asis_module          modules/mod_asis.so
-
-ServerName 127.0.0.1
-
-<Directory />
-    Options Indexes FollowSymLinks MultiViews ExecCGI Includes
-    AllowOverride All
-    Require all granted
-</Directory>
-
-AccessFileName .htaccess
-
-<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
-    Require all denied
-</Files>
-
-UseCanonicalName On
-HostnameLookups Off
-
-TypesConfig /etc/mime.types
-
-LogLevel warn
-LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
-LogFormat "%h %l %u %t \"%r\" %>s %b" common
-LogFormat "%{Referer}i -> %U" referer
-LogFormat "%{User-agent}i" agent
-ErrorLog /tmp/WebKit/error_log
-
-ServerSignature On
-
-AddLanguage ca .ca
-AddLanguage cs .cz .cs
-AddLanguage da .dk
-AddLanguage de .de
-AddLanguage el .el
-AddLanguage en .en
-AddLanguage eo .eo
-AddLanguage es .es
-AddLanguage et .et
-AddLanguage fr .fr
-AddLanguage he .he
-AddLanguage hr .hr
-AddLanguage it .it
-AddLanguage ja .ja
-AddLanguage ko .ko
-AddLanguage ltz .ltz
-AddLanguage nl .nl
-AddLanguage nn .nn
-AddLanguage no .no
-AddLanguage pl .po
-AddLanguage pt .pt
-AddLanguage pt-BR .pt-br
-AddLanguage ru .ru
-AddLanguage sv .sv
-AddLanguage zh-CN .zh-cn
-AddLanguage zh-TW .zh-tw
-AddCharset Big5         .Big5    .big5
-AddCharset WINDOWS-1251 .cp-1251
-AddCharset CP866        .cp866
-AddCharset ISO-8859-5   .iso-ru
-AddCharset KOI8-R       .koi8-r
-AddCharset UCS-2        .ucs2
-AddCharset UCS-4        .ucs4
-AddCharset UTF-8        .utf8
-
-<IfModule mod_negotiation.c>
-    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
-</IfModule>
-
-AddType application/x-tar .tgz
-
-AddEncoding x-compress .Z
-AddEncoding x-gzip .gz .tgz
-
-AddType application/x-x509-ca-cert .crt
-AddType application/x-pkcs7-crl    .crl
-
-AddHandler cgi-script .cgi .pl
-
-AddType text/html .shtml
-AddOutputFilter INCLUDES .shtml
-
-AddHandler send-as-is asis
-
-<IfModule mod_php5.c>
-    AddType application/x-httpd-php .php
-    AddType application/x-httpd-php .bat
-    AddType application/x-httpd-php-source .phps
-
-    <IfModule mod_dir.c>
-        DirectoryIndex index.html index.php
-    </IfModule>
-
-    php_flag log_errors on
-    php_flag short_open_tag on
-</IfModule>
-
-<IfModule mod_rewrite.c>
-    RewriteEngine On
-    RewriteCond %{REQUEST_METHOD} ^TRACE
-    RewriteRule .* - [F]
-</IfModule>
-
-<VirtualHost *:8443>
-    ServerName 127.0.0.1
-    SSLEngine On
-</VirtualHost>
-
-#
-# Apple-specific filesystem protection.
-#
-<Files "rsrc">
-    Require all denied
-</Files>
-
-<Directory  ~ ".*\.\.namedfork">
-    Require all denied
-</Directory>

Modified: trunk/Tools/ChangeLog (224083 => 224084)


--- trunk/Tools/ChangeLog	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/Tools/ChangeLog	2017-10-27 04:04:18 UTC (rev 224084)
@@ -1,3 +1,16 @@
+2017-10-26  Fujii Hironori  <[email protected]>
+
+        [GTK][WPE] install-dependencies can't find libapache2-mod-php7.0 on Ubuntu 17.10
+        https://bugs.webkit.org/show_bug.cgi?id=178854
+
+        Reviewed by Michael Catanzaro.
+
+        * Scripts/webkitpy/port/base.py:
+        (Port._debian_php_version): Return "-php7.1" if libphp7.1.so found.
+        (Port._is_debian_php_version_7): Deleted.
+        * gtk/install-dependencies: Install libapache2-mod-php instead of libapache2-mod-php7.0.
+        * wpe/install-dependencies: Ditto.
+
 2017-10-25  Simon Fraser  <[email protected]>
 
         When navigating back to a page, compositing layers may not use accelerated drawing

Modified: trunk/Tools/Scripts/webkitpy/port/base.py (224083 => 224084)


--- trunk/Tools/Scripts/webkitpy/port/base.py	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/Tools/Scripts/webkitpy/port/base.py	2017-10-27 04:04:18 UTC (rev 224084)
@@ -1201,11 +1201,6 @@
             return True
         return False
 
-    def _is_debian_php_version_7(self):
-        if self._filesystem.exists("/usr/lib/apache2/modules/libphp7.0.so"):
-            return True
-        return False
-
     def _is_darwin_php_version_7(self):
         if self._filesystem.exists("/usr/libexec/apache2/libphp7.so"):
             return True
@@ -1226,8 +1221,11 @@
         return re.sub(r'(?:.|\n)*Server version: Apache/(\d+\.\d+)(?:.|\n)*', r'\1', config)
 
     def _debian_php_version(self):
-        if self._is_debian_php_version_7():
-            return "-php7"
+        if self._filesystem.exists("/usr/lib/apache2/modules/libphp7.0.so"):
+            return "-php7.0"
+        elif self._filesystem.exists("/usr/lib/apache2/modules/libphp7.1.so"):
+            return "-php7.1"
+        _log.error("No libphp7.x.so found")
         return ""
 
     def _darwin_php_version(self):

Modified: trunk/Tools/gtk/install-dependencies (224083 => 224084)


--- trunk/Tools/gtk/install-dependencies	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/Tools/gtk/install-dependencies	2017-10-27 04:04:18 UTC (rev 224084)
@@ -156,7 +156,7 @@
         dbus-x11 \
         gdb \
         libapache2-mod-bw \
-        $(aptIfElse libapache2-mod-php7.0 libapache2-mod-php5) \
+        libapache2-mod-php \
         libcgi-pm-perl \
         libgpg-error-dev \
         psmisc \

Modified: trunk/Tools/wpe/install-dependencies (224083 => 224084)


--- trunk/Tools/wpe/install-dependencies	2017-10-27 02:44:20 UTC (rev 224083)
+++ trunk/Tools/wpe/install-dependencies	2017-10-27 04:04:18 UTC (rev 224084)
@@ -92,7 +92,7 @@
         curl \
         gdb \
         libapache2-mod-bw \
-        $(aptIfElse libapache2-mod-php7.0 libapache2-mod-php5) \
+        libapache2-mod-php \
         libcgi-pm-perl \
         psmisc \
         pulseaudio-utils \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to