Welcome Guest, Not a member yet? Register   Sign In
Codeigniter CLI mode calling firebird database
#3

(03-29-2016, 03:05 AM)orionstar Wrote: How do you call php from CLI? Exactly what command did you run?

I think you have more thane one php version installed and the CLI one is different than you use with your web server. If my assumption is true, then you have to enable interbase extensions in all php version's php.ini...

Run get_loaded_extensions() (http://php.net/manual/en/function.get-lo...nsions.php) to check interbase is loaded.

orionstar,

You are right on spot on this issue. I never realize that I have another PHP installation in my machine and the PATH variable in windows environment is pointing to that PHP installation. Once I change the PATH variable to point to the PHP in the XAMPP folder, it works successfully.

Thank you very much.
Reply


Messages In This Thread
RE: Codeigniter CLI mode calling firebird database - by wakarimase - 03-29-2016, 09:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB