From 08c3b427bc10cb3b2bde0a3a557aa4f183bb8578 Mon Sep 17 00:00:00 2001 From: TheWitness Date: Fri, 17 Jan 2025 12:18:25 -0500 Subject: [PATCH] Removing PHP-FPM for a test --- .github/workflows/syntax.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index b3249001c..311a6b32d 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -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}}