Friday, February 26, 2010

Re: CakePHP installation

Ok, but what you are doing have nothing to do with Apache!
You are opening your HTML file from the file system.
Please open your file by using the address:

http://localhost/index.html

That will allow Apache to invoke (hopefully) the PHP engine.
Enjoy,
John

On Feb 26, 4:42 pm, Francisco Serôdio <f.sero...@netcabo.pt> wrote:
> If I execute the simple HTML script:
> <html><body><h1>It works!</h1></body></html>
> I got:
>
> If I execute this PHP script:
> <html>
> <head><title>My Web Server Info</title></head>
> <body><?php phpinfo(); ?></body>
> </html>
>
> Cumprimentos / Regards
> Francisco Serodio
> tel +351 919613316
>
> -----Original Message-----
> From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On
>
> Behalf Of John Andersen
> Sent: sexta-feira, 26 de Fevereiro de 2010 14:22
> To: CakePHP
> Subject: Re: CakePHP installation
>
> Is Apache set up to read PHP files - as I can see the index.php file
> in your directory listing, but apparently Apache is not taking it and
> feed it to the PHP engine.
>
> Please ensure that you can run a simple PHP script, like this:
> [code]
> <?php
> echo phpinfo();
> ?>
> [/code]
>
> Then let us see what result you got!
> Enjoy,
>    John
>
> On Feb 26, 4:14 pm, Francisco Serôdio <f.sero...@netcabo.pt> wrote:
> > Hi,
>
> > I did what you ask me to do and I got this:
>
> > And this:
>
> > Cumprimentos / Regards
> > Francisco Serodio
> > tel +351 919613316
>
> > -----Original Message-----
> > From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On
>
> > Behalf Of a...@asteriskpound.com
> > Sent: sexta-feira, 26 de Fevereiro de 2010 00:37
> > To: cake-php@googlegroups.com
> > Subject: RE: CakePHP installation
>
> > the first problem I see is that example.com is not your domain....
> > localhost is.
>
> > try going to
> <http://localhost/cake_1_2/app/webroot>http://localhost/cake_1_2/app/web
> rootor
> > <http://localhost/cake_1_2/app/>http://localhost/cake_1_2/app/
>
> > all of your development will take place under the app directory.
>
> > -------- Original Message --------
> > Subject: CakePHP installation
> > From: Francisco_Serôdio <f.sero...@netcabo.pt>
> > Date: Thu, February 25, 2010 3:16 pm
> > To: <cake-php@googlegroups.com>
>
> > Hi,
>
> > I'm trying to install cakePHP in my PC but I'm facing some troubles.
> > I'm installing in a PC with Windows 7, Apache 2,2, PHP 5 and MySQL.
> > Apache it's running correctly and PHP as well.
> > I have unpacked cakePHP into the folder cake_1_2 within my web server
> > folder, which I believe is – C:\Program Files\Apache Software
> > Foundation\Apache2.2\htdocs
> > After performing this steps I tried to execute –
> > <http://localpost/cake_1_2/>http://localpost/cake_1_2/-and I got:
>
> > If I tried to execute –
> <http://www.example.com/cake_1_2/>http://www.example.com/cake_1_2/-and
> I got:
>
> > What seems to be the problem ???? Thanks.
>
> > Cumprimentos / Regards
> > Francisco Serodio
> > tel +351 919613316
>
> > Check out the new CakePHP Questions site
> <http://cakeqs.org>http://cakeqs.organdhelp 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this
> group
> > at
> <http://groups.google.com/group/cake-php?hl=en>http://groups.google.com/
> group/cake-php?hl=en
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
> > 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this
> group
> > athttp://groups.google.com/group/cake-php?hl=en
>
> >  image001.jpg
> > 37KViewDownload
>
> >  image002.jpg
> > 37KViewDownload
>
> >  image003.jpg
> > 4KViewDownload
>
> >  image004.jpg
> > 27KViewDownload
>
> >  image005.jpg
> > 34KViewDownload
>
> >  image006.jpg
> > 4KViewDownload
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group
> athttp://groups.google.com/group/cake-php?hl=en
>
>
>
>  image001.jpg
> 22KViewDownload
>
>  image002.jpg
> 15KViewDownload

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: