所以我刚开始使用laravel,我想把cometchat安装到我的应用程序中(我花了50美元买了他们的基本软件包)。我注意到除了Laravel之外,他们还有一堆支持的MVC,所以我想自己安装并不难。已经三天了,我还没放弃呢!
我假设必须将整个cometchat文件解压缩到laravel中的/public文件夹中,但无法获得access /public/install.php
有人试过这样做吗?如果有,有什么帮助吗?
谢谢大家!)
发布于 2015-06-04 15:27:48
这就是你让它开始工作的方法。
下载cometchat作为“自定义编码站点”(这将在下载页面下)并将其解压缩到/ public /cometchat (如果您的公用文件夹中没有cometchat文件夹,请创建一个)。
使用正确的DB凭据配置integration.php,现在可以通过http://localhost/public/cometchat/install.php访问install.php
如果不希望将公用文件夹显示在url中,请创建一个.htaccess文件,并将其放置在程序的根目录中。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>如果您有上述的.htaccess设置,请访问http://localhost/cometchat/install.php
安装完成后,删除install.php文件,您就完成了:)确保访问localhost/cometchat/ admin /以更改管理凭据!
https://stackoverflow.com/questions/30584888
复制相似问题