M
M
MastaEx2010-10-12 09:59:37
PHP
MastaEx, 2010-10-12 09:59:37

Mod_auth_sspi crashes php in a weird way. How to be?

Hi, I've run into this problem.
The intranet site uses mod_auth_sspi to authorize users in the domain.
On some requests, php started to crash with the following error:
Warning: Attempt to assign property of non-object in D:\xampp\htdocs\info.php on line 5
Requests that are guaranteed to fail do nothing special. They create and send a rather heavy query to the database. But the trick is that the request is fully processed, the data is output to the browser. But the next request, even to the simplest code below, will already show an error, php is already crippled.
<?php
class Test {
public $blank;
public function testIt($val){
$this->blank=$val;
}
}
$test=new Test;
$test->testIt('some value');
Those. any access to class properties via $this causes an error. Apache restart helps.
I disable mod_auth_sspi and everything works like clockwork.
There are no errors in the apache logs.
I don't know what to do. I wrote to the project forum on sourceforge, but there is little hope for it.
The site is running under Windows Server 2003 R2 Standard Edition with XAMPP 1.7.3 (Apache 2.2.14, PHP 5.3.1)
ps As a last resort, can I somehow authorize in the domain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iscsi, 2010-10-12
@iscsi

We are using CAS .

P
pietrovich, 2010-10-12
@pietrovich

there is an opinion that the database is SQL Server, right? then take a closer look at the queries, if you have prints in them - very often they are the cause of all the troubles when trying to link php and sql server (firewood / or almost any). I also observed similar tricks when in queries there were subqueries that changed rows with an active counter of “victims” (i.e. without “set nocount on”). the driver then lost count of result sets. their opening and liberation, well, and his revenge began with terrible malice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question