Cara Mudah Upgrade PHP Versi 7.4 pada Windows 10

Last modified date

Comments: 5

Halo guys. pada pagi hari ini, ceritanya mau upgrade php versi 7.4.11, karena beberapa alasan.

langsung saja, silahkan ikuti langkah-langkah berikut untuk memasang PHP versi 7.4 ya. Perlu diperhatikan, Anda sebelumnya sudah memasang xampp atau wamp atau yang lainnya ya.

Langkah-langkah

Download dahulu versi php 7.4.11

Pilih Windows download

nah, malah php 8.0 mau ada update an lagi. -_-.

pilih versi php mu, lihat apakah xampp atau wamp mu versi 64bit atau 32bit, kemudian saya sarankan yang Thread Safe karena kita menggunakan apache.

Apache

Please use the Apache builds provided by Apache Lounge. They provide VC15 and VS16 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs. With Apache, using the apache2handler SAPI, you have to use the Thread Safe (TS) versions of PHP.

Setelah selesai diunduh, silahkan extract php tadi,

php yang lama, kita backup dulu, agar jika terjadi error, bisa kita kembalikan ke versi sebelumnya.

Rename folder php 7.4 menjadi php.

Buka php folder, copy paste php.ini-development. Rename php.ini-development menjadi php.ini

Buka file php.ini dengan text editor favorit Anda, pakai notepad biasa juga tidak masalah. Cari baris extension_dir, masukkan url folder ext. uncomment extension_dir nya.

Buka command prompt. Ketik

php -version

Baca Juga :

PHP 7.4.12 (cli) (built: Oct 27 2020 17:18:47) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Selesai, sekarang php kita menjadi php 7.4.12. Semoga bermanfaat.

Changelog php 7.4

01 Oct 2020

  • Core:
    • Fixed bug #79699 (PHP parses encoded cookie names so malicious `__Host-` cookies can be sent). (CVE-2020-7070)
    • Fixed bug #79979 (passing value to by-ref param via CUFA crashes).
    • Fixed bug #80037 (Typed property must not be accessed before initialization when __get() declared).
    • Fixed bug #80048 (Bug #69100 has not been fixed for Windows).
    • Fixed bug #80049 (Memleak when coercing integers to string via variadic argument).
  • Calendar:
    • Fixed bug #80007 (Potential type confusion in unixtojd() parameter parsing).
  • COM:
    • Fixed bug #64130 (COM obj parameters passed by reference are not updated).
  • OPcache:
    • Fixed bug #80002 (calc free space for new interned string is wrong).
    • Fixed bug #80046 (FREE for SWITCH_STRING optimized away).
    • Fixed bug #79825 (opcache.file_cache causes SIGSEGV when custom opcode handlers changed).
  • OpenSSL:
    • Fixed bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV). (CVE-2020-7069)
  • PDO:
    • Fixed bug #80027 (Terrible performance using $query->fetch on queries with many bind parameters).
  • SOAP:
    • Fixed bug #47021 (SoapClient stumbles over WSDL delivered with “Transfer-Encoding: chunked”).
  • Standard:
    • Fixed bug #79986 (str_ireplace bug with diacritics characters).
    • Fixed bug #80077 (getmxrr test bug).
    • Fixed bug #72941 (Modifying bucket->data by-ref has no effect any longer).
    • Fixed bug #80067 (Omitting the port in bindto setting errors).
(Visited 416 times, 1 visits today)

5 Responses

  1. admin, setelah berhasil migrasi muncul error massage (Message: Call to undefined function mysqli_init(), mungkin bisa bantu untuk solve problem tersebut?

    • coba buka di php7.4 nya kak, cari file php.ini
      cari baris extension=mysqli
      uncomment baris tersebut, semoga berhasil kak

Leave a Reply

%d bloggers like this: