I am having trouble gettins Magento installed.
I have had my host change me from a PHP4 to PHP5 server
But I am still unable to get past the pdo_mysql must be loaded error on running the install.
I asked my host about pdo_Mysql, and they said:-
“You can change apache handlers via .htaccess to allow other extensions to work as PHP script\”
Frankly i don’t know how to do that. (i am a noob)
I have searched the forums and seem to be going around and around.
I asked my host about pdo_Mysql, and they said:-
“You can change apache handlers via .htaccess to allow other extensions to work as PHP script\”
What they told you doesn’t make sense. PDO_MYSQL has nothing to do with Apache handlers. They need to install the PDO and PDO_MYSQL extensions for PHP, something that requires root access to the server.
@Crucial: my translation of hosting’s response was:
“We’re not going to add pdo_mysql to our PHP installation, so you might as well set up handlers in your .htaccess to use your own PHP binary with compiled extensions, including pdo_mysql”
Heh, I was wondering what you linked to the CGI stuff. Now that I read it again, that would make sense. Could have been worded better on their part though. Do let us know if that worked for you, PremiumProductions.
Thanks for your help guys.
I have now tried the the CGI method.
(Just so i understand...i assume the download of php5-cgi includes the pdo-Mysql setup. Is that correct?)
Now when i go to my site, it comes up with “500 Internal Server Error”
I believe I followed it closely, but obviously i missed something.
If you’re on a environment where PHP runs through CGI, then you do need to edit the .htaccess file and also remove some things. Change the following:
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
If you’re still receiving a 500 error, then first try changing /cgi-bin/php5-cgi to /cgi-bin/php-cgi and see if that works (or ask your host what path to use, though the default path should work). If you’re still getting an error, try removing AddHandler php5-cgi .php.
If you’re on a environment where PHP runs through CGI, then you do need to edit the .htaccess file and also remove some things. Change the following:
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
If you’re still receiving a 500 error, then first try changing /cgi-bin/php5-cgi to /cgi-bin/php-cgi and see if that works (or ask your host what path to use, though the default path should work). If you’re still getting an error, try removing AddHandler php5-cgi .php.
Thank you for your assistance.
I have unremarked the above lines. No good. It just produces 500 error.
I believe i have confirmed the path to the cgi-bin directory is correct.
and i have confirmed the file name is php5-cgi
If i remark out the add handler line it comes back with the” pdo_mysql must be loaded” error
Any other ideas for me?
Once again ....thank you for trying...I appreciate it