problem with com and php

problem with com and php

am 14.04.2008 08:21:28 von sniffer

hi all,
i have this strange problem,
i am using apache2.2.x and php5.2.x ,i call a php script which makes a
call to a com component which in turn calls functions in a cdll this
used to work earlier till i changed my server,now when i execute the
script in question it reports that the cdll that the com object calls
can not be found where as both the dlls are in the same folder.

any suggestions ?


TIA

Re: problem with com and php

am 14.04.2008 13:25:44 von Jerry Stuckle

sniffer wrote:
> hi all,
> i have this strange problem,
> i am using apache2.2.x and php5.2.x ,i call a php script which makes a
> call to a com component which in turn calls functions in a cdll this
> used to work earlier till i changed my server,now when i execute the
> script in question it reports that the cdll that the com object calls
> can not be found where as both the dlls are in the same folder.
>
> any suggestions ?
>
>
> TIA
>

What are the permissions on the dll and com object? And even though
these files exist, what about files they depend on?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: problem with com and php

am 15.04.2008 06:04:00 von sniffer

On Apr 14, 4:25 pm, Jerry Stuckle wrote:
> sniffer wrote:
> > hi all,
> > i have this strange problem,
> > i am using apache2.2.x and php5.2.x ,i call a php script which makes a
> > call to a com component which in turn calls functions in a cdll this
> > used to work earlier till i changed my server,now when i execute the
> > script in question it reports that the cdll that the com object calls
> > can not be found where as both the dlls are in the same folder.
>
> > any suggestions ?
>
> > TIA
>
> What are the permissions on the dll and com object? And even though
> these files exist, what about files they depend on?
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

the system user has full control on these files,these dlls do not
depend on any other functionality except the base windows dll

Re: problem with com and php

am 15.04.2008 14:07:33 von Jerry Stuckle

sniffer wrote:
> On Apr 14, 4:25 pm, Jerry Stuckle wrote:
>> sniffer wrote:
>>> hi all,
>>> i have this strange problem,
>>> i am using apache2.2.x and php5.2.x ,i call a php script which makes a
>>> call to a com component which in turn calls functions in a cdll this
>>> used to work earlier till i changed my server,now when i execute the
>>> script in question it reports that the cdll that the com object calls
>>> can not be found where as both the dlls are in the same folder.
>>> any suggestions ?
>>> TIA
>> What are the permissions on the dll and com object? And even though
>> these files exist, what about files they depend on?
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> the system user has full control on these files,these dlls do not
> depend on any other functionality except the base windows dll
>

The system might have full control. But what about your web server's
userid (typically IUSR_machinename)? Are the dll's in your PATH?

But also, this isn't a PHP problem, but a windows setup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: problem with com and php

am 16.04.2008 07:00:51 von sniffer

On Apr 15, 5:07 pm, Jerry Stuckle wrote:
> snifferwrote:
> > On Apr 14, 4:25 pm, Jerry Stuckle wrote:
> >>snifferwrote:
> >>> hi all,
> >>> i have this strange problem,
> >>> i am using apache2.2.x and php5.2.x ,i call a php script which makes a
> >>> call to a com component which in turn calls functions in a cdll this
> >>> used to work earlier till i changed my server,now when i execute the
> >>> script in question it reports that the cdll that the com object calls
> >>> can not be found where as both the dlls are in the same folder.
> >>> any suggestions ?
> >>> TIA
> >> What are the permissions on the dll and com object? And even though
> >> these files exist, what about files they depend on?
>
> >> --
> >> ==================
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> ==================
>
> > the system user has full control on these files,these dlls do not
> > depend on any other functionality except the base windows dll
>
> The system might have full control. But what about your web server's
> userid (typically IUSR_machinename)? Are the dll's in your PATH?
>
> But also, this isn't a PHP problem, but a windows setup.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
i am using apache2.2.x and php5.2.x as i mentioned in my earlier post

Re: problem with com and php

am 16.04.2008 11:26:08 von Captain Paralytic

On 16 Apr, 05:00, sniffer wrote:
> On Apr 15, 5:07 pm, Jerry Stuckle wrote:
>
> > snifferwrote:
> > > On Apr 14, 4:25 pm, Jerry Stuckle wrote:
> > >>snifferwrote:
> > >>> hi all,
> > >>> i have this strange problem,
> > >>> i am using apache2.2.x and php5.2.x ,i call a php script which makes a
> > >>> call to a com component which in turn calls functions in a cdll this
> > >>> used to work earlier till i changed my server,now when i execute the
> > >>> script in question it reports that the cdll that the com object calls
> > >>> can not be found where as both the dlls are in the same folder.
> > >>> any suggestions ?
> > >>> TIA
> > >> What are the permissions on the dll and com object? And even though
> > >> these files exist, what about files they depend on?
>
> > >> --
> > >> ==================
> > >> Remove the "x" from my email address
> > >> Jerry Stuckle
> > >> JDS Computer Training Corp.
> > >> jstuck...@attglobal.net
> > >> ==================
>
> > > the system user has full control on these files,these dlls do not
> > > depend on any other functionality except the base windows dll
>
> > The system might have full control. But what about your web server's
> > userid (typically IUSR_machinename)? Are the dll's in your PATH?
>
> > But also, this isn't a PHP problem, but a windows setup.
>
> > --
> > ==================
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstuck...@attglobal.net
> > ==================
>
> i am using apache2.2.x and php5.2.x as i mentioned in my earlier post

I fail to see what this reply has to do with Jerry's post???

Re: problem with com and php

am 16.04.2008 12:00:12 von sniffer

On Apr 16, 2:26 pm, Captain Paralytic wrote:
> On 16 Apr, 05:00,sniffer wrote:
>
>
>
> > On Apr 15, 5:07 pm, Jerry Stuckle wrote:
>
> > > snifferwrote:
> > > > On Apr 14, 4:25 pm, Jerry Stuckle wrote:
> > > >>snifferwrote:
> > > >>> hi all,
> > > >>> i have this strange problem,
> > > >>> i am using apache2.2.x and php5.2.x ,i call a php script which makes a
> > > >>> call to a com component which in turn calls functions in a cdll this
> > > >>> used to work earlier till i changed my server,now when i execute the
> > > >>> script in question it reports that the cdll that the com object calls
> > > >>> can not be found where as both the dlls are in the same folder.
> > > >>> any suggestions ?
> > > >>> TIA
> > > >> What are the permissions on the dll and com object? And even though
> > > >> these files exist, what about files they depend on?
>
> > > >> --
> > > >> ==================
> > > >> Remove the "x" from my email address
> > > >> Jerry Stuckle
> > > >> JDS Computer Training Corp.
> > > >> jstuck...@attglobal.net
> > > >> ==================
>
> > > > the system user has full control on these files,these dlls do not
> > > > depend on any other functionality except the base windows dll
>
> > > The system might have full control. But what about your web server's
> > > userid (typically IUSR_machinename)? Are the dll's in your PATH?
>
> > > But also, this isn't a PHP problem, but a windows setup.
>
> > > --
> > > ==================
> > > Remove the "x" from my email address
> > > Jerry Stuckle
> > > JDS Computer Training Corp.
> > > jstuck...@attglobal.net
> > > ==================
>
> > i am using apache2.2.x and php5.2.x as i mentioned in my earlier post
>
> I fail to see what this reply has to do with Jerry's post???

jerry's post asks about the rights that the user IUSR_xxx has on the
files in question but this would only apply if was using IIS

Re: problem with com and php

am 16.04.2008 12:11:33 von Captain Paralytic

On 16 Apr, 10:00, sniffer wrote:
> On Apr 16, 2:26 pm, Captain Paralytic wrote:
>
> jerry's post asks about the rights that the user IUSR_xxx has on the
> files in question but this would only apply if was using IIS

Fine, have it your way.

Re: problem with com and php

am 16.04.2008 12:27:56 von Jerry Stuckle

sniffer wrote:
> On Apr 16, 2:26 pm, Captain Paralytic wrote:
>> On 16 Apr, 05:00,sniffer wrote:
>>
>>
>>
>>> On Apr 15, 5:07 pm, Jerry Stuckle wrote:
>>>> snifferwrote:
>>>>> On Apr 14, 4:25 pm, Jerry Stuckle wrote:
>>>>>> snifferwrote:
>>>>>>> hi all,
>>>>>>> i have this strange problem,
>>>>>>> i am using apache2.2.x and php5.2.x ,i call a php script which makes a
>>>>>>> call to a com component which in turn calls functions in a cdll this
>>>>>>> used to work earlier till i changed my server,now when i execute the
>>>>>>> script in question it reports that the cdll that the com object calls
>>>>>>> can not be found where as both the dlls are in the same folder.
>>>>>>> any suggestions ?
>>>>>>> TIA
>>>>>> What are the permissions on the dll and com object? And even though
>>>>>> these files exist, what about files they depend on?
>>>>>> --
>>>>>> ==================
>>>>>> Remove the "x" from my email address
>>>>>> Jerry Stuckle
>>>>>> JDS Computer Training Corp.
>>>>>> jstuck...@attglobal.net
>>>>>> ==================
>>>>> the system user has full control on these files,these dlls do not
>>>>> depend on any other functionality except the base windows dll
>>>> The system might have full control. But what about your web server's
>>>> userid (typically IUSR_machinename)? Are the dll's in your PATH?
>>>> But also, this isn't a PHP problem, but a windows setup.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> i am using apache2.2.x and php5.2.x as i mentioned in my earlier post
>> I fail to see what this reply has to do with Jerry's post???
>
> jerry's post asks about the rights that the user IUSR_xxx has on the
> files in question but this would only apply if was using IIS
>

Not necessarily. I've seen many Apache sites running IUSR_xxx as the
Apache user name, also. I do it on my development machine so I can
easily switch back and forth between the two and test without security
problems.

But no matter what id you're using, the question remains. And it's
still a Windows setup problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================