You can add a line to htaccess to change version. Suspect you'll have mod rewrite issues after that.
You can point the domain direct to the webroot of cake app. I guess you will also need to adjust Console/cake to get php 5.2.6+ on the command line too. On another server I have done the above and added a custom php.ini for cms line Planning the same on 1&1 (guess other adjustments required to) Also 1&1 don't permit db sessions which is shame (applies to shared server packages) - S On 24 Dec 2011 17:08, "onur" <[email protected]> wrote: > i have just realised that the problem is 1&1's php version is under cake 2 > min reqs. Thans you for your answers. > 24 Ara 2011 19:00 tarihinde "Tilen Majerle" <[email protected]> > yazdı: > >> Thiago, this is not true, if you look at component methods, all, except >> setFlash call CakeSession::method(), so you can use CakeSession and should >> work ! >> >> onur...you can Check, if key exists in Session with CakeSession::check() >> or if you are in controller $this->Session->check() >> -- >> Lep pozdrav, Tilen Majerle >> http://majerle.eu >> >> >> >> 2011/12/24 Thiago Belem <[email protected]> >> >>> Did you read the documentation? >>> >>> http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html >>> >>> You should use the SessionComponent... >>> >>> $this->Session->write('Person.eyeColor', 'Green'); >>> >>> $green = $this->Session->read('Person.eyeColor'); >>> >>> Cya, >>> -- >>> ***Thiago Belem* >>> Desenvolvedor >>> Rio de Janeiro - RJ - Brasil >>> >>> +55 (21) 8865.9250 >>> thiagobelem.net >>> [email protected] >>> >>> *Skype / gTalk **»* thiago.belem.web >>> *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt* >>> Assando Sites*, curso de CakePHP *»* assando-sites.com.br >>> >>> >>> >>> 2011/12/24 onur <[email protected]> >>> >>>> hi everybody, >>>> >>>> i've session problem on 1&1 server >>>> >>>> my code like: >>>> >>>> class AppController extends Controller >>>> { >>>> public $components = array('Session','Language','PrgPattern'); >>>> //public $helpers = >>>> array('Html','Form','Js','Session','SearchForm','Text','Paginator'); >>>> public $permissions = array(); >>>> >>>> public $userPermissions = Array(); >>>> public $advertPermissions = Array(); >>>> public $bookingPermissions = Array(); >>>> >>>> public $userPermissionsPreFix = 'lp_user'; >>>> public $advertPermissionsPreFix = 'lp_advert'; >>>> public $bookingPermissionsPreFix = 'lp_booking'; >>>> >>>> public function beforeFilter() >>>> { >>>> CakeSession::write('User.Id',0); >>>> echo CakeSession::read('User.Id'); // outputs nothing ?????? >>>> >>>> $_SESSION['User.Id'] = 0; >>>> eho >>>> >>>> >>>> -- >>>> Our newest site for the community: CakePHP Video Tutorials >>>> http://tv.cakephp.org >>>> Check out the new CakePHP Questions site http://ask.cakephp.org and >>>> help others with their CakePHP related questions. >>>> >>>> >>>> To unsubscribe from this group, send email to >>>> [email protected] For more options, visit this >>>> group at http://groups.google.com/group/cake-php >>>> >>> >>> -- >>> Our newest site for the community: CakePHP Video Tutorials >>> http://tv.cakephp.org >>> Check out the new CakePHP Questions site http://ask.cakephp.org and >>> help others with their CakePHP related questions. >>> >>> >>> To unsubscribe from this group, send email to >>> [email protected] For more options, visit this >>> group at http://groups.google.com/group/cake-php >>> >> >> -- >> Our newest site for the community: CakePHP Video Tutorials >> http://tv.cakephp.org >> Check out the new CakePHP Questions site http://ask.cakephp.org and help >> others with their CakePHP related questions. >> >> >> To unsubscribe from this group, send email to >> [email protected] For more options, visit this group >> at http://groups.google.com/group/cake-php >> > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
