Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Errors Installing with Xamp

Our old forums are still available as a read-only archive.

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

Page: 1 2
Go to End
Author Topic: 5327 Views
  • Marcus
    Avatar
    Administrator
    86 Posts

    Re: Errors Installing with Xamp Link to this post

    In php.ini there'll be a property called "memory_limit = 8M" or similar. Or, try "ini_set('memory_limit', '8M')" at the top of sapphire/main.php.

  • jansie
    Avatar
    Community Member
    1 Post

    Re: Errors Installing with Xamp Link to this post

    hi,

    i tried installing SS, and came across an error right at the start. i found this thread, and followed all the instructions.

    mod_rewrite is enabled. here's the line:
    LoadModule rewrite_module modules/mod_rewrite.so [i activated this]

    in php.ini, the memory limit line reads as follows:
    memory_limit = 32M ; Maximum amount of memory a script may consume (16MB) [this is standard]

    in sapphire/main.php, the memory line reads as follows:
    ini_set('memory_limit', '32M'); [this is standard]

    i added a password to the user. user is root, and password is something i'm not comfortable sharing here ;-)

    this is the first message i receive, after trying to install:

    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'mysite/_config.php'...
    # Creating C:\xampp\htdocs\nmcbusiness/mysite/_config.php
    # Creating '.htaccess' file...
    # Creating C:\xampp\htdocs\nmcbusiness/.htaccess
    # Building database schema...
    # Checking mod_rewrite works
    # http://localhost/nmcbusiness/InstallerTest/testrewrite Rewrite is DirectorySlash Off RewriteEngine On RewriteBase /nmcbusiness RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* C:/xampp/htdocs/sapphire/main.php?url=%1&%{QUERY_STRING} [L] Creating C:\xampp\htdocs\nmcbusiness/.htaccess http://localhost/nmcbusiness/InstallerTest/testrewrite
    # ERROR: mod_rewrite not working, redirecting to mod_rewrite test page
    # Creating C:\xampp\htdocs\nmcbusiness/.htaccess I will now try and direct you to rewritetest to troubleshoot mod_rewrite

    this is the final message:

    Warning: file_get_contents(http://localhost/nmcbusiness/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\nmcbusiness\rewritetest.php on line 47

    Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\nmcbusiness\rewritetest.php on line 47

    it creates 54 tables in the database (if this info is important)

    i run xampp 1.6.7 on vista home premium. machine is toshiba. 3Gb ram. 1.83 Ghz intel core 2 duo.

    any ideas? i'm really amped to use this CMS. seems wonderful.

    5327 Views
Page: 1 2
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.