SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Sep 19, 2000, 12:08 #1
- 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
-
Sep 19, 2000, 12:39 #2
- 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.
-
Sep 19, 2000, 12:45 #3
- 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
-
Sep 19, 2000, 13:19 #4
- 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
-
Sep 22, 2000, 18:10 #5
- 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
-
Sep 22, 2000, 19:38 #6
- 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