Click to See Complete Forum and Search --> : install - module not functioning


frock
05-07-2001, 08:27 AM
hi,

(windows 98, apache 1.3.19, php4 (zip file))

well i've got apache running o.k., but when i add

LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php-source .phps

to httpd.conf i get:

"cannot load: c:/php/sapi/php4apache.dll into server : (31) a device attached to the system is not functioning".

is anyone else getting this and is there a solution? php.ini looks correct, all
the dlls have been put where i was told to put them. if anyone can point me to or send me moron-friendly install instructions i'd appreciate it.


jason

okstart
05-07-2001, 10:54 AM
copy php4ts.dll and lib file on Windows system32 directory

C:/php/php4ts.dll and php4ts.lib

frock
05-08-2001, 06:33 AM
i've done it but to no avail. same error message. i'm running a relatively common setup - surely someone else has had the same experience...

okstart
05-15-2001, 09:48 PM
check it

run php.exe

error message odbc error..

this page http://www.microsoft.com/data/

download MDAC (Microsoft Data Access Components)

Anon
08-13-2001, 05:50 AM
okstart, you rock

Anon
02-14-2002, 09:40 AM
I have solve this problem by changing the set the line to:
LoadModule php4_module c:/php/php4apache.dll

In the installation text it is pointing on c:/php/sapi/php4apache.dll

In some way, it cant load the dll from this directory. So I did copy the file to c:\php

And now it is function!

// Patrik