Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Not connecting to MySQL

4


Threaded Mode | Print  

Not connecting to MySQL
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
RLS could you please provide me a dummy account to see the error.

-----------------------
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: --   

Not connecting to MySQL
grabacontroller
Group: Member
Post Group: Working Newbie
Posts: 60
Status:
PM sent.


-----------------------
Hello.  :xd:
IP: --   

Not connecting to MySQL
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
file_get_contents() function of PHP is not working.
we tried with CURL and things were working but CURL is very slow.

Please check why file_get_contents() is not working.
It should be working as allow_url_fopen wrapper is on.
But its not working.
Please check with cPanel why file_get_contents() function of PHP is not working


-----------------------
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: --   

Not connecting to MySQL
grabacontroller
Group: Member
Post Group: Working Newbie
Posts: 60
Status:
Quote From : alons July 19, 2009, 6:15 pm
file_get_contents() function of PHP is not working.
we tried with CURL and things were working but CURL is very slow.

Please check why file_get_contents() is not working.
It should be working as allow_url_fopen wrapper is on.
But its not working.
Please check with cPanel why file_get_contents() function of PHP is not working


In php.ini it says: disable_functions = show_source, system, shell_exec, passthru, exec, popen, proc_open,

allow_url_fopen



should I remove allow_url_fopen?



-----------------------
Hello.  :xd:
IP: --   

Not connecting to MySQL
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Yes please remove shell_exec and allow_url_fopen

-----------------------
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: --   

Not connecting to MySQL
SoftDux
Group: NOC
Post Group: Working Member
Posts: 113
Status:
allow_url_fopen is a security risk and it's recommended not to enable it, espeacially on shared servers with clients who don't know how to secure their own website.

Is it not possible to use another way to isntall these databases? If I may ask, why do you need allow_url_fopen or CURL? Are the scripts hosted on another server?
IP: --   

Not connecting to MySQL
grabacontroller
Group: Member
Post Group: Working Newbie
Posts: 60
Status:
I don't think I want to enable these. I know that installatron and fantastico doesn't do this. Any other possible solution?


-----------------------
Hello.  :xd:
IP: --   

Not connecting to MySQL
vT16
Group: Member
Post Group: Newbie
Posts: 42
Status:
Alons is working on a different method of importing MySQL databases. That should be ready in 2.0 at least, if not earlier.

As I mentioned in a PM to him, it appears to me that Softaculous requires commands that are actually a security risk. I hope that Alons will research and see where he can uses commands that are not security risks. Myself, I'd prefer a slow but secure installation script rather then a script that works fast but requires exploitable commands.

Ah well, let's wait for the release with the new installation script before we complain about security risks. Better judge after we have seen the new version, rather then judge on old versions.
IP: --   

Not connecting to MySQL
grabacontroller
Group: Member
Post Group: Working Newbie
Posts: 60
Status:
I need alons to contact cpanel. cpanel is asking me something about a path. I really don't know what he means.


-----------------------
Hello.  :xd:
IP: --   

Not connecting to MySQL
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
allow_url_open is not a Security Risk.
Its just a directive which allows scripts to read WEB Files as it will allow file_get_contents() and other functions to work
Softaculous connects to itself at 127.0.0.1:2082

This directive only allows to read web files and it does not allow access to a servers files by its own.

Enabling allow_url_open is not a Security Breach !
Most servers allow it.

Anyways we will deprecate its use as early as 1.8 and we will add it in 1.8 ourselves.
But shell_exec will still be needed till 2.0


-----------------------
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: --   

Not connecting to MySQL
JCarlin6
Group: Member
Post Group: Newbie
Posts: 5
Status:
Can somebody send me the fix to this I need it asap please and thank you. If the fix is to remove shell_exec and allow_url_fopen how do i do that?
   
   

Edited by JCarlin6 : August 18, 2009, 5:55 pm
IP: --   

Not connecting to MySQL
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Sir in version 1.8 onwards this is not required as PHP MySQL functions are used to connect and load a DB.

-----------------------
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: --   

Not connecting to MySQL
JCarlin6
Group: Member
Post Group: Newbie
Posts: 5
Status:
then why am I still getting this error?
IP: --   

Not connecting to MySQL
vT16
Group: Member
Post Group: Newbie
Posts: 42
Status:
Are you sure you're running the lastest version of Softaculous?
IP: --   

Not connecting to MySQL
JCarlin6
Group: Member
Post Group: Newbie
Posts: 5
Status:
100% sure
IP: --   

« Previous    Next »

Threaded Mode | Print  

4


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 7:50 am.

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