Skip to content

Commit

Permalink
Removing PHP-FPM for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness authored Jan 17, 2025
1 parent fa79110 commit 08c3b42
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,32 +124,9 @@ jobs:
- name: Check PHP syntax
run: if find ${{ github.workspace }} -name '*.php' -exec php -l {} 2>&1 \; | grep -iv 'no syntax errors detected'; then exit 1; fi

- name: Install php-fpm
env:
version: ${{ matrix.php }}
run: |
sudo service php$version-fpm start
sudo service php$version-fpm status
- name: Test php-fpm
env:
version: ${{ matrix.php }}
run: |
# Copy php-fpm to a directory in PATH
sudo cp /usr/sbin/php-fpm$version /usr/bin/php-fpm
php-fpm -v
- name: Install Apache and tools
run: sudo apt-get install apache2 snmp rrdtool fping

- name: Enable Proxy FCGI
run: sudo a2enmod proxy_fcgi setenvif actions alias

- name: Configure Apache Site
run: |
cat ${{ github.workspace }}/tests/tools/cacti.conf | sed -r 's#GITHUB_WORKSPACE#${{ github.workspace }}#g' > /tmp/cacti.conf
sudo cp /tmp/cacti.conf /etc/apache2/sites-available/000-default.conf
- name: Open permissions for testing purposes
run: sudo chmod -R 777 ${{ github.workspace}}

Expand Down

0 comments on commit 08c3b42

Please sign in to comment.