DEV Community

Cover image for PHP 8, Windows and extensions

PHP 8, Windows and extensions

Jorge Castro
You are free to believe in whatever you want to, me too. So, stop preaching your religion, politics, or belief. Do you have facts? Then I will listen. Do you have a personal belief? Sorry but no.
・2 min read

Ok, it will be tricky. It is for PHP 8 and Windows (64bits ts and nts) but it could include 32bits.

If you are using Apache, then you must use the version TS. Otherwise, if you are using IIS, then you must use the version NTS. And for the note, you must use this version of apache:

What if you are using a ready-made server? (WAMP, XAMP, etc.)

If you are using the PHP 8 version then:

  • Find where is your php.ini file. How? phpinfo.php shows where is the php.ini file.
  • And find where is your ext folder (usually inside to where is the php.ini file.
  • Copy the Dll inside this folder.
  • Edit the php.ini file according to the extension that you want to install.

If the file is called php_apcu.dll, then add the next line

Enter fullscreen mode Exit fullscreen mode

Since PECL is as good as dead, then it's harder to find some extensions on the net. However, some releases are still in PECL but only a few ones.

Which extension you could download? You must pick whatever you want to. Some of them are redundant. For example, Memcache and Redis, but they are the most useful ones (excluding the libraries that come built-in in PHP).


Sql Server


(and download the artifact)




Discussion (1)

vince_amstz profile image
Vincent Amstoutz

Good article but I think some links are not very good like the ACPU link