Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Linux + PHP + MySQL -> Open Source

Linux + PHP + MySQL -> Open Source

Scheduled Pinned Locked Moved The Lounge
phpperlapachedatabasemysql
17 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Masaaki Onishi

    Hello, the codegurus around the world.;) My Linux box is still compiling the code of PHP4 like Perl. So, I have a little time to say that Linux is better than Microsoft stuffs on some points. My box has CPU 133 and 32 MB memory, but can run the database server (MySQL) and the web server (Apache), DHCP server and more for my interest. I can't do the same thing by Windows 2000 server by my old old computer. Besides, these MySQL, Apache, DHCP server, PHP source codes are free even though these code are so huge and tough to understand. X| I may become to a little understand why Open Source projects make some ppl interested, and Open Source project expands the market share of Server, Database server and more.:cool: Humm, my Linux box is still compiling the code of PHP, and I can't go to bed now until it is done.:(( So, today, I just try to execute Hello.php, but it didn't work. So, I need PHP module. X|

    //Hello world by PHP.
    < ?php
    print "Hello world by PHP!";
    ?>

    Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

    -Masaaki Onishi-

    T Offline
    T Offline
    Tim Smith
    wrote on last edited by
    #8

    For webservers, I use FreeBSD. But I won't start a FreeBSD vs. Linux war even though we all know that FreeBSD is a much better professional webserver OS. :laugh: (FYI: Pulling your leg, but I really do use FreeBSD) Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

    1 Reply Last reply
    0
    • P Paul Ingles

      I'll agree with you on some points :) Linux is a great O/S. Just to show that I'm a real code monkey I've already been going through some of the kernel code to get an idea about how its scheduling works etc. It is really interesting to learn this kinda thing. I recently had to rebuild a Linux server which I thought would take forever, in the end I had it up and running, complete with updated compiles of Apache, MySQL, Sendmail, PHP etc. within a couple of hours. Not only that, but for what I've been using it for (relatively simple network appliance) performance and reliability is excellent, up-time has been absolute until I came in and messed things up :) I tried using Windows 2000 Server's routing to do the same thing, but the performance was appalling in comparison (on a much higher spec unit) -- this could be down to hardware conflicts but I didn't have time to solve it. However, I would point out weaknesses. Although MySQL is extremely fast for simple queries (and returning data especially) it doesn't yet have the performance of any of the commercial packages with regards to more complicated applications. It will be interesting to see how MySQL Max performs in comparison, in fact I might go grab that now and give it a whirl :) Although PHP is good I have to stand by ASP.NET as the web platform to be on :) We finally have the benefit of a C style language (C#) to develop pages, but you can now develop assemblies in MC++ too. It really does rock immensely :-D I'm definitely going to install it on another machine that I can play around with, start compiling the kernel myself and applying all these intrusion detection patches to see what they do! It's an incredibly educational operating system, and one I really enjoy using. However, I'm still sticking with Visual Studio for development, ASP.NET for web apps, and Office -- X Windows is always too sluggish for my liking. And I've not seen a version of Half Life for Linux yet! -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #9

      I don't really think PHP was meant to be a web-app-framework (e.g. Asp.Net). If you're looking for the OSS "equivilent" of Asp.Net, check out http://jakarta.apache.org[^] with the struts framework at http://struts.apache.org[^]. OTOH, I will say that I am far more pro-Windows than I ever used to be. OSS /might/ succeed, on a long enough timeline - I liken it to evolution; it will beat anything else out there, given enough time. (I'm talking decades, IMO.) However, in the short and medium(?) term (next 50 years), like any project it will suffer severely from lack of solid direction. evilpen dot net::msn messenger:negacao@hotmail.com

      P 1 Reply Last reply
      0
      • V Victor Vogelpoel

        Masaaki Onishi wrote: //Hello world by PHP. < ?php print "Hello world by PHP!"; ?> Eh, you've got one space between "<" and "?php". PHP won't recognize this. Also, your comments should be WITHIN the block! If anyone wants to try or develop PHP using Apache and MySQL on Windows, there are several install packages available on the internet. I'm using the Firepages package: http://www.firepages.com.au[^]. VictorV

        M Offline
        M Offline
        Masaaki Onishi
        wrote on last edited by
        #10

        Hello, the codegurus around the world.;) Thank you for your suggestions. In fact, if I didn't put the space between < and ?, the display is something below.

        So, I need the space, but I should have commented it. Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

        -Masaaki Onishi-

        1 Reply Last reply
        0
        • L Lost User

          I don't really think PHP was meant to be a web-app-framework (e.g. Asp.Net). If you're looking for the OSS "equivilent" of Asp.Net, check out http://jakarta.apache.org[^] with the struts framework at http://struts.apache.org[^]. OTOH, I will say that I am far more pro-Windows than I ever used to be. OSS /might/ succeed, on a long enough timeline - I liken it to evolution; it will beat anything else out there, given enough time. (I'm talking decades, IMO.) However, in the short and medium(?) term (next 50 years), like any project it will suffer severely from lack of solid direction. evilpen dot net::msn messenger:negacao@hotmail.com

          P Offline
          P Offline
          Paul Ingles
          wrote on last edited by
          #11

          Kristopher wrote: I don't really think PHP was meant to be a web-app-framework Very true :) One thing I would say was that until ASP.NET was released, PHP had far more functionality built in, support for SMTP/IMAP/NNTP/Sockets etc. Anything like that would have involved opening up VB for some COM fun. ASP.NET is now hugely functional thanks to the .NET framework, and for that I am grateful :) -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446

          1 Reply Last reply
          0
          • P Paul Ingles

            I'll agree with you on some points :) Linux is a great O/S. Just to show that I'm a real code monkey I've already been going through some of the kernel code to get an idea about how its scheduling works etc. It is really interesting to learn this kinda thing. I recently had to rebuild a Linux server which I thought would take forever, in the end I had it up and running, complete with updated compiles of Apache, MySQL, Sendmail, PHP etc. within a couple of hours. Not only that, but for what I've been using it for (relatively simple network appliance) performance and reliability is excellent, up-time has been absolute until I came in and messed things up :) I tried using Windows 2000 Server's routing to do the same thing, but the performance was appalling in comparison (on a much higher spec unit) -- this could be down to hardware conflicts but I didn't have time to solve it. However, I would point out weaknesses. Although MySQL is extremely fast for simple queries (and returning data especially) it doesn't yet have the performance of any of the commercial packages with regards to more complicated applications. It will be interesting to see how MySQL Max performs in comparison, in fact I might go grab that now and give it a whirl :) Although PHP is good I have to stand by ASP.NET as the web platform to be on :) We finally have the benefit of a C style language (C#) to develop pages, but you can now develop assemblies in MC++ too. It really does rock immensely :-D I'm definitely going to install it on another machine that I can play around with, start compiling the kernel myself and applying all these intrusion detection patches to see what they do! It's an incredibly educational operating system, and one I really enjoy using. However, I'm still sticking with Visual Studio for development, ASP.NET for web apps, and Office -- X Windows is always too sluggish for my liking. And I've not seen a version of Half Life for Linux yet! -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446

            M Offline
            M Offline
            Masaaki Onishi
            wrote on last edited by
            #12

            Hello, the codegurus around the world.;) I also believe that PHP must not be powerful Internet language that ASP and ASP.NET does. However, the programmer point of view on Linux and Windows, PHP can be used on both Linux and Windows as far as I understand. Even though some Perl modules can use ASP code on Linux, I'm not sure how stable this is. I mean, if I have to write some script on both Linux and Windows, I don't want to use ASP (ASP.NET) since I have to work another language on Linux. (So waste my time?) X| I also want to know the source code of how PHP works on Web Server. We never know how ASP and ASP.NET work on Web Server on the level of the source code. Last, this is only my interest, so if I'm in the commercial project, I'm not sure how I do.:confused: Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

            -Masaaki Onishi-

            1 Reply Last reply
            0
            • M Marc Clifton

              I refuse to use MySQL because it doesn't support referential integrity (as of last check). This is an invaluable capability to ensure that data is being managed correctly. It seems there are two very vocal camps on this issue, and I'm certainly fixed in one of them myself! Marc

              M Offline
              M Offline
              Masaaki Onishi
              wrote on last edited by
              #13

              Hello, the codegurus around the world. Marc Clifton wrote: I refuse to use MySQL because it doesn't support referential integrity (as of last check). I heard that Yahoo used to make some test of MySQL, but Yahoo gave up using MySQL since it has some problem to process the huge numbe of access. But, if we want to know the source code of the database server, and we need the cheap cross-platform database server, MySQL must be one of them. (But, maybe it take more time to compete with Oracle and SQL Server.) X| Besides, this is the open source project, so any ppl have the chance to reflect our own idea. Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

              -Masaaki Onishi-

              T M 2 Replies Last reply
              0
              • M Masaaki Onishi

                Hello, the codegurus around the world. Marc Clifton wrote: I refuse to use MySQL because it doesn't support referential integrity (as of last check). I heard that Yahoo used to make some test of MySQL, but Yahoo gave up using MySQL since it has some problem to process the huge numbe of access. But, if we want to know the source code of the database server, and we need the cheap cross-platform database server, MySQL must be one of them. (But, maybe it take more time to compete with Oracle and SQL Server.) X| Besides, this is the open source project, so any ppl have the chance to reflect our own idea. Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

                -Masaaki Onishi-

                T Offline
                T Offline
                Tim Smith
                wrote on last edited by
                #14

                I heard that Yahoo used to make some test of MySQL, but Yahoo gave up using MySQL since it has some problem to process the huge numbe of access. Hold it. Since Yahoo has the source to MySQL, why didn't they just make it do what they needed? :) Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

                S 1 Reply Last reply
                0
                • T Tim Smith

                  I refuse to use MySQL because it doesn't support referential integrity (as of last check). :wtf: Isn't that one of the major requirements for a relational database? Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #15

                  Well, that's what I thought! But there seems to be a large camp of programmers that feel that integrity checking should be handled on the application side, as well as cascading deletes. Go figure. Marc

                  1 Reply Last reply
                  0
                  • M Masaaki Onishi

                    Hello, the codegurus around the world. Marc Clifton wrote: I refuse to use MySQL because it doesn't support referential integrity (as of last check). I heard that Yahoo used to make some test of MySQL, but Yahoo gave up using MySQL since it has some problem to process the huge numbe of access. But, if we want to know the source code of the database server, and we need the cheap cross-platform database server, MySQL must be one of them. (But, maybe it take more time to compete with Oracle and SQL Server.) X| Besides, this is the open source project, so any ppl have the chance to reflect our own idea. Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

                    -Masaaki Onishi-

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #16

                    Requirements force compromises, I suppose.

                    1 Reply Last reply
                    0
                    • T Tim Smith

                      I heard that Yahoo used to make some test of MySQL, but Yahoo gave up using MySQL since it has some problem to process the huge numbe of access. Hold it. Since Yahoo has the source to MySQL, why didn't they just make it do what they needed? :) Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

                      S Offline
                      S Offline
                      Senkwe Chanda
                      wrote on last edited by
                      #17

                      Tim Smith wrote: Hold it. Since Yahoo has the source to MySQL, why didn't they just make it do what they needed :laugh::laugh: You're sly Tim, very sly. Good one. :) ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups