Results 1 to 16 of 16

Thread: PHP & MySQL in Windows Or Linux

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Location
    Malaysia
    Posts
    108

    Cool PHP & MySQL in Windows Or Linux

    Hi...
    which one is easier windows platform or Linux.

  2. #2
    Windows is always easier, Linux is always more stable.

  3. #3
    Member
    Join Date
    Apr 2002
    Posts
    52
    you'd prolly want to use Windows as your development box and Linux as your Production box. (i m assuming since this is in the php forum, you want to deploy php apps...)

  4. #4
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by thexchord
    i m assuming since this is in the php forum, you want to deploy php apps...
    Perhaps you could read the subject and stop assuming?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  5. #5
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    to sintz

    I would go with the Linux/Apache/PHP/MySQL
    Why? Becuase you don't need to set anything up.

    If you use Windows/Apache/PHP/MySQL you will spend over an hour configuring config files for the technologies to work together!

    I also recommend them for linux because that is what they were built for... they are just "ported" to windows. Apache for windows isn't as good as apache for linux... that is just a fact.

    Another note: If you get it for windows you will have to download the files... everything should come with your linux distrobution.

    Another note2: The windows version of apache I used produced a "dos" box when it ran. In linux it runs in the background so you can do other stuff unlike the windows version.

    I hope that helps,
    Brandito
    Master of Cyber Fu - A Temple of Digital Chi

  6. #6
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294
    Apache will run in the "background" on windows nt/2k/xp as a service. It took me a lot less than an hour to install apache & mysql & php and get them all working together. I agree with turtle and thexchord that developing in windows is definitly the way to go. It's not like the code needs to be changed to make it work on a linux box. And the stability of Apache in windows doesnt matter if you are just developing apps on it, not serving them.

  7. #7
    scoutt
    Guest

    Re: to sintz

    Originally posted by Brandito
    I would go with the Linux/Apache/PHP/MySQL
    Why? Becuase you don't need to set anything up.

    If you use Windows/Apache/PHP/MySQL you will spend over an hour configuring config files for the technologies to work together!

    I also recommend them for linux because that is what they were built for... they are just "ported" to windows. Apache for windows isn't as good as apache for linux... that is just a fact.

    Another note: If you get it for windows you will have to download the files... everything should come with your linux distrobution.

    Another note2: The windows version of apache I used produced a "dos" box when it ran. In linux it runs in the background so you can do other stuff unlike the windows version.

    I hope that helps,
    Brandito
    Brandito: man were you misinformed.

    it takes about 10 min to install apache and everything and get it running. and you don't have to have the dos window up when apache is running. depends on the install

    not all the stuff comes with linux, some you have to manually install from RPMs. Apache for windows has come a long way and is almost as secure as the *nix version.

  8. #8
    In fact I believe the ASF has said that Apache 2 is just as good on Win32 as on 'nix.

  9. #9
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    who'z yo daddy!

    Scoutt...

    >>it takes about 10 min to install apache and everything and get it running

    On Windows... That is total crap! I am not even going to acknowledge that.
    alwsid: if you can get everything configured correctly, since it wont do it for you, in under 10 minutes... let me know!

    >>and you don't have to have the dos window up when apache is running. depends on the install
    alwsid: expect "that install".

    >>not all the stuff comes with linux
    I dont know of any major distribution that it doesn't come with.
    example: Mandrake, Red Hat, Suse...
    sure... if you run some home made distro by some teen hacker group like DarkLinux... it might not come with it. But if you get a respectable distro... it will be there.
    Scoutt: name a distro? And don't say "Lindows". lol.

    >>Apache for windows has come a long way and is almost as secure as the *nix version.
    1) The server is only as secure as the OS... hermm
    2) I was not talking about security. Speed and stabability are the issues I was talking about. Sure they are getting "better".. but bottom line... they still aren't as good.

    linux up, windows down...
    Brandito
    Master of Cyber Fu - A Temple of Digital Chi

  10. #10
    scoutt
    Guest

    Re: who'z yo daddy!

    Originally posted by Brandito
    Scoutt...

    >>it takes about 10 min to install apache and everything and get it running

    On Windows... That is total crap! I am not even going to acknowledge that.
    alwsid: if you can get everything configured correctly, since it wont do it for you, in under 10 minutes... let me know!

    >>and you don't have to have the dos window up when apache is running. depends on the install
    alwsid: expect "that install".

    >>not all the stuff comes with linux
    I dont know of any major distribution that it doesn't come with.
    example: Mandrake, Red Hat, Suse...
    sure... if you run some home made distro by some teen hacker group like DarkLinux... it might not come with it. But if you get a respectable distro... it will be there.
    Scoutt: name a distro? And don't say "Lindows". lol.

    >>Apache for windows has come a long way and is almost as secure as the *nix version.
    1) The server is only as secure as the OS... hermm
    2) I was not talking about security. Speed and stabability are the issues I was talking about. Sure they are getting "better".. but bottom line... they still aren't as good.

    linux up, windows down...
    Brandito
    oh we can argue,

    I don't care if you think it is crap or not. all you have to change is like 5 lines and if you know exactly which ones those are you are done before you know it. and php.ini file is almost the same, 5 lines or so. but if you save your ini and conf file you can do it like in 1 minute I'm almost sure that other people on here can install it in the same amount of time.

    I installed Mandrake 8.2 and I had to installl apache and mysql and php. sure it comes with it and on the cd's, but I had to manually install it.

  11. #11
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I have to agree with scoutt. I just downloaded (redownloaded) Apache and PHP two days ago because I formatted my computer and it took me under 10 minutes to configure both. Right now I'm downloading MySQL and that's just two button clicks to get it installed and working.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Location
    Malaysia
    Posts
    108

    Cool

    Thank you for all the response...

    for me i think windows platform much easier than linux, because in linux ( Slackware 8.0 ) everything php and mysql running under
    like dos mode. Thats mean we still use the command.
    But under the windows platform we can create database mysql very fast using DBTools and from that we can generate php code using the wizard. may be for the next time DBTools will add more new features for all the windows users and may help we to develope as easy 1,2,3.

  13. #13
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    aaauughhhh

    no linux

    Linus... I tried. You know I did. But the evil that is Micro$oft has prevailed again.

    But mark my words "unrelenting evil will fall upon you"... if you stick with the microsoft os. Evil I say, Evil!

    a bad linux evangelist,
    Brandito
    ps: ... evil!
    Master of Cyber Fu - A Temple of Digital Chi

  14. #14
    Member
    Join Date
    Apr 2002
    Posts
    52
    don't lose heart brandito

    i don't agree with just one thing said here - it *does* take more than 10 mins and maybe even more than an hour for someone new to the platform to know what basic lines to change in the ini/conf files to setup.



    that said - why deprive developers of the beautiful windows gui (ok, don't puke already!) etc? Develop on windows, do logic QA tests there. Then deploy on a Production linux box and do the remaining performance/load/stress testing etc.. and live appily ever after.


    Hobo: i happen to ignore most subjects on the thread page actually

  15. #15
    scoutt
    Guest
    you actually can't say that. if a user was new to linux it would take many hours just to set linux up, let alone still have to know what lines to change for apache to work. and yes you still have to change them as well. I did for my first time. same goes for the windows version of apache.

    if the user was new to any platform it would take awhile, but I can alomst garuanteed there are more windows apche users then anyhting else. so with that said there is always somebody to help the newbie out or give him thiere conf files.

    as for the newbie to any platform, they are pretty stupid to tackle a new OS and go straight to apache and php and write code.

  16. #16
    New Member
    Join Date
    Jul 2002
    Posts
    2

    Re: PHP & MySQL in Windows Or Linux

    Originally posted by alwsid
    Hi...
    which one is easier windows platform or Linux.
    How familiar are you with each platform? Long-time Windows users usually have a hard time (at first) with Linux.

    Personally, I've been using Linux long enough now that I do all my development work on it. I find it vastly simpler to work on than Windows.

    It was not always this way for me, but I found taking the time to learn Linux was worthwhile.

    So it boils down to: how much do you know and how much effort do you want to put in to learning what you don't know?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width