【问题标题】:opening october cms in localhost在 localhost 中打开 10 月 cms
【发布时间】:2019-01-26 07:56:14
【问题描述】:

我无法在本地主机中打开 10 月 CMS。我的电脑上安装了IIS。当我在浏览器中输入 localhost 时,IIS 被打开。 对于 10 月的 CMS,我安装了 XAMPP

apache port -> 1234,1443
mySQL port -> 3306

phpmyadmin 网址是

http://localhost:1234/phpmyadmin/

在安装十月 CMS 时,它要求

Application URL [http://localhost]:
> http://myoctober.dev

我保留了上面的应用程序网址。 然后我尝试通过url打开
http://localhost:1234/myoctober.devhttp://localhost:1234/myoctober

但它正在显示

Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.3

如何解决这个问题?请帮忙!!!

【问题讨论】:

  • 由于 Apache 正在侦听端口 1234,因此您必须将端口号添加到 Apache 提供的所有 url,所以 localhost:1234/......
  • @RiggsFolly 我已经编辑了我的问题。我试过了,但打不开。谢谢!
  • 你在哪里安装十月
  • @RiggsFolly 你的意思是十月文件夹C:\xampp\htdocs\laravel\myoctober 或其他东西的路径。请澄清。
  • 那么试试localhost:1234/laravel 或者localhost:1234/laravel/myoctober

标签: php laravel laravel-5 octobercms


【解决方案1】:

October CMS 对虚拟主机有一些服务器要求:

  1. PHP 7.0 或更高版本
  2. PDO PHP 扩展
  3. cURL PHP 扩展
  4. OpenSSL PHP 扩展
  5. Mbstring PHP 库
  6. ZipArchive PHP 库GD
  7. PHP 库

某些操作系统发行版可能需要您手动安装 PHP JSON 和 XML 扩展。例如,在使用 Ubuntu 时,这可以分别通过 apt-get install php7.0-jsonapt-get install php7.0-xml 完成。

使用 SQL Server 数据库引擎时,需要安装组连接用户自定义聚合。

向导安装是安装十月的推荐方式。它比命令行安装更简单,不需要任何特殊技能。

  1. 在您的服务器上准备一个空目录。它可以是子目录、域根或子域。
  2. 下载安装程序存档文件。
  3. 将安装程序存档解压到准备好的目录。
  4. 授予对安装目录及其所有子目录和文件的写入权限。
  5. 在您的网络浏览器中导航到 install.php 脚本。

按照安装说明...

【讨论】:

    【解决方案2】:

    参考十月的安装路径,你的url应该是http://localhost:1234/laravel/myoctober/。尝试一次。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-25
      • 2018-06-11
      • 2017-06-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-12
      相关资源
      最近更新 更多