Skip to content

Commit 0b7bf41

Browse files
author
Corb3nik
committed
More changes to setup script
1 parent 85c429a commit 0b7bf41

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

demo/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
php.ini
File renamed without changes.

demo/setup.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env sh
2+
3+
echo "Setting opcache location in php.ini"
4+
sed -e "s@;opcache.file_cache=\$@opcache.file_cache=$PWD\/opcache@g" php.ini.sample > php.ini
5+
6+
echo "Setting permissions of opcache folder to 777..."
7+
chmod 777 opcache
8+
9+
echo "Setting permissions of demo folder to 500..."
10+
chmod 500 .

0 commit comments

Comments
 (0)