Results 1 to 5 of 5

Thread: Step 2 installation problem on shared hosting

  1. #1
    deburca is offline Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default Step 2 installation problem on shared hosting

    Hi,

    On Step 2 I am receiving the following problems:

    Writable Session Save Path (/home/phpsessions) Not A Valid Directory
    PHP Memory Limit >= 10M Warning: 8M (Set this to 10M or larger in your php.ini file)
    Note: Your php configuration file (php.ini) is located at:
    /usr/local/Zend/etc/php.ini

    As I am on a shared hosting service I do not appear to be able to access the /home/phpsessions folder, also I cannot see (via an FTP client) the /usr/local/Zend/etc/php.ini

    Any help or pointers to other posts in this forum appreciated.

  2. #2
    epalissad is offline Junior Member
    Join Date
    Dec 2005
    Posts
    1

    Default Re: Step 2 installation problem on shared hosting

    Hi,
    I hade the exact same problem and solved it by entering the following in my .htaccess file:

    php_value memory_limit 10M
    php_value session.save_path /your/path/to/your/created/folder


    You have to create a folder for temporary sessions. I called it sessions and placed it outside my webspace, in my case i placed it in /public_html/sessions and gave it the following rights 770.

    The .htaccess file is located with the other files and folders, same directory as data, modules etc...and it it just a file that contains those two lines of code above and named .htaccess.

    Hope this helps, there are of course other ways of solving this issue but this was pretty easy.

  3. #3
    deburca is offline Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default Re: Step 2 installation problem on shared hosting

    Hi, thanks for that.

    Unfortunately I do not think that my hosting provider (www.fasthosts.co.uk) allows .htaccess file changes as when I upload the file I get a page: "internal server error".

    Any other workarounds or is it a case of finding another provider?

  4. #4
    spants is offline Junior Member
    Join Date
    Dec 2005
    Posts
    1

    Default Re: Step 2 installation problem on shared hosting

    Same problem....I added the bold items below to index.php / install.php
    Tony


    /************************************************** *******************************
    * $Id: index.php,v 1.268 2005/12/15 19:04:15 wayne Exp $
    * Description: Main file and starting point for the application. Calls the
    * theme header and footer files defined for the user as well as the module as
    * defined by the input parameters.
    ************************************************** ******************************/
    //error_reporting(E_ALL);

    ini_set('memory_limit','16M');
    ini_set('session.save_path','/directory that you have access to!/');



    if (!is_file('config.php')) {
    header("Location: install.php");
    exit();

  5. #5
    deburca is offline Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default Re: Step 2 installation problem on shared hosting

    Thanks Tony - that seems to have solved it and the installation has successfully completed.

    James

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •