Hi
I am using php4 on Win98. It is running quite successfully on PWS. I have also configured it to run with Apache. If I stop PWS and start Apache then same pages return "Invalid Page Fault by PHP4ts.dll".
What do I need to do?
Hi
I am using php4 on Win98. It is running quite successfully on PWS. I have also configured it to run with Apache. If I stop PWS and start Apache then same pages return "Invalid Page Fault by PHP4ts.dll".
What do I need to do?
After running Apache and PHP4 on a Windows98 machine for about 2 months without any problems, I could not run an php scripts. Htm's would work. After hours of searching I discoverd that Apache's httpd.conf had been modified. I replaced it back to what use to work but now I am gettin "Php caused an invalid page fault in module Php4ts.dll." This only occurs when a file is called from a subdirectory.
I am also getting, as reported in Apaches's error log, "Premature end of script headers: c:/php/php.exe."
Apparently I did reconfig httpd.conf correctly. I just can't find the problem.
It's driving me crazy. I can't finish testing a major project that I have many hours invested in. Sure would appreciate some help.
This may or may not help,
but I was getting Apace errors when I was testing a logout function on the index page.
Here's the function I was testing.
function session_clear() {
// if session exists, unregister all variables that exist and destroy session
$exists = "no";
$session_array = explode(";",session_encode());
for ($x = 0; $x < count($session_array); $x++) {
$name = substr($session_array[$x], 0, strpos($session_array[$x],"|"));
if (session_is_registered($name)) {
session_unregister('$name');
$exists = "yes";
}
}
if ($exists != "no") {
session_destroy();
}
}
Once I removed the call to this function, I stopped getting errors...
hope this helps,
steve