Skip to content
This repository was archived by the owner on Apr 23, 2022. It is now read-only.

Commit 4663c1e

Browse files
Trying to fix a bunch of HHVM issues
1 parent ab2d2b2 commit 4663c1e

File tree

8 files changed

+11
-13
lines changed

8 files changed

+11
-13
lines changed

frameworks/PHP/Yii2/setup_hhvm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
1212

1313
export PATH="$PHP_HOME/bin:$PHP_HOME/sbin:$PATH"
1414

15-
hhvm --config $TROOT/deploy/config.hdf --user $(whoami) -m daemon
16-
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf
15+
hhvm -m daemon --config $TROOT/deploy/config.hdf --user $(whoami)
16+
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf

frameworks/PHP/codeigniter/setup_hhvm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
1717

1818
export PATH="$PHP_HOME/bin:$PHP_HOME/sbin:$PATH"
1919

20-
hhvm --config $TROOT/deploy/config.hdf --user $(whoami) -m daemon
21-
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf
20+
hhvm -m daemon --config $TROOT/deploy/config.hdf --user $(whoami)
21+
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf

frameworks/PHP/hhvm/run-debug.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
22

3-
hhvm --config ./deploy/config-debug.hdf -m server
3+
hhvm -m server --config ./deploy/config-debug.hdf
44
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf
5-

frameworks/PHP/hhvm/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
22

3-
hhvm --config ./deploy/config.hdf -m server
3+
hhvm -m server --config ./deploy/config.hdf
44
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf
5-

frameworks/PHP/php-laravel/setup_hhvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ sed -i 's|/home/vagrant/FrameworkBenchmarks/installs/nginx/|'"${IROOT}"'/nginx/|
1515

1616
export PATH="${PHP_HOME}/bin:${PHP_HOME}/sbin:$PATH"
1717

18-
hhvm --config $TROOT/deploy/config.hdf --user $(whoami) -m daemon
18+
hhvm -m daemon --config $TROOT/deploy/config.hdf --user $(whoami)
1919
${NGINX_HOME}/sbin/nginx -c ${TROOT}/deploy/nginx.conf

frameworks/PHP/php-slim/setup_hhvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
1313

1414
export PATH="$PHP_HOME/bin:$PHP_HOME/sbin:$PATH"
1515

16-
hhvm --config $TROOT/deploy/config.hdf --user $(whoami) -m daemon
16+
hhvm -m daemon --config $TROOT/deploy/config.hdf --user $(whoami)
1717
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf

frameworks/PHP/symfony2/setup_hhvm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ ${PHP_HOME}/bin/php app/console cache:clear \
1717
${PHP_HOME}/bin/php app/console cache:warmup \
1818
--env=prod --no-debug
1919

20-
hhvm --config $TROOT/deploy/config.hdf --user $(whoami) -m daemon
21-
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf
20+
hhvm -m daemon --config $TROOT/deploy/config.hdf --user $(whoami)
21+
$NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf

toolset/setup/linux/languages/java7.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ sudo apt-get install -y openjdk-7-jdk
1616

1717
# Setup environment variables
1818
echo "export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-`dpkg --print-architecture`" > $IROOT/java7.installed
19-
echo "export PATH=$JAVA_HOME/bin:$PATH" >> $IROOT/java7.installed
19+
echo "export PATH=$JAVA_HOME/bin:$PATH" >> $IROOT/java7.installed

0 commit comments

Comments
 (0)