Skip to content
Snippets Groups Projects
Commit 8eebf66b authored by Rebar's avatar Rebar
Browse files

Added touch wp.ini to shell script

parent a684d250
No related branches found
No related tags found
1 merge request!15Resolve "Add php.ini settings during init"
Pipeline #4871 passed with stage
in 3 minutes and 26 seconds
---
## Changes to php.ini
- name: Create wp.ini
file:
path: "{{ PHP_DIR }}/conf.d/wp.ini"
state: touch
#- name: Create wp.ini
#file:
#path: "{{ PHP_DIR }}/conf.d/wp.ini"
#state: touch
- name: PHP memory limit
lineinfile:
......
......@@ -28,4 +28,5 @@ ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false;
rm -rf /var/lib/apt/lists/*
# add php.ini modifications file
touch /usr/local/etc/php/conf.d/wp.ini
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment