install_httpd-2.4.sh: also consider php sockets located in the /run/php directory.
This commit is contained in:
parent
feedfc8e96
commit
a1227b9718
@ -73,6 +73,13 @@ while IFS='' read -r -d '' _socket ; do
|
||||
_php_socket_arr+=("${_php_major_version}:$_socket")
|
||||
done < <(find "/tmp" -type s -name "php*" -print0 | sort -z)
|
||||
|
||||
if [[ -d "/run/php" ]] ; then
|
||||
while IFS='' read -r -d '' _socket ; do
|
||||
_php_major_version="$(echo "$_socket" | cut -d '-' -f2)"
|
||||
_php_socket_arr+=("${_php_major_version}:$_socket")
|
||||
done < <(find "/run/php" -type s -name "php*" -print0 | sort -z)
|
||||
fi
|
||||
|
||||
## - substitude path "/usr/local/httpd-$APACHE_VERSION" to "/usr/local/apache2"
|
||||
## - in apache configuration files ?
|
||||
## -
|
||||
|
Loading…
Reference in New Issue
Block a user