Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
74466feb
Commit
74466feb
authored
4 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
play php7/php8: ALT only
parent
df1137a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
php7.sh
prescription.d/php7.sh
+2
-0
php8.sh
prescription.d/php8.sh
+2
-0
No files found.
prescription.d/php7.sh
View file @
74466feb
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php7 (or upgrade from php5)"
&&
exit
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php7 (or upgrade from php5)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
if
epmqp
--quiet
php5-
;
then
if
epmqp
--quiet
php5-
;
then
# Upgrade if was installed php5
# Upgrade if was installed php5
epmqp php5
--short
|
grep
-E
-v
"(php5-mysql|suhosin|timezonedb|zend-optimizer|mongo|xdebug|openid)"
|
sed
-e
"s|php5|php7|"
| epmi
--auto
epmqp php5
--short
|
grep
-E
-v
"(php5-mysql|suhosin|timezonedb|zend-optimizer|mongo|xdebug|openid)"
|
sed
-e
"s|php5|php7|"
| epmi
--auto
...
...
This diff is collapsed.
Click to expand it.
prescription.d/php8.sh
View file @
74466feb
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php8 (or upgrade from php7)"
&&
exit
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php8 (or upgrade from php7)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
# TODO: check for apache2-mod_php7
# TODO: check for apache2-mod_php7
if
epmqp
--quiet
php7-
;
then
if
epmqp
--quiet
php7-
;
then
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment