jenaye/enaylal

Nano 框架 php

维护者

详细信息

github.com/jenaye/Enaylal

源代码

问题

安装: 28

依赖项: 0

建议者: 0

安全: 0

星标: 1

关注者: 2

分支: 0

开放问题: 0

语言:HTML

类型:项目

1.3.0 2016-12-03 21:43 UTC

This package is not auto-updated.

Last update: 2024-09-28 19:47:28 UTC


README

如果您使用 WAMP,请在 /wamp64/alias/jenaye-dev.conf 中创建别名

#Require all granted

<VirtualHost jenaye.dev:80>

  ServerAdmin admin@jenaye.dev
  ServerName jenaye.dev
  ServerAlias jenaye.dev
  DocumentRoot "C:/wamp64/www/enaylal/public"

  <Directory "C:/wamp64/www/enaylal/public">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Require all granted
  </Directory>

</VirtualHost>

然后,编辑您的 hosts 文件(system32/drivers/etc/host)

添加:127.0.0.1 jenaye.dev

对于 nginx

server {
  listen  80;
  server_name jenaye.dev;
  location / {
    root   /home/jenaye/dev/php/Enaylal/public;
    index index.php index.html index.html;
     try_files $uri /index.php$is_args$args;
  }

         location ~ \.php$ {
           root   /home/jenaye/dev/php/Enaylal/public;
             fastcgi_pass   unix:/run/php-fpm/php-fpm-jenaye.sock;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            include        fastcgi_params;
}

}
https://github.com/usmanhalalit/pixie#query