[英]Error on using Chilkat.Zip2
Can anybody please let me know, i have used the below code to access COM object... 有人可以让我知道吗,我已经使用下面的代码访问COM对象...
$zip = new COM("Chilkat.Zip2");
echo $zip;
but, which shows an like this... 但是,这显示了这样的...
Fatal error: Uncaught exception 'com_exception' with message 'Failed
to create COM object `ZipActiveX': Invalid syntax ' in
D:\xampp\htdocs\test\testscript1.php:2 Stack trace: #0 D:\xampp\htdocs\test\testscript1.php(2): com->com('ZipActiveX')
#1 {main} thrown in D:\xampp\htdocs\test\testscript1.php on line 1
please advice me, that do i need to change anything in my php.ini file to access COM? 请告诉我,我是否需要更改php.ini文件中的任何内容才能访问COM?
shut down apache and start in administrator mode if using windows vista or 7.
如果使用Windows Vista或7,请关闭apache并以管理员模式启动。
edited: chillkat zip activex is for windows server. 编辑: chillkat zip activex用于Windows服务器。 you can download and install from this url http://www.chilkatsoft.com/download/ZipActiveX.msi
您可以从以下网址下载并安装http://www.chilkatsoft.com/download/ZipActiveX.msi
run webserver in windows using xampp adn run locally 在Windows中使用xampp adn在本地运行Web服务器
xampp download url: http://www.apachefriends.org/en/xampp.html xampp下载网址: http : //www.apachefriends.org/en/xampp.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.