php - Fatal error: Cannot declare self-referencing constant with MongoDB and Cakephp -


i have error when tried installing cakephp in amazon ec2 server:

fatal error: cannot declare self-referencing constant 'mongo::version' in /usr/share/nginx/html/lib/cake/model/connectionmanager.php on line 107

i using php 5.3.23 , mongodb version 2.4.3

thanks in advance

add file phpinfo(); in , check see if mongo php driver listed installed , active.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -