Connecting Tech Pros Worldwide Help | Site Map

problem with com and php

sniffer
Guest
 
Posts: n/a
#1: Jun 2 '08
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
Jerry Stuckle
Guest
 
Posts: n/a
#2: Jun 2 '08

re: problem with com and php


sniffer wrote:
Quote:
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
==================

sniffer
Guest
 
Posts: n/a
#3: Jun 2 '08

re: problem with com and php


On Apr 14, 4:25 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
sniffer wrote:
Quote:
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.
>
Quote:
any suggestions ?
>
Quote:
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
Jerry Stuckle
Guest
 
Posts: n/a
#4: Jun 2 '08

re: problem with com and php


sniffer wrote:
Quote:
On Apr 14, 4:25 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
>sniffer wrote:
Quote:
>>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
==================

sniffer
Guest
 
Posts: n/a
#5: Jun 2 '08

re: problem with com and php


On Apr 15, 5:07 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
snifferwrote:
Quote:
On Apr 14, 4:25 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
>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?
>
Quote:
Quote:
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
>
Quote:
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
Captain Paralytic
Guest
 
Posts: n/a
#6: Jun 2 '08

re: problem with com and php


On 16 Apr, 05:00, sniffer <a...@lspl.netwrote:
Quote:
On Apr 15, 5:07 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>
Quote:
snifferwrote:
Quote:
On Apr 14, 4:25 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>>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?
>
Quote:
Quote:
>--
>==================
>Remove the "x" from my email address
>Jerry Stuckle
>JDS Computer Training Corp.
>jstuck...@attglobal.net
>==================
>
Quote:
Quote:
the system user has full control on these files,these dlls do not
depend on any other functionality except the base windows dll
>
Quote:
The system might have full control. But what about your web server's
userid (typically IUSR_machinename)? Are the dll's in your PATH?
>
Quote:
But also, this isn't a PHP problem, but a windows setup.
>
Quote:
--
==================
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???
sniffer
Guest
 
Posts: n/a
#7: Jun 2 '08

re: problem with com and php


On Apr 16, 2:26 pm, Captain Paralytic <paul_laut...@yahoo.comwrote:
Quote:
On 16 Apr, 05:00,sniffer<a...@lspl.netwrote:
>
>
>
Quote:
On Apr 15, 5:07 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>
Quote:
Quote:
snifferwrote:
On Apr 14, 4:25 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>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?
>
Quote:
Quote:
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
>
Quote:
Quote:
the system user has full control on these files,these dlls do not
depend on any other functionality except the base windows dll
>
Quote:
Quote:
The system might have full control. But what about your web server's
userid (typically IUSR_machinename)? Are the dll's in your PATH?
>
Quote:
Quote:
But also, this isn't a PHP problem, but a windows setup.
>
Quote:
Quote:
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
>
Quote:
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
Captain Paralytic
Guest
 
Posts: n/a
#8: Jun 2 '08

re: problem with com and php


On 16 Apr, 10:00, sniffer <a...@lspl.netwrote:
Quote:
On Apr 16, 2:26 pm, Captain Paralytic <paul_laut...@yahoo.comwrote:
>
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.
Jerry Stuckle
Guest
 
Posts: n/a
#9: Jun 2 '08

re: problem with com and php


sniffer wrote:
Quote:
On Apr 16, 2:26 pm, Captain Paralytic <paul_laut...@yahoo.comwrote:
Quote:
>On 16 Apr, 05:00,sniffer<a...@lspl.netwrote:
>>
>>
>>
Quote:
>>On Apr 15, 5:07 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>>>snifferwrote:
>>>>On Apr 14, 4:25 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>>>>>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
==================

Closed Thread