In a PHP project I need to use the DOTNET COM library, but I saw it is disabled.
I don't know how to enable it, so I tried uncommenting the following lines in my php.ini
file, under the [com] section:
com.typelib_file = php_com_dotnet.dll
com.allow_dcom = true
pextension=php_com_dotnet.dll
com.autoregister_typelib = true
com.autoregister_casesensitive = false
com.autoregister_verbose = true
com.code_page=
I am still gettting errors saying Class 'COM' not found
.
Any suggestions on what to do?
Thanks.
First check this in php.ini
[PHP_COM_DOTNET]
extension=php_com_dotnet.dll
after it chek where you said php to look for extension , and to enable extention. you must remove ";" from first of this line :
extension_dir = "ext"
and enable extension with this flag
enable_dl = On
it must solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With