'COM' not found
here is code:
Code: Select all
$comObject = new COM("Word.Application");Moderator: General Moderators
Code: Select all
$comObject = new COM("Word.Application");Code: Select all
<?php
echo 'sapi: ', php_sapi_name(), "<br />\n";
echo 'uname: ', php_uname('srm'), "<br />\n";
echo 'version: ', phpversion(), "<br />\n";
echo "extensions: <br />\n";
foreach(array_chunk(get_loaded_extensions(), 5) as $e) {
echo join(', ', $e), "<br />\n";
}Code: Select all
sapi: apache2handler
uname: Linux
version: 5.1.1
extensions:
libxml, xsl, xml, wddx, tokenizer
sysvshm, sysvsem, standard, SimpleXML, sockets
soap, SPL, shmop, session, posix
PDO, pdo_sqlite, pdo_pgsql, pdo_mysql, mysqli
mysql, mssql, ming, mime_magic, mhash
mcrypt, mbstring, ldap, imap, iconv
gettext, gd, ftp, filepro, exif
dom, dbase, dba, date, curl
ctype, calendar, bz2, bcmath, zlib
pcre, openssl, apache2handler, zip, SQLite
radius, pgsql, ionCube LoaderCode: Select all
sapi: cgi-fcgi
uname: Windows NT
version: 5.0.3
extensions:
bcmath, calendar, com_dotnet, ctype, ftp
iconv, odbc, pcre, session, SPL
SQLite, standard, tokenizer, zlib, libxml
dom, SimpleXML, wddx, xml, gd
mbstring, mysqli, mysqlitsmani1 wrote:sapi: apache2handler
uname: Linux
version: 5.1.1
http://de2.php.net/com wrote:Requirements
COM functions are only available for the Windows version of PHP.
Code: Select all
warning: wv2-0.2.3-2.fc6.i386.rpm: V3 DSA signature: NOKEY, key ID 1ac70ce6
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by wv2-0.2.3-2.fc6
libgsf-1.so.114 is needed by wv2-0.2.3-2.fc6
libstdc++.so.6 is needed by wv2-0.2.3-2.fc6
libstdc++.so.6(CXXABI_1.3) is needed by wv2-0.2.3-2.fc6
libstdc++.so.6(GLIBCXX_3.4) is needed by wv2-0.2.3-2.fc6
rtld(GNU_HASH) is needed by wv2-0.2.3-2.fc6