【问题标题】:Getting this error during website hosting在网站托管期间出现此错误
【发布时间】:2013-07-04 14:14:48
【问题描述】:

我在http://lenasiaa.5gbfree.com 托管了一个 Gen4 PTC 脚本,配置了 mysql 数据库并设置了所需的一切。但是我的网站仍然没有被托管。尝试打开时显示此错误...

Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 13219 is not allowed to access /tmp owned by uid 0 in /home/lenasiaa/public_html/index.php on line 4

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/lenasiaa/public_html/index.php on line 4

请帮帮我....怎么办?

我的网站网址又是http://lenasiaa.5gbfree.com

【问题讨论】:

    标签: php javascript mysql database hosting


    【解决方案1】:

    联系您的托管服务提供商以禁用 PHP 安全模式,如果这不是一个选项并且他们支持自定义 php.ini,则添加这两行。

    safe_mode = 0
    safe_mode_gid = 1
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-08-28
      • 2021-04-03
      • 2018-03-19
      • 1970-01-01
      • 2020-07-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多