I tried WAMP and XAMPP, neither work and give me the same errors about
not being able to load the Session component in app_controller.php.

Check this out though!  I am using the most current version of
everything and it did not work, so, I downgraded everything and it
still does not work.  In the end I started to write a new framework of
my own.

Here's the kicker, I started developing in Eclipse and testing on a
Gentoo Linux Apache server.  Everything was great.  I get home and
load up the files off my thumb drive onto my laptop with IIS. Low and
behold, errors!  Specifically with the require_once directive.  So, I
change it to include and it started working again.  Did some more
coding and it was working fine on IIS on Windows Vista.  I get back to
work and upload my changes to the Apache Linux server and the same
errors started coming up about not being able to find files.  So, I
changed the include to require_once and it worked.  I cleared my
browser cache and restarted the apache server and changed the
require_once to include and it worked fine either way now.  Went back
to IIS and had to change include to require_once!  LOL, wtf!?

I can only assume it is now the way the OS's deal with php.  Wierd!

Bottom line, once you start developing in PHP on Linux or Windows, you
have to stick with that OS for production.  Keep in mind that this may
be a bug and change later but, for now, that's all I can figure out.
Also, keep in mind that everything I wrote was straight up php.

Another wierd example is, my co-worker made a simple index.php with
some includes and a session_start() at the very top.  He got an error
saying that output headers already started.  He told me that he was
developing this on his IIS machine at home.  So, he got to work,
copied his index.php file to the linux server and bam! Errors.  He
copied and pasted the entire contents into test.php and test.php ran
flawlessly.  We made sure there were not extra lines at the end of
index.php.  In the end, we couldn't figure it out so, we just renamed
test.php to index.php and it was still fine.

Can this be a problem with some type of codepaging?  UTF-8 and ASCII
or iso-whatever?

On Nov 19, 8:31 am, Baz <[EMAIL PROTECTED]> wrote:
> I know that I've run into problems trying to configure Apache, PHP, and
> MySQL separately on Windows.
>
> But the WAMP and XAMPP solutions work (and port) great.  Just ensure you use
> "DS" instead of "/" or "\" and remember that on Windows Apache (or PHP)
> doesn't seem to be case sensitive.
>
> Those are the only problems I've run into with porting to Linux. Never had
> problems the other way around. But if you trying to run on IIS, good luck
> with that.
> --
> Baz Lhttp://www.WebDevelopment2.com/
>
> On Nov 19, 2007 4:47 AM, RichardAtHome <[EMAIL PROTECTED]> wrote:
>
>
>
> > "Apache on Windows does not work"
>
> > I've been developing WAMP sites for a looong time with no problems.
>
> > I think the rumour started because Apache on windows is not
> > 'officially' supported.
>
> > On Nov 19, 6:07 am, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> > > Sorry for the confusion, I was really responding to the original post,
> > > specifically:
>
> > > > So, the question:
> > > > Since I have followed every single tutorial I could find on the web
> > > > about installing Cake on IIS for the last 3 days (this includes me
> > > > testing if I could just put Apache on Windows which does not work) I
> > > > really have no other choice but to switch frameworks.
>
> > > And I'm just replying to let Christopher know that Windows + Apache +
> > > Mysql + PHP + Cake works great/fine for me and many others. I'm
> > > curious why he says "Apache on Windows does not work"...
>
> > > Wayn
>
> > > On 11/17/07, Baz <[EMAIL PROTECTED]> wrote:
>
> > > > I assumed he was trying to use PHP under IIS.
>
> > > > On Nov 17, 2007 5:06 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> > > > > I run Apache plus Cake and Mysql on Windows all the time. And
> > servers
> > > > > are generally Apache on Linux. I change the config file at the start
> > > > > of a new project, sync the rest over during development, and
> > > > > everything just works.
>
> > > > > Wayne
>
> > > > > On 11/17/07, Baz <[EMAIL PROTECTED]> wrote:
> > > > > > I say slap WAMP on there and call it a day :D.
>
> > > > > > Sorry dude, it does suck.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to