Head-on downloading php can be a pain. Here is a simple guide ! (more windows)

FIRST : The PHP directory

create a php directory at

C:\php or C:\php7

SECOND : Download and Extract

Second, download php from

http://php.net/downloads.php

else windows :

http://windows.php.net/download

extract in the directory created in the first step

THIRD most important : Copy and Rename

copy either php.ini-development or php.ini-production and paste it in the same directory

rename it as php.init

FOURTH : Uncomment

if you’ll need mysqli, uncomment

;extension=mysqli

to

extension=mysqli

uncomment and set extention dir to

extension_dir = “c:\php\ext”

the above will prevent :

Fatal error : Class 'mysqli' not found PHP v7

 

Advertisements