|
@@ -51,8 +51,8 @@
|
|
|
Name: php5
|
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
|
-Version: 5.5.19
|
|
|
-Release: 2%{_dist_release}
|
|
|
+Version: 5.5.20
|
|
|
+Release: 1%{_dist_release}
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -860,7 +860,6 @@ chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
|
|
|
%post apache2
|
|
|
%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
|
|
|
chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
|
|
|
-%endif
|
|
|
|
|
|
MPM=`file /etc/alternatives/apache2 | sed -e 's/^.*apache2\.\([a-z]*\).*$/\1/'`
|
|
|
if [ "$MPM" != "prefork" ]; then
|
|
@@ -873,6 +872,21 @@ prefork MPM. Run the following command as root to switch MPM:
|
|
|
|
|
|
EOF
|
|
|
fi
|
|
|
+
|
|
|
+%else
|
|
|
+
|
|
|
+MPM=`/usr/sbin/apache2ctl -V | grep "Server MPM:" | sed -e 's/^.*: *//'`
|
|
|
+if [ "$MPM" != "prefork" ]; then
|
|
|
+ cat <<EOF
|
|
|
+
|
|
|
+ Apache2 is configured to use $MPM MPM. But php5-apache2 requires
|
|
|
+prefork MPM. Configure Apache2 to use prefork MPM or use PHP5-FPM
|
|
|
+via FastCGI.
|
|
|
+
|
|
|
+EOF
|
|
|
+fi
|
|
|
+
|
|
|
+%endif
|
|
|
%endif
|
|
|
|
|
|
%clean
|
|
@@ -976,6 +990,9 @@ rm -f files.*
|
|
|
|
|
|
#======================================================================
|
|
|
%changelog
|
|
|
+* Fri Dec 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.20-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Wed Nov 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.19-2
|
|
|
- rebuilt with libicu-54.1.
|
|
|
|