Skip to content

takielias/php-tensor-for-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tensor extension for windows
Stargazers Forks LinkedIn

takielias

Tensor Extension for Windows (8.1, 10, 11)

Available PHP Versions

  • PHP 7.4 (NTS)
  • PHP 8.0 (TS,NTS)
  • PHP 8.1 (TS,NTS)
  • PHP 8.2 (TS,NTS)

Usage

We usually use TS (Thread Safe) version of PHP. Please go through the article here before using the TS/NTS version of this extension.

First download libopenblas.dll and the specific version of the extension php_tensor.dll

Put the libopenblas.dll in the root directory of PHP.

image

Now put the php_tensor.dll in the ext directory.

image

Now open the php.ini file and enable the tensor extension.

image

extension=tensor

Now restart your server (Nginx/Apache) & PC. Open the command prompt & run the command below to verify the extension.

php -m | grep tensor

image

If you get the output as tensor, that means it's DONE

Contact

Taki Elias - @takiele - https://ebuz.xyz - taki.elias@gmail.com

Support on Buy Me A Coffee

Hey dude! Help me out for a cup of ☕!

takielias