Installation of php and mysql

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dung Ping

    Installation of php and mysql

    My attempt to install php and mysql to my computer failed. There are
    errors with both installations. I believe the problem is with my
    computer or the Windows XP in it. My computer is an old and cheap
    laptop Dell. It has been in trouble for a long time.

    I've been learning php on my web site for some time, and wonder
    whether or not I can do mysql on web site without installing the
    software to computer.

    Thanks.
    Dung Ping

  • Erwin Moller

    #2
    Re: Installation of php and mysql

    Dung Ping wrote:
    [color=blue]
    > My attempt to install php and mysql to my computer failed. There are
    > errors with both installations. I believe the problem is with my
    > computer or the Windows XP in it. My computer is an old and cheap
    > laptop Dell. It has been in trouble for a long time.
    >
    > I've been learning php on my web site for some time, and wonder
    > whether or not I can do mysql on web site without installing the
    > software to computer.
    >
    > Thanks.
    > Dung Ping[/color]

    Well, this kind of questions will get you nowhere.
    XP sucks, we know that all, but the reason your installation is not ok could
    very well be your fault. Hard to say.
    Why did they fail?
    What did you get going and what not?
    Which installguide did you follow?
    Did you read what php says about installing on www.php.net?
    Did you install ISAPI or CGI?
    Did you add the needed configuration to the IIS?
    etc. etc.

    Get the picture?
    How can we help if you just say it doesn't work??

    Regards,
    Erwin Moller

    Comment

    • Jeff North

      #3
      Re: Installation of php and mysql

      On 8 Dec 2005 16:31:06 -0800, in comp.lang.php "Dung Ping"
      <dungping5@yaho o.com> wrote:
      [color=blue]
      >| My attempt to install php and mysql to my computer failed. There are
      >| errors with both installations. I believe the problem is with my
      >| computer or the Windows XP in it. My computer is an old and cheap
      >| laptop Dell. It has been in trouble for a long time.[/color]

      If the machine is unreliable then I suggest that you backup all your
      files. Reformat the hard drive and reinstall all your software. (You
      machine will probably run faster too).

      You also don't say whether it is XP Home or XP Pro. XP Home doesn't
      come with IIS (web server).
      [color=blue]
      >| I've been learning php on my web site for some time, and wonder
      >| whether or not I can do mysql on web site without installing the
      >| software to computer.
      >|
      >| Thanks.
      >| Dung Ping[/color]
      ---------------------------------------------------------------
      jnorthau@yourpa ntsyahoo.com.au : Remove your pants to reply
      ---------------------------------------------------------------

      Comment

      • Dung Ping

        #4
        Re: Installation of php and mysql

        Erwin Moller wrote:[color=blue]
        > Dung Ping wrote:
        >[color=green]
        > > My attempt to install php and mysql to my computer failed. There are
        > > errors with both installations. I believe the problem is with my
        > > computer or the Windows XP in it. My computer is an old and cheap
        > > laptop Dell. It has been in trouble for a long time.
        > >
        > > I've been learning php on my web site for some time, and wonder
        > > whether or not I can do mysql on web site without installing the
        > > software to computer.
        > >
        > > Thanks.
        > > Dung Ping[/color]
        >
        > Well, this kind of questions will get you nowhere.
        > XP sucks, we know that all, but the reason your installation is not ok could
        > very well be your fault. Hard to say.
        > Why did they fail?
        > What did you get going and what not?
        > Which installguide did you follow?
        > Did you read what php says about installing on www.php.net?
        > Did you install ISAPI or CGI?
        > Did you add the needed configuration to the IIS?
        > etc. etc.
        >
        > Get the picture?
        > How can we help if you just say it doesn't work??[/color]

        Thanks all for help. My OS is Windows XP home version. The PHP is
        downloaded from www.php.net. After downloading the files, an icon, 'PHP
        5.1.1. Installer', appears on the desktop. I click it, and follow the
        steps through. After the installing starts for a while, a message
        appears on the monitor. It reads:

        Error trying access the local web service: GetObject failed. You will
        need to manually configure IIS via management console.

        But when clicking OK, I am told that the installation has completed. I
        don't think so. If yes, another icon should appear on the desktop.

        Thanks again.
        Dung Ping
        [color=blue]
        >
        > Regards,
        > Erwin Moller[/color]

        Comment

        • Jonathan N. Little

          #5
          Re: Installation of php and mysql

          Dung Ping wrote:[color=blue]
          > Erwin Moller wrote:
          >[color=green]
          >>Dung Ping wrote:
          >>
          >>[color=darkred]
          >>>My attempt to install php and mysql to my computer failed. There are
          >>>errors with both installations. I believe the problem is with my
          >>>computer or the Windows XP in it. My computer is an old and cheap
          >>>laptop Dell. It has been in trouble for a long time.
          >>>
          >>>I've been learning php on my web site for some time, and wonder
          >>>whether or not I can do mysql on web site without installing the
          >>>software to computer.
          >>>
          >>>Thanks.
          >>>Dung Ping[/color]
          >>
          >>Well, this kind of questions will get you nowhere.
          >>XP sucks, we know that all, but the reason your installation is not ok could
          >>very well be your fault. Hard to say.
          >>Why did they fail?
          >>What did you get going and what not?
          >>Which installguide did you follow?
          >>Did you read what php says about installing on www.php.net?
          >>Did you install ISAPI or CGI?
          >>Did you add the needed configuration to the IIS?
          >>etc. etc.
          >>
          >>Get the picture?
          >>How can we help if you just say it doesn't work??[/color]
          >
          >
          > Thanks all for help. My OS is Windows XP home version. The PHP is
          > downloaded from www.php.net. After downloading the files, an icon, 'PHP
          > 5.1.1. Installer', appears on the desktop. I click it, and follow the
          > steps through. After the installing starts for a while, a message
          > appears on the monitor. It reads:
          >
          > Error trying access the local web service: GetObject failed. You will
          > need to manually configure IIS via management console.[/color]

          Sounds like your do /not/ have a webserver. Since you are running XP
          Home a consumer based workstation OS a webserver is not installed by
          default. You need some sort of a webserver installed before this will work.

          --
          Take care,

          Jonathan
          -------------------
          LITTLE WORKS STUDIO

          Comment

          • Erwin Moller

            #6
            Re: Installation of php and mysql

            Dung Ping wrote:

            <snip>
            [color=blue]
            > Thanks all for help. My OS is Windows XP home version.[/color]

            Ok, that is your problem.
            While XP sucks in general, XP Home even sucks harder.
            For starters, it doesn't have IIS (a webserver).

            But, we also have good news.
            The good news is called Apache.
            It is a webserver, much better than IIS, much safer too.
            And it is open sourced, free. :-)

            Google for Apache, and start installing that thing.
            PHP can run under apache.
            And apache/php can use mysql.
            (You'll have to install mysql also of course)

            Be sure you read a bit first, as you may want to have database and php
            support compiled in too.

            If memory serves me well, under windows you only need to uncomment some dll
            in php.ini to get them available in Apache (like mysql and php).
            Be sure you read the documentation.

            Good luck.

            Regards,
            Erwin Moller

            Comment

            • Dung Ping

              #7
              Re: Installation of php and mysql

              Erwin Moller wrote:[color=blue]
              > Dung Ping wrote:
              >
              > <snip>
              >[color=green]
              > > Thanks all for help. My OS is Windows XP home version.[/color]
              >
              > Ok, that is your problem.
              > While XP sucks in general, XP Home even sucks harder.
              > For starters, it doesn't have IIS (a webserver).
              >
              > But, we also have good news.
              > The good news is called Apache.
              > It is a webserver, much better than IIS, much safer too.
              > And it is open sourced, free. :-)
              >
              > Google for Apache, and start installing that thing.
              > PHP can run under apache.
              > And apache/php can use mysql.
              > (You'll have to install mysql also of course)
              >
              > Be sure you read a bit first, as you may want to have database and php
              > support compiled in too.
              >
              > If memory serves me well, under windows you only need to uncomment some dll
              > in php.ini to get them available in Apache (like mysql and php).
              > Be sure you read the documentation.[/color]

              My sincere appreciation again. I will try to install apache first,
              then php and mysql.

              Regards,
              Dung Ping[color=blue]
              >
              > Good luck.
              >
              > Regards,
              > Erwin Moller[/color]

              Comment

              • Jonathan N. Little

                #8
                Re: Installation of php and mysql

                Dung Ping wrote:[color=blue]
                > Erwin Moller wrote:
                >[color=green]
                >>Dung Ping wrote:
                >>
                >><snip>
                >>[color=darkred]
                >>>Thanks all for help. My OS is Windows XP home version.[/color]
                >>
                >>Ok, that is your problem.
                >>While XP sucks in general, XP Home even sucks harder.
                >>For starters, it doesn't have IIS (a webserver).
                >>
                >>But, we also have good news.
                >>The good news is called Apache.
                >>It is a webserver, much better than IIS, much safer too.
                >>And it is open sourced, free. :-)
                >>
                >>Google for Apache, and start installing that thing.
                >>PHP can run under apache.
                >>And apache/php can use mysql.
                >>(You'll have to install mysql also of course)
                >>
                >>Be sure you read a bit first, as you may want to have database and php
                >>support compiled in too.
                >>
                >>If memory serves me well, under windows you only need to uncomment some dll
                >>in php.ini to get them available in Apache (like mysql and php).
                >>Be sure you read the documentation.[/color]
                >
                >
                > My sincere appreciation again. I will try to install apache first,
                > then php and mysql.
                >[/color]

                Apache is not to hard to setup, setup is done in a set of *.conf files
                which are very heavily commented, the manuals is not too bad either ;-)


                --
                Take care,

                Jonathan
                -------------------
                LITTLE WORKS STUDIO

                Comment

                • Mark ??;-\)

                  #9
                  Re: Installation of php and mysql

                  If you just want a working setup quickly, do yourself a favor and just
                  install WAMP. Works right out of the box, no config necessary. Once you
                  are more comfortable you can install the individual components. But you
                  will need a web server (Apache, IIS), PHP, and MySQL.

                  -Mark

                  "Dung Ping" <dungping5@yaho o.com> wrote in message
                  news:1134088266 .120315.220350@ g14g2000cwa.goo glegroups.com.. .[color=blue]
                  > My attempt to install php and mysql to my computer failed. There are
                  > errors with both installations. I believe the problem is with my
                  > computer or the Windows XP in it. My computer is an old and cheap
                  > laptop Dell. It has been in trouble for a long time.
                  >
                  > I've been learning php on my web site for some time, and wonder
                  > whether or not I can do mysql on web site without installing the
                  > software to computer.
                  >
                  > Thanks.
                  > Dung Ping
                  >[/color]


                  Comment

                  Working...