dongzheng

1363 经验值

Error: No available formula with the name "php70"
==> Searching for a previously deleted formula...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

解决了!确实是这样的。然后还有一个问题就是我的mac php -v是5.6.30 我怎么改成7 brew unlink php56 提示 No such keg: /usr/local/Cellar/php56

都是一些本地的css和js 然后就是一些资源图片,资源图片确实写的是http连接,但是不是301了吗,必须要所有的资源必须是https资源吗?

主域名abc.com 访问的时候前面出现了绿色的锁锁。但是访问abc.com/abc的时候前面的可爱锁锁就不见了,换成了⭕️i。

吊销也应该是在我访问的时候啊,我还在配置就出现这个问题。空格什么的我都检查了。

没提示错误 ,我修改完,去检查配置,一直是fail

ssl_certificate /etc/nginx/ssl/1_disook.com_bundle.crt;
ssl_certificate_key /etc/nginx/ssl/disook_de.key;
加上这个就出错

ssl on;

ssl_certificate /etc/nginx/ssl/1_disook.com_bundle.crt;
ssl_certificate_key /etc/nginx/ssl/disook_de.key;

这几行配置加上就出错

listen 443;

    server_name disook.com www.disook.com;

    root /var/www/blog/public;
    index index.php index.html index.htm;

    ssl on;
    ssl_certificate /etc/nginx/ssl/1_disook.com_bundle.crt;
    ssl_certificate_key /etc/nginx/ssl/disook_de.key;

    ssl_session_timeout 5m;

    ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
    ssl_prefer_server_ciphers on;

    location / {
            #try_files $uri $uri/ =404;
            try_files $uri $uri/ /index.php?$query_string;
    }
    location ~ \.php$ {
            try_files $uri /index.php =404;
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_pass unix:/var/run/php7.1-fpm.sock;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
    }

}

然后将这个翻译后的字段存储?在路由中像定义id一样去定义:Route::get('/index/{english_name}, 'Admin\IndexController@getIndex');在这个getindex函数中去获取这个english_name对应的数据?