Jump to:

4945 Posts in 17789 Topics by 1494 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: 525 Views
  • jasonjiang73
    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
    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"));

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


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.