SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm just getting started with MySQL and PHP and am having trouble getting PHP to work under PWS. My machine runs W95.

    MySQL is working.
    PWS seems to be working. (I don't seem to have the recent version; [I have W95]. Do I need W98-2000 to get a newer PWS?)

    When I try to run PHP I get the message that the ODBC32.DLL is missing. Where can I find this where does it go?

    My setting for PHP are as follows.
    -----------------------------------
    The PWS-php4.reg file: >

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map]
    ".php"="D:\\Program Files\\Php\\php4isapi.dll"

    The phi.ini file: >

    magic_quotes_gpc=On
    doc_root=C:\Webshare\Wwwroot
    extension_dir=D:\PROGRA~1\PHP
    ---------------------------------

    I think these are the relevant settings. The message I get when trying to access a PHP file in my browser is: HTTP/1.0 500 Server Error (87)

    Is my problem the lack of the ODBC32.DLL? Have I got the other settings right?

    Any help is greatly appreciated,

    Thanks,

    Garry

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You need two things to make it work correctly on Windows 95. You need to instal DCOM for Windows 95 and ODBC. I know you can download DCOM from the Microsoft site but I am not sure about ODBC. Search for it in the downloads directory. If it does not show up then search for "MDAC" and download MDAC2.5 to install on your machine. The MDAC components will include ODBC.

    ODBC is also included in MS-ACCESS, MS-OFFICE and MS-Visual Studio.
    Wayne Luke
    ------------


  3. #3
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you,

    I have DCOM for W95 installed and will go search for the other files. I did look on the Microsoft site for the ODBC but couldn't find it. Will look harder.

    Thanks,

    Garry

  4. #4
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found the ODBC25.EXE file, downloaded it, and extracted it to the same directory the ODBC25.EXE. The ODBC32.DLL file is there. However, when I try to start the php.exe the same message 'obdc32.dll not found' appears. Do I need to copy the .dll's from the ODBC25.EXE file into my WINDOWS or SYSTEM directory?

    Sorry for the simple quewstions.

    Garry

  5. #5
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The file belongs in your C:\WINDOWS\SYSTEM directory.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  6. #6
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Everything is working. I downloaded the MDAC2.51 .exe, installed the components, and everything worked when I ran php after I changed a setting in the php.ini. file.

    Thanks a lot for your help.

    Garry


Bookmarks

Posting Permissions

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