title: Magento: Always redirecting me to "/downloader" path
body: <p>I hope you're good.</p>
  
  <p>I have troubles with magento. A customer required me for migrating a magento website to another hosting service. I made the backup with cPanel tool (either database and public_html site with all the files uploaded). </p>
  
  <p>When I restored all the site (and after change some folder and file permissions) and the database, the Magento site are always showing me the "Downloader" section and when I click to "continue magento installation", it returns to the downloader section.</p>
  
  <p>In the console appears that all the files were already installed (doesn't throw me an error or issue) and in the cPanel logs doesn't appear any kind of issue</p>
  
  <p>Can you help me pls? My customer are pursuing me with a torch and a kendo stick to solve this trouble D:</p>
  
  <p>P.D. I tried using FTP, changing the file permissions in magento's downloader section to the same I have in the root directory (755 for folders and 644 for files) but I have in the lib folder 777 permissions, does it affect?</p>
  
  <p><a href="https://i.stack.imgur.com/wzU2i.png" rel="nofollow"><img src="https://i.stack.imgur.com/wzU2i.png" alt="The magento&#39;s downloader that are always showing me"></a></p>
  
  <p>UPDATE</p>
  
  <p>I have uploaded the snapshot I have in the hosting and It appears me the following exception</p>
  
  <pre><code>Fatal error: Class 'Zend_Exception' not found in /home/estetica/public_html/lib/Zend/Db/Exception.php on line 34
  </code></pre>
  
  <p>So, when I printed all the classes that the framework is using and I found that the Zend/Db/Exception are loaded before the Zend/Exception class</p>
  
  <p>So, where can I modify the order that the classes are imported by magento?</p>