Shouldn't they be installed with xampp? I will try what you suggest thanks.
On 23 Aug, 18:08, cricket <[email protected]> wrote: > On Sun, Aug 22, 2010 at 6:19 PM, Daniel Samani <[email protected]> > wrote: > > I have installed the cakephp-scripts deb package on my ubuntu system. > > I am running xampp aswell so i installed my application in /opt/lampp/ > > htdocs/blog by using "cake bake" command. > > > When running sudo cake bake -app /opt/lampp/htdocs/blog and choosing > > to bake the controller in the interactive bake shell. I get the > > following error. > > > PHP Fatal error: Call to undefined function mysql_connect() in /usr/ > > share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 376 > > > Fatal error: Call to undefined function mysql_connect() in /usr/share/ > > php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 376 > > > What could be the underlying problem? > > You don't have the PHP MySQL libraries installed. > > sudo apt-get install php_mysql Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
