Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add apache example

  • Loading branch information...
commit d27b798aab3524168a398056150bd900619fa5ba 1 parent b3523ce
@helgi authored
Showing with 14 additions and 1 deletion.
  1. +14 −1 README.md
View
15 README.md
@@ -7,4 +7,17 @@ To run any of the create scripts you will have to pass in -d phar.readonly=0 or
### phpMyAdmin
-Due to Phar not liking relative paths so the phpmyadmin example isn't working right now
+Due to Phar not liking relative paths so the phpmyadmin example isn't working right now
+
+### Apache
+Example of how you can run Phar in apache
+
+`AddType application/x-httpd-php .php .phar`
+
+```
+<VirtualHost *:80>
+ ServerName phar.dev
+ DocumentRoot /path/to/phar-talk-examples/web/
+ DirectoryIndex project.phar
+</VirtualHost>
+```

0 comments on commit d27b798

Please sign in to comment.
Something went wrong with that request. Please try again.