Development

InstallingSymfonyOnSharedHostNoSsh (diff)

You must first sign up to be able to contribute.

Changes between Version 6 and Version 7 of InstallingSymfonyOnSharedHostNoSsh

Show
Ignore:
Author:
tveon (IP: 90.185.24.102)
Timestamp:
10/15/08 21:56:09 (9 years ago)
Comment:

Clause about how to link to new position of Symfony libraries

Legend:

Unmodified
Added
Removed
Modified
  • InstallingSymfonyOnSharedHostNoSsh

    v6 v7  
    44 * A shared hosting with PHP5 
    55 * FTP access 
    6  * Symfony installation with pear on '''local''' development environment 
     6 * Symfony installation with PEAR on '''local''' development environment 
    77 
    88== Overview == 
    99 
    10 This guide is for people who wish to install symfony on an environment where they have minimal control and permissions.  
     10This guide is for people who wish to install Symfony on an environment where they have minimal control and permissions.  
    1111 
    1212== Directory Layout == 
    134134}}} 
    135135 
     136== Linking to Symfony Libraries == 
     137Unless the proposed library structure matches your own, will you also have to update {{{ProjectConfiguration.class.php}}}, which is located in the {{{/config}}} directory, to match it: 
     138 
     139{{{ 
     140<?php 
     141 
     142require_once dirname(__FILE__).'/../lib/symfony/autoload/sfCoreAutoload.class.php'; 
     143sfCoreAutoload::register(); 
     144 
     145class ProjectConfiguration extends sfProjectConfiguration 
     146{ 
     147  public function setup() 
     148  { 
     149  } 
     150} 
     151 
     152}}} 
     153 
     154 
    136155== Setting up permissions == 
    137156You should give full write permission (if the server runs php with suPHP this may not be necessary) to the cache and log directories so they can be written with no errors. The directories are: