Question about classes on Apache

Question about classes on Apache

am 30.09.2007 20:54:57 von scott

Pardon my newb question,

Is there an equivalent of regsvr32 in UNIX? I am having a problem with what
appears to be failure to instantiate classes on Apache. For example, I get:

Unknown MySQL server host 'DB_SERVER' (11001) in D:\...\dbclass.php on
line 12

It was supposed to be set in config with : define
("DB_SERVER","localhost");

This is a "working" app that I am trying to host, so I ASSume that the
problem is in the web server environment and not the code. It just isn't
evaluating DB_SERVER.

Does this ring any bells for anyone?

Thanks, Scott

Re: Question about classes on Apache

am 30.09.2007 21:54:33 von unknown

Post removed (X-No-Archive: yes)

Re: Question about classes on Apache

am 01.10.2007 02:38:57 von scott

Thanks, Davide.

Maybe this was a bad example. I meant to demonstrate an error that I don't
think is coming from the web app, but rather failure to build the class that
would pass the value. From what I know of COM, I would have expected this
to be causal in my example, but now it doesn't sound like it.

I am looking for more general info on server side objects, and the
equivanent of an ASP Server.CreateObject call. I have read the apache docs
regarding SSI, and CGI execution, but I am fairly cludeless as to what else
may be out there.

I am reading as much as possible, but any additional pointers in this area
would be greatly appreciated.

Thanks again, Scott


"Davide Bianchi" wrote in message
news:slrnffvvop.37o.davideyeahsure@fogg.onlyforfun.net...
> On 2007-09-30, Scott wrote:
>> Is there an equivalent of regsvr32 in UNIX?
>
> No.
>
>> appears to be failure to instantiate classes on Apache.
>
> Apache is a Web Server, it doesn't instantiate classes.
>
>> Unknown MySQL server host 'DB_SERVER' (11001) in D:\...\dbclass.php on
>> line 12
>
> That's PHP, not Apache. I suggest you ask on a php related group.
>
>> This is a "working" app that I am trying to host, so I ASSume that the
>> problem is in the web server environment and not the code.
>
> Ask the developers.
> Davide
>
> --
> "Harry very carefully read the manual - four times - because Snape would
> cut off his breathing privs if he asked him a question that the manual
> could answer..."
> -- Jim quotes Harry Potter and the Book Of The BOFH