Softaculous


Topic : Magento - pdo_mysql/CURL extension not loaded


3

Posted By: texo on September 14, 2009, 7:24 pm | Post: 30
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!

-----------------------
:)

Posted By: Fluccs on September 15, 2009, 12:46 am | Post: 31
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

Posted By: willdashwood on September 23, 2009, 11:48 am | Post: 32
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.

Posted By: texo on September 23, 2009, 2:32 pm | Post: 33
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

-----------------------
:)

Posted By: texo on September 23, 2009, 2:34 pm | Post: 34
Here it is, if you want to use it, exaclty as I received it from alons...


-----------------------
:)

Posted By: willdashwood on September 23, 2009, 2:35 pm | Post: 35
Thanks, something to consider certainly. I just wonder why the check fails in the first place.

Posted By: texo on September 23, 2009, 2:41 pm | Post: 36
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.


-----------------------
:)

Posted By: willdashwood on September 23, 2009, 2:43 pm | Post: 37
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?

Posted By: alons on September 23, 2009, 2:47 pm | Post: 38
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

Posted By: texo on September 23, 2009, 2:48 pm | Post: 39
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.


-----------------------
:)

Posted By: willdashwood on September 23, 2009, 2:50 pm | Post: 40
Thanks alons, I like that solution better. I'll go through the servers to make the change. :)

Posted By: texo on September 23, 2009, 2:50 pm | Post: 41
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!


-----------------------
:)

Posted By: alons on September 23, 2009, 2:52 pm | Post: 42
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

Posted By: texo on September 23, 2009, 2:57 pm | Post: 43
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

-----------------------
:)

Posted By: willdashwood on September 23, 2009, 3:06 pm | Post: 44
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


Powered By AEF 1.0.8 © 2007-2008 Electron Inc.