脚本"/home/...../public_html/index.php"的UID小于min_uid [英] UID of script "/home/...../public_html/index.php" is smaller than min_uid

查看:177
本文介绍了脚本"/home/...../public_html/index.php"的UID小于min_uid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将magento从本地移动到服务器,我收到以下错误,我只是想知道是否有人可以帮助我解决这个问题,

I just moved magento from local to server and Im getting the following error, I was just wondering if someone could help me solve this,

脚本"/home/.../public_html/index.php"的UID小于min_uid

UID of script "/home/.../public_html/index.php" is smaller than min_uid

我要做的是进行数据库转储并将其传输到服务器,

what I did was to make a database dump and transfer it to server,

创建所有magento文件的备份,然后传输并扩展到服务器,

create a backup of the all the magento files and transfer and expand to server,

更改数据库中的core_config表.

change the core_config table in the database.

谢谢.

推荐答案

对我来说,这似乎是suPHP问题.

That looks like an suPHP issue to me.

将脚本的用户组更改为运行Web服务器进程的用户.因此,例如,如果您使用用户www-data运行Apache,请更改为:

Change the user and group of your script to the user running your webserver process. So if you're running an Apache with user www-data for example, change to:

chown www-data:www-data /home/.../public_html/index.php

或通过以下方式一次更改所有文件:

Or change all your files at once by:

chown -R www-data:www-data /home/.../public_html/

如果在更改用户和组后仍然遇到此问题,则您的suPHP可能使用默认的min_uid = 100,但是www-data的UID低于此 .

If you're still running into this issue after changing user and group, then your suPHP is probably working with the default min_uid = 100, but the UID of www-data is below this 100.

要解决此问题,您可以在suPHP的配置中更改min_uid以匹配www-data的UID:

To fix this you can change the min_uid in suPHP's config to match the UID of www-data:

vi /etc/suphp/suphp.conf

min_uid = <UID of www-data>

这篇关于脚本"/home/...../public_html/index.php"的UID小于min_uid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆