-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bfaf6a
commit 65a0971
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
/* Apache Virtual Host Template | ||
* | ||
* @var string $root - the local path to the web root | ||
* @var string $host - the hostname to listen for | ||
* @var int $port - the port to listen for | ||
* @var string $include_vhost_file - the local path to a related config file | ||
* @var string $visibility - which interfaces the vhost is available on | ||
*/ | ||
|
||
?> | ||
|
||
<?php if ($use_listen) { ?> | ||
<?php if ($visibility === 'all'): ?> | ||
Listen <?php echo $port ?> | ||
<?php else: ?> | ||
Listen 127.0.0.1:<?php echo $port ?> | ||
<?php endif; ?> | ||
<?php } ?> | ||
|
||
<VirtualHost *:<?php echo $port ?>> | ||
ServerAdmin webmaster@<?php echo $host ?> | ||
|
||
DocumentRoot "<?php echo $root ?>" | ||
|
||
ServerName <?php echo $host ?> | ||
|
||
<Directory "<?php echo $root ?>"> | ||
Options All | ||
AllowOverride All | ||
<IfModule mod_authz_host.c> | ||
Require <?php echo $visibility ?> granted | ||
</IfModule> | ||
</Directory> | ||
|
||
<?php if (!empty($include_vhost_file)) { ?> | ||
Include <?php echo $include_vhost_file ?> | ||
<?php } ?> | ||
|
||
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
memory_limit = 1024M | ||
cgi.fix_pathinfo = Off | ||
sendmail_path=/usr/sbin/sendmail -t -i | ||
cgi.fix_pathinfo = 0 | ||
log_errors = On | ||
error_log = syslog | ||
; do not enable xdebug for now | ||
;zend_extension=xdebug.so | ||
|
||
zend_extension=xdebug.so | ||
xdebug.show_error_trace = On |