Professional OPC
Development Tools

logos

HELP OPC PHP IN IIS 7

More
05 Jan 2014 02:49 #1651 by gsa_systems
Replied by gsa_systems on topic HELP OPC PHP IN IIS 7
thanks very much.. :D

i suppose is my PHP installation that is wrong, i´ll to reinstall all whit another version of php more current.

really thanks for your time and try to help me.

when I've a result I'll post.

Please Log in or Create an account to join the conversation.

More
04 Jan 2014 16:47 #1650 by support
Replied by support on topic HELP OPC PHP IN IIS 7
If the error still says "Class 'COM' not found", it is likely that the problem is not related specifically to the EasyDAClient component. It is the 'COM' class, that is a wrapper for COM objects, which is not found - not the EasyDAClient.

You therefore need to resolve this with your PHP installation. We are not PHP experts here, and I am afraid we cannot help further at this point.
The following user(s) said Thank You: gsa_systems

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 21:09 #1649 by gsa_systems
Replied by gsa_systems on topic HELP OPC PHP IN IIS 7
i´ve downloaded .dll and made all steps. but i have the same yet..

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 19:53 #1648 by support
Replied by support on topic HELP OPC PHP IN IIS 7
Aren't you missing this:
[COM_DOT_NET] 
 extension=php_com_dotnet.dll 

see

stackoverflow.com/questions/10678325/class-com-not-found

www.php.net/manual/en/com.installation.php

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 19:47 - 03 Jan 2014 19:49 #1647 by gsa_systems
Replied by gsa_systems on topic HELP OPC PHP IN IIS 7
i've commented out the line of ReadItemValue, the error show yet.. i suppose the problem is in the line "$EasyDAClient= new COM("OPCLabs.EasyDAClient.5.2");" because the error say "lass 'COM' not found"

thanks for help me so fast :D

... mmm i'm thinking if the problem could be the server IIS 7
Last edit: 03 Jan 2014 19:49 by gsa_systems.

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 19:22 #1646 by support
Replied by support on topic HELP OPC PHP IN IIS 7
If you remove (or comment out) the second statement, i.e. the whole assignment from the ReadItemValue method call, does it still show the same error?

I am trying to determine whether the problem is in the EasyDAClient client instantiation (the first statement), or the OPC read (the second statement).
The following user(s) said Thank You: gsa_systems

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 18:25 - 03 Jan 2014 19:00 #1645 by gsa_systems
Hellow everyboy... i hope can help me..

i´m using windows server with IIS7, php its configurated correctly i suppose..

when use a DEMO APLICATION (com) i can read data. but when i try to use the example to read in php, te page show an error... at first show FATAL ERROR 500.

i have one week to resolve this problem !!!

add an image to see the problem.



error to see the page

Attachments:
Last edit: 03 Jan 2014 19:00 by gsa_systems.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.230 seconds

      

 Recommend this on Google