[PHP-WIN] memory

2010-08-11 Thread samuel
hello, I'm upgrading my site and I have some question on memory. I try to use Doctrine, models, and all this stuff. By making some benchmark I noticed that a single request can take 4Mo of memory. Is that huge? Or is that acceptable in face of the beneficts of a good architecture ? I read that the

[PHP-WIN] Re: [PHP-DB] Unable to connect to mysql database

2010-08-11 Thread Vinay Kannan
I am guessing the message "unable to connect to database" is something you have echoed on a die() or as an error message, could you tell us what is the step before this. Also just check if the database is set correctly, and the user name and the password is correct. Some hosts use the host as loc