Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在linux mint子目录中安装pimcore?_Linux_Pimcore - Fatal编程技术网

如何在linux mint子目录中安装pimcore?

如何在linux mint子目录中安装pimcore?,linux,pimcore,Linux,Pimcore,我刚刚使用命令行设置了Pimcore composer create-project pimcore/pimcore ./pimcoretest 使用上述命令设置所有目录和文件 我在linuxMint的PIMCORE之路是 /var/www/html/pimcoretest/ 当我要求安装pimcore时 http://127.0.0.1/pimcoretest 它重定向到 http://127.0.0.1/install 只需像这样抛出错误消息 Not Found The reques

我刚刚使用命令行设置了Pimcore

composer create-project pimcore/pimcore ./pimcoretest
使用上述命令设置所有目录和文件

我在linuxMint的PIMCORE之路是

/var/www/html/pimcoretest/
当我要求安装pimcore时

http://127.0.0.1/pimcoretest
它重定向到

http://127.0.0.1/install

只需像这样抛出错误消息

Not Found

The requested URL /install/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 127.0.0.1 Port 80
使用子目录在mint os中安装pimcore有什么线索吗


谢谢。

Pimcore不支持在子目录中安装。非正式地实现这一目标也没有简单的方法

请参阅本网站:

请记住,Pimcore需要安装到web服务器的文档根目录中

我建议您使用一个子域,这将非常好地工作:
pimcoretest.yourdomain.com

我参加聚会有点晚了,但这可能对某人还是有帮助的

我猜您希望使用子目录,以便在
/var/www/html/
中保留多个项目

您可以在apache中定义一个可用的站点,该站点侦听您想要的域并使用您想要的任何子目录。 差不多

确保在主机文件中定义该自定义域(这样就不必使用ip或端口)

/etc/hosts
127.0.0.1   localhost
. . .

203.0.113.5 example.com www.example.com
203.0.113.5 test.com www.test.com
它应该与apache和nginx非常相似。更多细节可以在google上找到,应该有大量深入的示例/教程


或者,使用docker设置一个功能齐全的pimcore,而不必浪费时间设置apache/nginx。可以在docker Hub上找到您可能需要的任何类型的CMS的现成图像。

我曾经在那里用pimcore 4做过这件事,它并不漂亮,并且会导致做出许多非常糟糕的决定。不惜一切代价避免。
/etc/hosts
127.0.0.1   localhost
. . .

203.0.113.5 example.com www.example.com
203.0.113.5 test.com www.test.com