-- Vincent Louvet <[email protected]> wrote
(on Wednesday, 21 October 2009, 07:38 AM -0700):
> I have a website running fine with php 5.2 (Sarge) and I'm trying to get
> working copy on a pre production server which runs php 5.3 (CentOs).
> 
> After setting up the database and apache, uploading all the php scripts I
> had to make a few changes in the application.ini as I was getting syntax
> errors (typically replace the " by some ').

Are you sure about this? Traditionally, the parse_ini_string|file
functions have preferred double-quotes over single-quotes when parsing
files for string values. If this is no longer the case, then it's a huge
BC break in PHP 5.3, and I need to notify upstream.

> I also had to specify a few require_once for my custom classes (althrough
> the library folder is in the include_path)
> 
> So I finally came up with a working website except for the pages using
> routes.
> 
> This is how the routes are defined:
> 
> PHP 5.2 version (working):
> resources.router.routes.news.type = "Zend_Controller_Router_Route_Regex"
> resources.router.routes.news.abstract = true
> resources.router.routes.news.route = "^news/(\d+)/(.*)\.html$"
> resources.router.routes.news.defaults.module = "frontend"
> resources.router.routes.news.defaults.controller = "news"
> resources.router.routes.news.defaults.action = "read"
> resources.router.routes.news.map.news_id = 1
> 
> PHP 5.3 version (not working):
> resources.router.routes.news.type = 'Zend_Controller_Router_Route_Regex'
> resources.router.routes.news.abstract = true
> resources.router.routes.news.route = '^news/(\d+)/(.*)\.html$'
> resources.router.routes.news.defaults.module = 'frontend'
> resources.router.routes.news.defaults.controller = 'news'
> resources.router.routes.news.defaults.action = 'read'
> resources.router.routes.news.map.news_id  = 1
> 
> I can't get it work and can't find any helpful document about my problem.
> 
> I'm not sure about all the changes needed when using php 5.3, could anyone
> tell me more ?
> 
> Best wishes,
> 
> 
> Vincent
> 
> -----
> Vincent
> -- 
> View this message in context: 
> http://www.nabble.com/application.ini-adaptation-for-php-5.3-tp25993786p25993786.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to