Ok, I got 3 suggestions for you:

1) write a simple php script that echos "hello" and run it from a CMD
box.  Does it run?  if not find out the path to where your php runs
from and add it to your path.

2) add to your path the path to the console section of your cake app.
I have an app called "Gradebook" so I have in my path "c:\wamp\www
\gradebook\cake\console;" in my path.

3) make *SURE* you are in the right directory.  In my example, to use
the command like of: "cake bake", I need to be in the directory "C:
\wamp\www\gradebook\app\"

That will let you bake if you have everything else set up.  If you
don't have everything set up right and you are running wampserver you
can tell that right away just by looking at the gauge in the area near
your time.  If the guage has any red in it, your databaserver or your
apache is not set up right and it will not work.


On Oct 24, 5:41 pm, Merk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an installation of wampserver version 2.0 on my machine.  I'm
> attempting to use the cake bake console from the command line.  When I
> do so, I get mysql_undefined errors.
>
> Obviously the first step is to check the php.ini's to ensure
> the .dll's aren't commented out.  I've checked 3 different .ini files
> on my machine under the wamp directory, and all show this is enabled.
>
> php_info(); shows mysql is running.
>
> I even found a php_old.ini in the windows folder on my machine and
> enabled the extensions there.  No luck.
>
> Has anyone else run into this problem with wampserver?  Any ideas to
> troubleshoot?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to