Strange Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce A. Julseth

    Strange Error

    mysql is installed. I can use it from the command line.
    PHP is installed. I can use phpinfo();
    Apache works since I can display phpinfo() with it.

    So, I think I'm missing a config parameter somewhere and hoping someone can
    help me with that.

    Thanks...

    Bruce


  • Bent Stigsen

    #2
    Re: Strange Error

    Bruce A. Julseth wrote:[color=blue]
    > mysql is installed. I can use it from the command line.
    > PHP is installed. I can use phpinfo();
    > Apache works since I can display phpinfo() with it.
    >
    > So, I think I'm missing a config parameter somewhere and hoping someone can
    > help me with that.
    >
    > Thanks...
    >
    > Bruce[/color]

    Would depend on your OS-flavour.

    On a FC4 you would:
    - check if php-extension is installed:
    rpm -q php-mysql
    - If not installed, install it (hopefully yum is installed):
    yum install php-mysql

    It should be activated by default when installed, so that would be it.
    But you can check the ini files at /etc/php.d/


    There is some general installation notes for linux and windows at:



    /Bent

    Comment

    • Jerry Stuckle

      #3
      Re: Strange Error

      Bruce A. Julseth wrote:[color=blue]
      > mysql is installed. I can use it from the command line.
      > PHP is installed. I can use phpinfo();
      > Apache works since I can display phpinfo() with it.
      >
      > So, I think I'm missing a config parameter somewhere and hoping someone can
      > help me with that.
      >
      > Thanks...
      >
      > Bruce
      >
      >[/color]

      Bruce,

      As Malcom said - you need to load the php mysql module. Check your
      php.ini file for the correct extension. You can also google this
      newsgroup for solutions.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • Bruce A. Julseth

        #4
        Re: Strange Error


        "Bruce A. Julseth" <bruceaj removefirst@att global.net> wrote in message
        news:4324b933_4 @news1.prserv.n et...[color=blue]
        > mysql is installed. I can use it from the command line.
        > PHP is installed. I can use phpinfo();
        > Apache works since I can display phpinfo() with it.
        >
        > So, I think I'm missing a config parameter somewhere and hoping someone[/color]
        can[color=blue]
        > help me with that.
        >
        > Thanks...
        >
        > Bruce
        >
        >[/color]

        Thanks to all for the help. My problem is solved.

        I had c:\php in my path, but I needed c:\php\ext

        Thanks again.

        Bruce



        Comment

        Working...