I’m having a bit of trouble installing magento to try it out. I get this error:
PHP Extension “mysqli” must be loaded
However, my php seems to have this installed as my phpinfo has these lines:
I don’t have a ‘mysqli’ entry in the output later on in phpinfo() as I do with ‘mysql’ so I’m guessing it may indeed not be installed. I’m on a shared host with limited access to PHP, so what options am I left with? Is there a way to use mysql instead of mysqli with magento? (I read that mysqli isn’t necessarily faster / more stable anyhow, so I may want to do that anyway)
You can try to use pdo_mysql setup (without having mysqli) with the latest Magento version (0.6.14100). Just replace app/etc/config.xml and app/code/core/Mage/Install/etc/install.xml with the attached ones.
Thanks for the info, that helped a lot, however I hit a PHP error:
Fatal error: Call to a member function getClassName() on a non-object in /home/testing/web/public/magento/app/code/core/Mage/Core/Model/Resource.php on line 92
Could this error be from those two files I copied into the appropriate directories? I copied config.xml into app/etc/config, and install.xml into app/code/core/Mage/Install/etc as directed. I’m not sure if I should open a new thread on this. I’ll open a new one for reference as well.