Odd behavior installing extension

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ben Hallert

    Odd behavior installing extension

    Hi there!

    I've set up PHP 5.0.5.5 on an Windows 2003 system running IIS (yes yes,
    have I considered Apache? Unable, other factors at play).

    I wrote a simple test PHP that does nothing but phpinfo(), and it works
    great. The moment I activate mysql support, trying to execute the
    script results in a perpetual wait until timeout.

    I have read http://www.php.net/manual/en/install...extensions.php

    My libmysql.dll is accessible to paths (copied to \Windows\ as
    experiment to make sure.

    My extensions_dir is pointed at my ext dir, and if I insert gibberish
    into it, launching PHP gives an error, so I know PHP has found and
    parsed the file.

    The crux is that things go to heck when I uncomment
    extension=php_m ysql.dll. Trying to run the test.php halts and goes no
    further. If I comment that out again, everything works fine (except,
    of course, for mysql).

    Any thoughts? I hope I haven't left out anything boneheaded.

    Regards,

    Ben Hallert

  • Joshie Surber

    #2
    Re: Odd behavior installing extension

    > have I considered Apache? Unable, other factors at play)

    Tell the "other factors" to cram it up their collective asses. Install
    Linux or BSD while you are at it. :-)

    Is everything (PHP and MySQL) compatable with your older OS? That would
    be the first thing I would check. Maybe compiling PHP --with-mysql
    under Cygwin would work. I'm not sure (I haven't used Windoze in years,
    and never as a server) but it seems worth a try.

    Sorry I couldn't be much help, but do consider my first suggestion. :-)

    Comment

    • Ben Hallert

      #3
      Re: Odd behavior installing extension

      >Tell the "other factors" to cram it up their collective asses. Install[color=blue]
      >Linux or BSD while you are at it. :-)[/color]

      I wish that it were so easy to solve, but two things prevent this. One
      is that the server is a shared machine with lots of hosted ASP that I
      quite frankly can't spend the time to QA under a new environment, nor
      would be likely to engender much friendship during the transition.
      Another is that... something appears to be broken, and I'd hate to
      just walk away from it.

      That's why I'd like to know if anyone else has ever had a problem that
      stopped execution (without error messages) when they added an
      extension, or if anyone knew of this particular problem.

      Thanks!

      Ben Hallert

      Comment

      • Ben Hallert

        #4
        Re: Odd behavior installing extension

        Hello!

        I have a status update. The server is about 1,000 miles away, so I
        just now found out that there's been an error message generated on the
        console that wasn't visible over Terminal Services.

        "PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _mysql.dll'
        - Access is denied."

        In NT as an experiment, I gave Everyone read and execute permissions
        for the Ext directory, but that didn't seem to help.

        I searched the archives and found references to some people having this
        problem with Oracle8 extensions, but those were solved by installing
        the rest of the Oracle suite, a solution I don't imagine applies here.

        Any thoughts?

        Thanks!

        Ben Hallert

        Comment

        Working...