Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : Magento - pdo_mysql/CURL extension not loaded

3


Threaded Mode | Print  

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
Softaculous support advised me to "You will need to first run an EasyApache with the desired PHP settings, once the user PHP version is complete and the EasyApache finishes you can run /scripts/makecpphp and this will match the internal PHP setup with your newly built EasyApache settings."

This did not work -- and makes me wonder how many of the other scripts won't install correctly? I certainly don't have the time to test them all!

-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
Fluccs
Group: NOC
Post Group: Newbie
Posts: 30
Status:
I would be concerned that the script itself is trying to rely on cpanel's own php to run from???

/scripts/makecpphp certainly doesnt resolve this issue
IP: --   

Magento - pdo_mysql/CURL extension not loaded
willdashwood
Group: Member
Post Group: Newbie
Posts: 27
Status:
Has there been any update on this? It's still failing on all our servers to the best of my knowledge and they're all update to date with the latest softaculous release.
IP: --   

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
I asked for a replacement magento install.php which doesn't check for pdo_mysql, and it now works perfectly.
Just waiting for them to have the option of magento installing with default data, and I'll be happy.


Edited by texo : September 23, 2009, 2:33 pm

-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
Here it is, if you want to use it, exaclty as I received it from alons...


-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
willdashwood
Group: Member
Post Group: Newbie
Posts: 27
Status:
Thanks, something to consider certainly. I just wonder why the check fails in the first place.
IP: --   

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
Hi Wildashwood
It fails because it's checking cpanel's internal PHP, and not the server's PHP setup. Apparently, cPanel told softacuolous that by running /scripts/upcp the two would synchronise, which clearly does not happen.


-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
willdashwood
Group: Member
Post Group: Newbie
Posts: 27
Status:
Thanks texo, that makes sense. I guess the next question is can this be workaround so that it uses the real PHP not cPanel's?
IP: --   

Magento - pdo_mysql/CURL extension not loaded
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
A better solution is to add the lines in the file :
/usr/local/cpanel/3rdparty/etc/php.ini

The extension lines:
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so

As for the fix we are working on it as well. It will now check for the enduser php.ini. But it will take some time and it will require chages introduced in 2.1. Let me assure you we are working on it.

Also the solution in this post of editing the PHP.ini is more preferred.

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
To be honest, I don't think that it really matters: ifyou know that your server meets the requirements (in this case, pdo_mysql) then whether the script checks or not is irrelevant.


-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
willdashwood
Group: Member
Post Group: Newbie
Posts: 27
Status:
Thanks alons, I like that solution better. I'll go through the servers to make the change. :)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
Quote
Also the solution in this post of editing the PHP.ini is more preferred.


That's one of the steps we tried while troubleshooting this, alons, and it didn't work!


-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Quote From : texo September 23, 2009, 2:50 pm
Quote
Also the solution in this post of editing the PHP.ini is more preferred.


That's one of the steps we tried while troubleshooting this, alons, and it didn't work!


The one you tried was using cPanels makecpphp. Did you try adding that manually ?

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Magento - pdo_mysql/CURL extension not loaded
texo
Group: Member
Post Group: Newbie
Posts: 19
Status:
My apologies, I was wrong. This was in the email I sent to you, so I don't think that I did edit cpanel's php.ini :

Hello

cpanel’s internal php.ini has no references at all to pdo_mysql

the server’s php.ini has the following lines:

extension=/path/to/pdo.so
extension=/path/to/pdo_sqlite.so
extension=/path/to/sqlite.so
extension=/path/to/pdo_mysql.so

I ran /scripts/makecpphp and checked cpanel’s php.ini again, and there was still no reference to pdo_mysql



Edited by alons : September 23, 2009, 3:21 pm

-----------------------
:)
IP: --   

Magento - pdo_mysql/CURL extension not loaded
willdashwood
Group: Member
Post Group: Newbie
Posts: 27
Status:
When I add those lines and execute:

Code
/usr/local/cpanel/bin/install_php_inis


I get the following error:

Code
PHP Warning:  PHP Startup: Unable to load dynamic library '/var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/pdo.so' - /var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so' - /var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /var/cpanel/3rdparty//lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

IP: --   

« Previous    Next »

Threaded Mode | Print  

3


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 4:42 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.021