0

I have a big problem. i have this error

"Fatal error: Class 'COM' not found in C:\Program Files\EasyPHP-12.1\www\eu\include\general.php on line 2768"

and when I go to that line I see this:

" if (PHP_OS=='WINNT')
{
$filesystem=new COM('Scripting.FileSystemObject');
$file=$filesystem->GetFile($path);
return $file->Size();........"

Can anyone help me with this?

Thank you! Adi

1

3 Answers 3

2

In php.ini uncomment line: ;extension=php_com_dotnet.dll (remove ;) and restart server. Because it's extension for php.

By the way, in your version this line may be missing. There's a bug.

Sign up to request clarification or add additional context in comments.

Comments

0

add
extension=php_com_dotnet.dll
on php.ini

Comments

0

Open php.ini with a note editor (ctrl+F) search for Dynamic Extensions after that add extension=com_dotnet

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.