How to Install PHP 7.0.0 on Windows

How to Install PHP 7.0.0 on Windows
Please support Clever Techie 
clevertechie.com is hosted with SiteGround and recommended by Clever Techie
as #1 web hosting company:
https://www.siteground.com/go/clevertechie ( 60% off ) #1 Hosting Company
https://www.bluehost.com/track/clevertechie1 ( 63% off ) #2 Hosting Company
https://www.hostgator.com/web-hosting #3 Hosting Company
HostGator ( 60% off ) coupon: CLEVERTECHIE 

If you guys decide to sign up with SiteGround or any of the 3 hosts, I would really appreciate if you supported Clever Techie and signed up with my affiliate links that you see here. You get a massive 60% discount, there are no extra costs for you, and you will motivate me to create more videos as well. I could also end up working on Clever Techie full time with enough of your support, if that happens, then I'll be making about 3 new videos every single week!

Clever Techie's number one pick for web hosting is SiteGround's (GrowBig) plan for 12 months. The cost is $71.40 + $15.95 domain registration (with 60% off clever techie affiliate link discount). I really appreciate your support everyone, every subscription counts as motivational fuel for creating more videos :)

NOTE: This video on how to install php 7.0.0 on Windows, I assumed you have Installed the latest version of Apache 2.4.16 VC14, if you haven't watch this video first:


-------------------ATTENTION----------------!!!! Here is how to make CURL extension work:

Guys, here is the solution to load the CURL extension:

1) Copy the files ssleay32.dll and libeay32.dll from your php root directory to your Windows\System32 directory

2) Add PHP to your system environment variables: Go to windows search and type: Edit the system environment variables, when the window opens click on the "Environment Variables..." button, at the bottom section where it says "System variables", search for Path, click on it and click Edit... button. Add php directory (where your php is installed to the variable value field, make sure to separate it with a semi colon)

3) Don't forget to remove semi colon in front of extension_dir = "C:/php/ext" line in your php.ini file

4) Don't forget to remove semi clolon in front of extension=php_curl.dll line in your php.ini file

5) Save the php.ini file

6) Restart the Apache

The CURL extension is now loaded!

How to install and configure the latest version of PHP 7.0.0 on Windows 7


Download Thread Safe (the only version that works with Apache) 32bit or 64bit (depending on which OS you have), VC14 PHP 7.0.0. By learning how to install php on Windows yourself, you will have full control over your environment and be able to download and install any latest PHP version as soon as it comes out, instead of waiting for packages like xamp and wamp to be updated by their authors.


( Website ) https://clevertechie.com - PHP, JavaScript, Wordpress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.

( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube

( Google Plus ) https://goo.gl/J71p6f - clever techie video tutorials.

( Facebook ) https://www.facebook.com/CleverTechie/

( Twitter ) https://twitter.com/theclevertechie


RRelated Posts

Installing PHP 5.6 on Windows 7 with IIS7

This video shows an installation of PHP 5.6 on a fresh install of Windows 7 including installing and configuring IIS7. There are some delays due to User Account Controls and waiting for IIS to

Instalando o PHP 7

Inscrições abertas para o PHP ACADEMY 2017, totalmente GRÁTIS: www.phpacademy.com.br Aprenda a instalar o PHP 7! O André Milani mostra todos os detalhes pra você. Quer aprender mais sobre PHP?

How to Install Apache Server on Windows

Please support Clever Techie clevertechie.com is hosted with SiteGround and recommended by Clever Techie as #1 web hosting company: https://www.siteground.com/go/clevertechie ( 60% off ) #1 Hosting


  • zac lowe
    please help every time I restart I get this error

    C:\apache\bin>httpd -k restart
    httpd: Syntax error on line 3 of C:/apache/conf/httpd.conf: Cannot load C:/php/php7apache2_4.dll into server: %1 is not a valid Win32 application.
  • Catonkey1
    I'm doing this with the latest version of PHP/Apache (VC15) and I've got to the CURL part without issue...For some reason the ssleay32.dll and libeay32.dll files don't exist anymore in the PHP directory.
  • druzy woozy
    i wasted 2 hours on it because im only a beginner download the thread version the non thread version is missing the module that the CMD is yelling to you about
  • Sandun Akalanka
    If the curl doesn't show up,try mentioning the absolute path of the dll file.
    For example
  • felipeslongo
    Thank you man, very informative.
  • Jacob Steiner
    dude you have the same desktop background wallpaper as me. As soon as I saw it I started tripping because I thought I was on my desktop!
  • Anto Infent
    php myadmin asking for username and password .Early i dont have created any username and password .Now what i have to do what is the user name .??
    Oh dear, sir half the way ur screen just went half way can't locate what you just said.!
  • kensley lewis
    The big gotcha - Apache on Windows. Thanks but no thanks. Need IIS configurations sense I'm dealing with....Windows.
  • Alejandro Martínez
    Thank you.
  • Harshada Shinde
    when i make changes in httpd.conf file in my laptop, to connect php n apache...n after that wen i try to restart the service,the following error comes:
    windows could not start apache2.4 on local computer.
    but when i do d same thing on computer, no error comes n it executes properly
    plz give me a solution.
  • SignalSource
    those files are missing in php7 x64 v15!!! What is the solution??
  • Gadget inline
    im using xampp, and this method is not applicable to xampp user, he is using apache, not xampp. so dont get confused.
  • Old School
    and MySql???
  • triki hajer
    I can(t found php.ini so i can't continued :(
  • Felipe Peña
    Hi Clever Techie, nice video! I was able to see "localhost/info.php" and "localhost" in my browser but, what exactly do I need to do to watch a PHP page in another directory, other than under C:localhost ???
  • Himeur fatima
    Everything worked so good for me but when i type in cmd php -v it shows 5.5.8 what's worng ??
  • Kamaljeet Sehrawat
  • Oscar Alba
    Clever: Great instruccions for php 7. installation on windows 10 (home/x64). Its work good with apache2.7. But after install phpmyadmin (4.6.4 all leng.) i have next alert: "Forbidden You don't have permission to access /phpmyadmin/ on this server.". How can i fix, this item. Thank You clever
  • Branden Kerr
    It doesn't work.


    Is what shows up for me
  • 1st To Dragon Gaming
    I have done all the steps but it isnt working...
  • protez 95
    I´m tired, i downloaded 3 times the files, i installed 3 times the visual studio and i still get the same error "httpd: Syntax error on line 521 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found.", i´m very frustrated ¿can you help me, please?
    i have installed all with 64bits version, apache, PHP and visual c++
  • Troy Lawson
    Thank you, It works with accessing local host, but I have no directory in C:/ for localhost, and php doesn't work in other chrome extensions. Also I'm not getting that curl segment?
  • Kikiope Oyewole
    Hi. I've tried doing this multiple times, I still was unable to get it to work, when i browse this, "http://localhost/info.php", i get the simple code we wrote for info.php, <?php
  • Martinvirtus
    How to fix bin/php/php7.exe Exit:127?
  • It Was A Pleasure
    وليه التعب دا كله
    انا هحذف xampp
    واحمله واسطبه من اول وجديد
    وهو يبقى ياخد اخر اصدار من PHP اوتوماتيك بس كدا
  • German Ochea
    Because your tutorial is so great I am now one of your subscriber
    Thanks dude !!
  • Santiago Chopitea
    Hey why i have to type localhost:8000 and not only localhost? Thanks
  • Abir Basu
    Thank you a lot..:) !!!
  • Thomas Orlita
    Your first link in the description is broken.
  • ArEy Asistores
    Sir, Where do you get the Apache24 files ?
  • priyanka chauhan
    can't find the text name "AddHandler" for php in my appache httpd.conf text page.
    can you please guide me.
  • Ramon Iglesia
    I follow the instruction but doesn't show the phpinfo (shows blank). What should I do?
  • So Simple
    thanks man, such a helpful information
  • cixlo
    I don't have a php directory on my c drive.......
  • mohamed corleone
    there is no php7apache2_4.dll in the latest version of php (7.1.3)
  • P.D Klumpp
    it is a great Video. now it finally works. Thx

    (but the quality if Sound is not) good
  • AhsokaSkywalker
    I cannot find that folder what's it called on Windows 10. I got as far as the INi thing and got stuck.
  • Malcolm Meleonid
    Cannot see apache on windows services apache says "No services installed*"
  • Roosevelt Truong
    website doesn't work
  • Selene Chin
    Where it's the C:/localhost? i don't have it and don't find it ): 8:47
  • Rodger Smith
    Thanks - about the only youtube video thats works!
  • herhor67
    There is no php7apache2_4.dll file, tried php7.dll but when I click Start it throws "The requested operation has failed!". What can I do?
  • ionescu victor
    15 fucking minutes christ
  • Vijay Sharma
    When i changed to LoadModule php7_module "C:/php/php7.dll", it worked for me. Not sure if this is correct or not.
  • Vijay Sharma
    Great video. Unfortunately after installing php 7.0.0 on windows8.1, my apache service is not running. I am getting this error "Can't locate API module structure `php7_Module' in file C:/php/php7apache2_4.dll"
  • Mike S
    Please consider showing us how to add subfolders so we can access individual folders using shorthand names. e.g. if i work on a website whose php files reside in c:\my webs\mailcouriers and I want to access the files by typing mc in the browser, how would I modify httpd.conf to support that folder?