Where can I get the com class for my UNIX server? I suppose my pc has the class file, that's why the program can be run on my pc but not in UNIX server. It mght be I dont have the class file in UNIX server.
Regards, Hee
Jason Barnett wrote:
Heekw wrote:
Hi,
I couldn't run the com progam on my server but everthing well on my pc. The only different is server is using UNIX version while pc is Window version.
It game me error like this -> "Fatal error: Cannot instantiate non-existent class: com in /home/www/hermes/data/program/log_report/TPSpartSales/comExample5.php4 on line 2".
com.allow_dcom has to be set to TRUE. Kindly help me to solve this issue. TQ.
Best Regard,
Hee
Not sure exactly what you're asking here, but com.allow_dcom is a php.ini setting. Are you trying to access a remote COM process on another machine? You need this setting to be true for remote access.
More troubling however is that your php executable does not have the COM class... it is a built-in component for the windows binary. Did you perhaps build your own from source and not include COM? What version of PHP are you using?
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php