PDA

View Full Version : Weird PHP errors


goldfish
07-18-04, 08:20
Okay, so I've set up PHP on my new upgraded server... its version 4.3.8, along with MySQL version 4.0 (production release).

I'm getting some really odd errors. First, I got :

The specified module could not be found.

That was it. No details of WHAT module couldn't be found... or where it was looking for it. So to fix that I copied the php4ts.dll file to system32. Seemed to work. Now, when i try to access the website that previously worked, I get this :

Invalid access to memory location.
and

PHP has encountered an Access Violation at 016E3B5E


I'm using the ISAPI module... I'm considering trying the CGI executable, but I really don't want to do that. I've googled the errors, and all I've got is bug reports and other people who've found it and got confused.

goldfish
07-18-04, 09:03
Never mind, sorted it out.

It was because i was pointing to the ISAPI file in the C:\php directory not system32.

Website properties -> Home directory -> Configuration -> find .php -> change from C:\php\sapi\php4isapi.dll to c:\WINDOWS\system32\php4isapi.dll . (make sure the file is actually there too..) and uncheck Verify that file exists.