I am having problems getting Magento up and running for the first time on a shared Linux box with PHP5 and MySQL 4.1.20. The message I am receiving when trying to install Magento is this:
PHP Extension “pdo_mysql” must be loaded
I have a very helpful hosting provider who has installed PDO_mysql, I have added a phpinfo file into the Magento directory to see if this sheds any light on the problem
Does anyone know what we have wrong to stop which is preventing the installation from working?
@JLHC - it’s the latest version from the download section (1.1.3 I think). I can only see a php.ini.sample file in the root of the magento folder. I have tried renaming this file to php5.ini but I still have the same problem.
@ brendanb - thanks for that info - that would certainly explain why it isn’t working. I must admit the installation of pdo_mysql is a little over my head so I will direct my host to this thread and hopefully he can install the correct version. Thanks.
@ benfrain.com: I have just checked your phpinfo file and yes that is the main problem of this issue.
Also, version 1.1.4 has been released which resolved a few critical bugs. I suggest you to insall 1.1.4 instead.
@benfrain.com, if you know your mysql meets the system requirements then you should continue with the installation. It is sometimes difficult to get the right DB information with the Magento Check script.
@Owz .htaccess files are different from the php.ini file as the php.ini file is specifically for php settings. .htaccess are files that represent what actions should be taken for that specific domain or directory. You can change php options in the htaccess files, take a look at this ...
http://us2.php.net/configuration.changes