具有用于Akeneo的WHM服务器配置的Centos 6

时间:2019-06-06 14:34:22

标签: php apache centos6 whm akeneo

我正在尝试在Centos 6 Apache 2服务器中使用WHM配置Akeneo。 我正在按照本教程enter link description here

我在ubuntu机器上配置了它,没有错误。我发现的问题与服务器和PHP有关。

启动网站时,出现以下错误。

No input file specified. 

下面的我的httd.conf文件:

<VirtualHost my-ip:80>
  ServerName my-domain.co
    ServerAlias mail.domain-group.co www.abs-group.co
  DocumentRoot /home/user/public_html/pim-community-standard/web/
 <Directory "/home/user/public_html/pim-community-standard/web">
        AllowOverride None
        Require all granted

        Options -MultiViews
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ app.php [QSA,L]
   </Directory>
 <Directory /home/user/public_html/pim-community-standard>
        Options FollowSymlinks
    </Directory>

    <Directory /home/user/public_html/pim-community-standard/web/bundles>
        RewriteEngine Off
    </Directory>

    <FilesMatch \.php$>
        SetHandler "proxy:unix:/opt/cpanel/ea-php71/root/usr/var/run/php-fpm/897e2bef0970b20f1bbeeae9d7c0de8ba9c47453.sock|fcgi://my-domain.co/"
    </FilesMatch>
  ServerAdmin webmaster@user-group.co
  UseCanonicalName Off

</VirtualHost>

我的apache错误日志中出现以下错误。

AH01071: Got error 'Unable to open primary script: /home/user/public_html/pim-community-standard/web/app.php (No such file or directory)\n'

过去2天,我一直在努力解决此错误。请帮助我。

0 个答案:

没有答案