Skip to content

Commit

Permalink
Fix the default version of PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
wireblue committed Oct 18, 2022
1 parent 49228df commit 76fc0f3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apache/sites/localhost/zzz-default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<VirtualHost *:*>
ServerName dev.localhost
ServerAlias *.*

UseCanonicalName Off
VirtualDocumentRoot /var/www/html/%1

<FilesMatch "\.php$">
SetHandler proxy:fcgi://php81-fpm:9000
</FilesMatch>
</VirtualHost>
11 changes: 11 additions & 0 deletions apache/sites/pub.localhost/zzz-default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<VirtualHost *:*>
ServerName dev.pub.localhost
ServerAlias *.pub.*

UseCanonicalName Off
VirtualDocumentRoot /var/www/html/%1/public

<FilesMatch "\.php$">
SetHandler proxy:fcgi://php81-fpm:9000
</FilesMatch>
</VirtualHost>

0 comments on commit 76fc0f3

Please sign in to comment.