I have posted this question in stack overflow: https://stackoverflow.com/questions/34885654/php-mysql-too-many-connections-warning
I know that reading the title you can think it is a duplicate because there are already other questions about this kind of issue.
But I have read all of them and can't fix my problem. They all give the same answer, increasing the mysql "max_connections" variable. I do it without success.
I have described all this in my question linking to the already answered question. But community users marked it as duplicate. A duplicate of the question that I have mentioned and specify that was not working for me.
UPDATE: I know what should I do to try reopening the question (edit the question and so on). What I really want to know if this is really considered as a duplicated?