Can't load mysqli class in new project. [message #684557] |
Wed, 15 June 2011 15:48  |
Eclipse User |
|
|
|
I'm new to PHP, but I'd really like to be able to use PDT to write my scripts. (Straight CLI scripting - no web stuff.) After some gnashing of teeth, I finally got PDT to try to execute a script I'd already written, but it the console spits out the message:
PHP Fatal error: Class 'mysqli' not found in /home/dhicks/workspace/show-slave-status/show-slave-status.php on line 33
The PDT project shows a mysqli.php as part of the Core API, which I assume is included in the project, but apparently I'm wrong about that. Being new to this stuff, I don't really know where the libraries are residing, but this script works fine when I run it from the command line. I'm running Eclipse Helios on Fedora 14 Linux.
Can anyone point me in the right direction? Maybe there is a good tutorial that I missed somewhere?
Thanks,
Dave
|
|
|
|
Powered by
FUDForum. Page generated in 0.25615 seconds