Chilkat.Zip2 kullanarak hata

1 Cevap php

Herkes bana bildirin lütfen, ben COM nesnesi erişmek için aşağıdaki kodu kullanmış ...

$zip = new COM("Chilkat.Zip2");
echo $zip;

ancak, hangi böyle bir gösterir ...

    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

i COM erişmek benim php.ini dosyasında herhangi bir değişiklik gerekiyor ki, bana tavsiye lütfen?

1 Cevap

shut down apache and start in administrator mode if using windows vista or 7.

edited: chillkat zip activex is for windows server. you can download and install from this url http://www.chilkatsoft.com/download/ZipActiveX.msi

xampp kullanarak windows sunucusu işletmek adn yerel olarak çalıştırmak

xampp indir url: http://www.apachefriends.org/en/xampp.html