简体   繁体   中英

Is it possible to use PHP 5.3.3 and Symfony2/doctrine annotations?

Because my site is hosted in a corporate environment, we often don't have the latest software installed. So for this particular server, it uses PHP 5.3.3.

I know if I want to use annotations, it is recommended I use at least PHP 5.3.8. I guess my question is if the annotations mentioned in this Symfony2/Doctrine page ( Symfony2/Doctrine link here ) is the same same annotations being talked about in config.php?

Thanks very much :)

From README file:

Symfony2 is a PHP 5.3 full-stack web framework. It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP.

...

Symfony2 is only supported on PHP 5.3.3 and up.

but PHP versions before 5.3.8 are known to be buggy and might not work for you:

I will suggest you to upgrade your php version so that you can develop more secure sites.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM