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:
before PHP 5.3.4, if you get "Notice: Trying to get property of non-object", you've hit a known PHP bug (see https://bugs.php.net/bug.php?id=52083 and https://bugs.php.net/bug.php?id=50027 );
before PHP 5.3.8, if you get an error involving annotations, you've hit a known PHP bug (see https://bugs.php.net/bug.php?id=55156 ).
PHP 5.3.16 has a major bug in the Reflection subsystem and is not suitable to run Symfony2 ( https://bugs.php.net/bug.php?id=62715 )
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.