Archive > BeBot 0.3 support

MySql problem

<< < (3/3)

Alreadythere:
Try adding extension=mysql.so to your php.ini.

Temar:
i changed my startbot.php i think i had same error


--- Code: ---{
/*
This is a sane default for the php binary on Unix systems.
If your php binary is located someplace else, edit the php_bin path accordingly.
*/
// $php_bin = trim(shell_exec('which php'));
// $php_args = " -c ./ ";
$php_bin = "/usr/bin/php";
$main_php = "Main.php";
}

--- End code ---

lulifuz:
Hi again,

thanks to both of you.
The line extension=mysql.so in the php.ini was alreadythere Alreadythere ;-)

So I tried what Temar suggested and that worked.
As I am a curious guy I tried to comment only the line:
//$php_args = " -c ./ ";
and this worked also.
This arg lets php look for the .ini file in directory ./.
Strange, as I have renamed the .ini file in the Bebot dir.

Anyway, now it works and I am happy.

Regards,

 lulifuz

Navigation

[0] Message Index

[*] Previous page

Go to full version