Jump to:

4952 Posts in 14480 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » ss 3.0.3 installation problem on host server

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 492 Views
  • jasonjiang73
    Avatar
    Community Member
    2 Posts

    ss 3.0.3 installation problem on host server Link to this post

    hi guys:
    i try to install ss 3.0.3 on host server ,i upload a complete new ss to the server through FTP.and when i try to access ,it shows
    "Warning: file_get_contents(dev/install/php5-required.html) [function.file-get-contents]: failed to open stream: No such file or directory in /storage/content/06/118406/shelton.ayond.com/public_html/framework/main.php on line 19"

    it works perfect on my local server on mamp,and on the host server ,the verson 2.4.9 works,
    also i have already set the php version on host server to 5.4 so it should support the new ss3.0.3.

    anyone knows what's the problem, ?? thanks a lot

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: ss 3.0.3 installation problem on host server Link to this post

    It would appear a PHP version of less than 5.3.2 is running on the server. SilverStripe 3.x requires at least 5.3.2 on there.

    The code in question:

    if (version_compare(phpversion(), '5.3.2', '<')) {
       header("HTTP/1.1 500 Server Error");
       echo str_replace('$PHPVersion', phpversion(), file_get_contents("dev/install/php5-required.html"));
       die();
    }

    It's getting into the if block with version_compare, which indicates the PHP version running on there is less than 5.3.2.

    Sean

    492 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.