Monday, February 6, 2023

Linux terminal shell command line to show a list of just the files in the directory

Linux terminal shell command line to show a list of just the files in the directory

find . -type f
 

Wednesday, February 1, 2023

php8 COM Exception Type Mistmtach in paramater #0 when calling MS Word COM object SaveAs

php8 COM Exception Type Mistmtach in paramater #0 when calling MS Word COM object SaveAs

I saw this:

https://bugs.php.net/bug.php?id=73605

 

When calling $word->SaveAs($filename, 8);

You should change to $word->SaveAs($filename, new variant(8, VT_I4);

 

 

php 8 using ldap connectivity configuring php.ini and apache2.4

Got an error that ldap_connect is not a recognize function to use with apache 2.4, php 8 on windows


Here is a solution:

1.

Enable extension=ldap in the php.ini


2.

Copy .dll files from the php installation directory into the apache/bin installation directory


Please note, ldap_sort function was deprecated