Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
acac6eb2
Unverified
Commit
acac6eb2
authored
Jan 10, 2019
by
Shao Yu-Lung (Allen)
Committed by
GitHub
Jan 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix PHP Warning: PHP Startup: Unable to load dynamic library 'phalcon.so' (#1947)
when install APCu and no install Phalcon.
parent
04f07155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Dockerfile
php-fpm/Dockerfile
+4
-3
No files found.
php-fpm/Dockerfile
View file @
acac6eb2
...
@@ -530,18 +530,19 @@ ARG INSTALL_PHALCON=false
...
@@ -530,18 +530,19 @@ ARG INSTALL_PHALCON=false
ARG
LARADOCK_PHALCON_VERSION
ARG
LARADOCK_PHALCON_VERSION
ENV
LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
ENV
LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
# Copy phalcon configration
COPY
./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini.disable
RUN if
[
$INSTALL_PHALCON
=
true
]
;
then
\
RUN if
[
$INSTALL_PHALCON
=
true
]
;
then
\
apt-get update
&&
apt-get
install
-y
unzip libpcre3-dev gcc make re2c
\
apt-get update
&&
apt-get
install
-y
unzip libpcre3-dev gcc make re2c
\
&&
curl
-L
-o
/tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v
${
LARADOCK_PHALCON_VERSION
}
.zip
\
&&
curl
-L
-o
/tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v
${
LARADOCK_PHALCON_VERSION
}
.zip
\
&&
unzip
-d
/tmp/ /tmp/cphalcon.zip
\
&&
unzip
-d
/tmp/ /tmp/cphalcon.zip
\
&&
cd
/tmp/cphalcon-
${
LARADOCK_PHALCON_VERSION
}
/build
\
&&
cd
/tmp/cphalcon-
${
LARADOCK_PHALCON_VERSION
}
/build
\
&&
./install
\
&&
./install
\
&&
mv
/usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini
\
&&
rm
-rf
/tmp/cphalcon
*
\
&&
rm
-rf
/tmp/cphalcon
*
\
;
fi
;
fi
# Copy phalcon configration
COPY
./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini
###########################################################################
###########################################################################
# APCU:
# APCU:
###########################################################################
###########################################################################
...
...
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