How to install Apache, MySql and PHP on Windows 10

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • :: Support Me ::
    / alecaddd
    www.alecaddd.co...
    amzn.to/2Hcp5mo
    Code Gear #1
    How to manually install Apache, MySql and PHP on Windows 10, without a the use of a preconfigured package like WAMP.
    Download Apache: www.apacheloung...
    Download Microsoft Visual Studio: www.visualstud...
    Download PHP: windows.php.net...
    Download MySql: dev.mysql.com/d...
    :: Support Me ::
    www.alecaddd.co...
    Download Sunset Theme FREE: • How to create a Premiu...
    :: Tutorial Series ::
    WordPress 101 - Create a theme from scratch: • WordPress 101 for Begi...
    Learn SASS from Scratch:
    • Alecaddd Crash Course
    :: My Website ::
    www.alecaddd.com/
    :: Follow me on ::
    Twitter: / alecaddd
    Google+: plus.google.co...
    Facebook: / alecadddpage

КОМЕНТАРІ • 1,1 тис.

  • @SRHarkreader
    @SRHarkreader 8 років тому +28

    Well done! I was able to use all directions, with a couple exceptions. Apache suggested installation of php 7 now, so I installed php 7.03 which required that the text in the httpd.conf file be modified slightly from what you said in the video... I entered, without the square brackets, [LoadModule php7_module "C:/php/php7apache2_4.dll"] instead of [LoadModule php5_module "C:/php/php5apache2_4.dll"]. I also installed MySQL 5.7.11. Before finding your video, I spent a full day trying to get this running without success. I've learned a lot. Thank you!

    • @alecaddd
      @alecaddd  8 років тому +1

      +Sam Harkreader Awesome! I'm really happy to hear that.
      As I said in the video, I didn't install PHP7, but I preferred to pick the latest release of v5, due to compatibility issues with current softwares or apps, for example WordPress.
      Thanks for watching!

    • @gabrielrodrigueztorres1494
      @gabrielrodrigueztorres1494 6 років тому

      wow! this just saved my life. Thanks sir :D

    • @azikhi
      @azikhi 6 років тому

      Thank You good sir .

  • @Enlightenchannel
    @Enlightenchannel 8 років тому

    I've downloaded Visual Studies 2015 but I'm still getting a syntax error on the .DLL file. I tried changing it to php5.dll since there's a dll file in there named that but that hasn't worked either. Now it says can't locate API module structure 'php5_module' in C:/php/php5.dll

  • @mhmzdev
    @mhmzdev 4 роки тому +3

    After 4 years you are still of great help thanks
    Few things to mention for people installing php7 or higher
    *Install Thread Safe Version of PHP* Very important otherwise there will be no file name "php7apache2_4.dll"
    If you ran into error that "php_mysql.dll" not found while searching simply uncomment "extension=mysqli"
    Good Luck everyone!

  • @BethMarlatt
    @BethMarlatt 3 роки тому

    I have used your video numerous times through the years.. each time I buy a new laptop. THANK YOU!!!

  • @mkeysou812
    @mkeysou812 8 років тому +8

    Thanks Alessandro for this excellent tutorial.
    A word of warning - Apache may not start on windows 10 if World Wide Web Publishing Service is running. To fix this:
    Go to the windows start, type services and click on view local services.
    Scroll down to World Wide Web Publishing, right click and select stop.
    Go to console window and type "C:\Apache24\bin\httpd.exe -k start" to start Apache.
    That worked for me at any rate.

    • @alecaddd
      @alecaddd  8 років тому +1

      +Yeah Thanks for sharing your experience, is gonna be really useful for other users.

    • @sampatamnagendrakumar9884
      @sampatamnagendrakumar9884 8 років тому

      +Yeah sir i am not just exactly finding the word "world wide web publishing" in local services can u please help me...

    • @sampatamnagendrakumar9884
      @sampatamnagendrakumar9884 8 років тому

      +Alessandro Castellani sir i am not exactly finding the word "world wide web publishing" in local services.....

    • @Petronzinator
      @Petronzinator 6 років тому

      You the real MVP

  • @faustolima
    @faustolima 8 років тому +2

    Amazing explanation! I'm a C# developer, but I have to change my company's web site, which was built in php, so I've been looking for the way to install it on windows 10, nothing worked until I found your video. It's pretty clear and didatic. Thanks for sharing it. Awesome video!

    • @alecaddd
      @alecaddd  8 років тому +1

      Happy to have helped also an experienced developer!
      Happy Coding :D

  • @gergelyvarga2423
    @gergelyvarga2423 3 роки тому +5

    Thanks for this tutorial! Helped a lot!
    Also, with PHP 8, when you load the module, the module name is reduced to php_module and ofc the path is "c:/php/php8apache2_4.dll". so that critical line in there is; LoadModule php_module "c:/php/php8apache2_4.dll". Also The extension is changed and simplified to "extension=mysqli" so the search in the video wont result you. and there I did not do the exeample one, but the listed one and it works.

  • @stride7860
    @stride7860 8 років тому +1

    You rock! My book PHP and MySQL Web Development didn't adequately describe this process and I was struggling for hours. This video worked great!

    • @alecaddd
      @alecaddd  8 років тому +1

      They do it on purpose, so you're forced to buy the next book :D
      Thank you so much for watching.

    • @stride7860
      @stride7860 8 років тому +1

      No problem. Forgot to subscribe while I was here earlier but your nice reply has reminded and convinced me. Looking forward to more content.

    • @alecaddd
      @alecaddd  8 років тому +1

      stride7860 getting my viewers engaged and let them know that they're not just watching a robot, it's important to me.
      Thank you so much for your subscription, happy coding

  • @IamMrWWW3
    @IamMrWWW3 6 років тому +17

    Just a quick note on installation for newer versions (I ran into an error myself and will put it into my comment with solution)
    Error:
    C:\windows\system32>c:\apache24\bin\httpd -k install
    Installing the 'Apache2.4' service
    The 'Apache2.4' service is successfully installed.
    Testing httpd.conf....
    Errors reported here must be corrected before the service can be started.
    httpd: Syntax error on line 537 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php7apache2_4.dll into server: The specified module could not be found.
    Solution:
    Make sure to download the "Thread Safe" version, not the Not Thread Safe version. (It wasn't mentioned in the video but is a simple mistake to overlook, and is the only zip that has the "C:/php/php#apache2_4.dll".)
    If installing a newer version, for example 7.x.x etc... from 5 to "whatever number version you have, 7, 8, whatever".
    Change line to fit your version appropriately (See below)
    LoadModule php7_module "C:/php/php7apache2_4.dll"
    AddHandler application/x-httpd-php .php
    # configure the path to php.ini
    PHPIniDir "C:/php"

    • @alecaddd
      @alecaddd  6 років тому

      Pinning this comment tot he top as it will be very useful for a lot of users. Cheers

    • @IamMrWWW3
      @IamMrWWW3 5 років тому

      No worries, hopefully it will save you some inbox space on UA-cam. Lol

    • @pasanggurung9473
      @pasanggurung9473 5 років тому

      Thank you very much for your time

    • @ashbalmidhat8315
      @ashbalmidhat8315 4 роки тому

      thank you so much

  • @wagsman9999
    @wagsman9999 5 років тому +1

    Thanks, worked great. And thanks for all that commented below, that helped too.

  • @Dillinger86
    @Dillinger86 6 років тому +8

    OMG the part of that "mnodule" was driving me crazy lol

  • @Simonfloresbaldomero
    @Simonfloresbaldomero 6 років тому +1

    It wasn't interpreting php, I wrote "AddType application/x-httpd-php .php" instead "AddHandler application/x-httpd-php .php" and worked, Excellente tutorial

    • @alecaddd
      @alecaddd  6 років тому

      Thanks for sharing your experience, cheers

  • @radovanandjelic954
    @radovanandjelic954 8 років тому +17

    Syntax error on line 522 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server specific module could not be found. Need a little help with this one....

    • @franciscocarlospavan4743
      @franciscocarlospavan4743 8 років тому

      Experimente Instalar o VC12 x84 acho que esta faltando dll

    • @ivankotov4437
      @ivankotov4437 8 років тому

      Hey, got same shit. Did you solve a problem?

    • @mhmdrifaie1049
      @mhmdrifaie1049 8 років тому +2

      Yes, make sure to download the PHP that is compatible with your system (32bit or 64 bit) , and make sure to download thread safe PHP

    • @franciscocarlospavan4743
      @franciscocarlospavan4743 8 років тому

      Mhmd Rifaie it is necessary to download the 32-bit VB12 and 64-bit if the system is 64-bit, the VB12 one DLL is missing 64-bit

    • @jjjoseph21
      @jjjoseph21 8 років тому +5

      I got caught on this too. Yes use Thread Safe and not Non Thread Safe.

  • @arumteguh2762
    @arumteguh2762 4 роки тому

    Thank you for the tutorial, even 4 years later it still useful.
    Keep the good work. I hope you have a nice day :)

  • @gaocongnghechatviet
    @gaocongnghechatviet 6 років тому +27

    tp fix problem "Syntax error on line 522 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server specific module could not be found"
    LoadModule php5_module "c:/php/php5apache2_4.dll"
    # configure the path to php.ini
    PHPIniDir "C:/php"
    AddHandler application/x-httpd-php .php
    It's Work 100%

  • @youngjm1
    @youngjm1 5 років тому +1

    Dude you are fucking amazing. I really appreciate how straight forward this was. You explained the simple meaning behind some parts along the way and talked through it. Amazing tutorial. For those of you that are installing the level 7 module... check out some of the other comments.

    • @alecaddd
      @alecaddd  5 років тому +1

      Ah thank you so much :D

  • @grosucosminionut8073
    @grosucosminionut8073 6 років тому +9

    I do not have the line ";extension=php_mysqli.dll" in my php.ini file

  • @josephchang9480
    @josephchang9480 8 років тому

    Dude this is so complicated and detailed. I don't know what I'd do if it weren't for this video :')

  • @rakshitha_bhaskar
    @rakshitha_bhaskar 8 років тому +4

    Hey Alex,
    I have installed visual studio 2015 , but still get the error saying "httpd: syntax error 0n line 521 of c:/Apache24/conf/httpd.conf cannot load c:/php/php5apache2_4.dll into the server"

    • @alecaddd
      @alecaddd  8 років тому +1

      +dhanush gr Hi, are you sure you installed both PHP and Apache with the same version? Or x64 or x86? Also be sure to install the TS (Thread Safe) version.
      Let me know.

    • @rakshitha_bhaskar
      @rakshitha_bhaskar 8 років тому +1

      yes I have used the same version , but i used the non thread safe version for php

    • @alecaddd
      @alecaddd  8 років тому

      dhanush gr Try to install the TS version and see if it solves the problem.

    • @rakshitha_bhaskar
      @rakshitha_bhaskar 8 років тому

      yes that issue is resolved , but now after i restart the system and type localhost in my browser , it says SSL connection error.

    • @alecaddd
      @alecaddd  8 років тому

      +dhanush gr Does it happen only on Google Chrome or also on other browsers?

  • @mdasaduzzaman2947
    @mdasaduzzaman2947 6 років тому

    Hi ! when I run the xampp_start.exe file it says the below text (2018-03-17 4:06:11 6780 [Note] mysql\bin\mysqld.exe (mysqld 10.1.31-MariaDB) starting as process 3260 ...). Is it a bug? I thought I should not see any further text/command below the instruction text line ending with the word "gracefully".

  • @SaifulIslam-yx1xl
    @SaifulIslam-yx1xl 7 років тому +6

    hello sir ,i am very new in php . i have installed apache "Apache 2.4.27 Win64" but i face this problem " C:\Windows\system32>c:\Apache24\bin\httpd -k install
    Installing the 'Apache2.4' service
    The 'Apache2.4' service is successfully installed.
    Testing httpd.conf....
    Errors reported here must be corrected before the service can be started.
    httpd: Syntax error on line 72 of C:/Apache24/conf/httpd.conf: Cannot load mo
    es/mod_access_compat.so into server: The specified module could not be found." how to solve this ? please help me

    • @markgelou7688
      @markgelou7688 6 років тому

      saiful islam liton AH00433: Apache2.4 Service is already installed. Error? What should i do

  • @RobertSpreadborough
    @RobertSpreadborough 4 роки тому +1

    4 years on - thanks Alessandro

  • @karlomiguelperez4450
    @karlomiguelperez4450 7 років тому +3

    Having a problem when I installed Visual C++ 2015 64-bit & PHP 5.6 64-bit as well. I'm at the part where I'm typing this line on cmd (admin enabled):
    "C:\WINDOWS\system32>c:\apache24\bin\httpd -S"
    and getting this error:
    "httpd: Syntax error on line 532 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from"
    Thank you.

    • @barrybee3012
      @barrybee3012 7 років тому

      I'm getting the exact same sorry I can not help

    • @qaiserawan511
      @qaiserawan511 7 років тому +1

      LoadModule php5_module "c:/php/php5apache2_4.dll"
      fixed

    • @moneyaccount9775
      @moneyaccount9775 6 років тому

      Disable your antivirus real-time feature

  • @RollingEuphoria
    @RollingEuphoria 7 років тому +1

    1st video of mine in which i got 100% satisified. No errors generated.Nice .Thanks a lot....

    • @alecaddd
      @alecaddd  7 років тому +1

      Thanks for watching :D

  • @xiaolimao2802
    @xiaolimao2802 8 років тому +5

    Hi, I followed your steps, and the localhost shows index.html success, but not able to show php.info, could please help me to fix it?

    • @dukefizzle1
      @dukefizzle1 7 років тому

      I got the same problem

    • @trumangregg6266
      @trumangregg6266 7 років тому

      Yes I got the same problem. After opening index.html with Notepad, save it as index.php and then delete the old version named index.html.
      I do not know why this works, but I think that having the html file there makes the localhost page display the index.html file. If this is renamed as index.php, the localhost shows the files in htdocs instead of index.html.

    • @SweatGamersHarry
      @SweatGamersHarry 6 років тому

      This did not work for me?

    • @trumangregg6266
      @trumangregg6266 6 років тому

      Harry Smith881 I didn't know exactly it is kind of fussy. Try experimenting with the tutorial to see what works for you.

  • @ronarmengol1677
    @ronarmengol1677 2 роки тому +1

    still works in 2022!!! brilliant stuff

  • @alexanderjperera6508
    @alexanderjperera6508 8 років тому +5

    explanation is very good . you can not read the screen because the text is blurred.

    • @alecaddd
      @alecaddd  8 років тому +1

      +Alexander J Perera yeah, sorry about that. My windows pc is really old and the screen recorder was struggling a lot

  • @sweetteaelo5972
    @sweetteaelo5972 5 років тому

    I wish I could like this tutorial a thousand times over. Thank you and the troubleshooters in the comments so much.

  • @StickMan1316
    @StickMan1316 8 років тому +4

    Wow you are the man it worked for me!!

    • @alecaddd
      @alecaddd  8 років тому

      Happy to hear that!

    • @Aldrannt
      @Aldrannt 8 років тому

      missing link c++ www.microsoft.com/es-ES/download/details.aspx?id=48145
      sorry for the comment

    • @michaellevy9638
      @michaellevy9638 6 років тому

      Thanks Allesandro this was really helpful.

    • @streetdogg4406
      @streetdogg4406 6 років тому

      @@alecaddd the way you talk is annoying as fuck

  • @okomi
    @okomi 8 років тому +1

    Sir you dont know how useful your tutorial was.
    Thank you so.

    • @alecaddd
      @alecaddd  8 років тому

      +0komi Happy to hear that :D

  • @LastFrontierDesigns
    @LastFrontierDesigns 8 років тому +3

    +Alessandro Castellani Thanks for the tutorial on how to do all this without something like WAMP. You did not run through the configuring the MySQL Installer. Type and networking (Developmental Machine?), accounts and roles (Password and user accounts), and Windows Service. I just went with the common sense approach.
    How do install WordPress now?

    • @alecaddd
      @alecaddd  8 років тому +2

      Thanks for watching. I'm sorry but my screen recorder crashed while installing MySql. I was planning to do a part 2 but never had the time.
      The default settings are good anyway.
      I will release this week a video on how to install phpmyadmin and WordPress on Windows.
      Sorry for the delay.

    • @LastFrontierDesigns
      @LastFrontierDesigns 8 років тому +1

      +Alessandro Castellani Thank you, I'm excited and looking forward to it.

    • @Sealstalker
      @Sealstalker 8 років тому

      +Alessandro Castellani do you have this video? I can't find it.

  • @Rugarus
    @Rugarus 8 років тому

    Please help me, I have this error when trying to run c:\apache24\bin\httpd -S
    It outputs: %1 is not a valid Win32 application??

  • @alan-salihi
    @alan-salihi 8 років тому +34

    Apache does not work until you start "C:\Apache24\bin\ApacheMonitor.exe" manually, then click "start" from its icon in "system tray". Only then the localhost works!
    localhost/

    • @lucifer7187
      @lucifer7187 7 років тому

      thanks a lot buddy

    • @punitpatel324
      @punitpatel324 7 років тому +1

      hey, thank you for suggestion. I tried what you'd say but it prompts message "The request operation has failed!" when i tried to start Apachemonitor.exe. What should i do?

    • @vaibhavkumargautam
      @vaibhavkumargautam 7 років тому

      go to control panel-administrative tool-service -click on apache and start service

    • @vaibhavkumargautam
      @vaibhavkumargautam 7 років тому

      go to control panel-administrative tool-service -click on apache and start service

    • @vaibhavkumargautam
      @vaibhavkumargautam 7 років тому

      thanks brother

  • @jasonwilliams199
    @jasonwilliams199 8 років тому +1

    Outstanding tutorial, I've always used windows installer for PHP and Apache, you've taught me some new things by manually installing them. Thank you.

    • @alecaddd
      @alecaddd  8 років тому

      +Jason Williams Awesome! I'm really happy to hear that. Thank you for watching!

  • @cristiantovartb
    @cristiantovartb 8 років тому +7

    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 don´t know if the error is because i have installed Sql Server and it installs other versions of visual c++ apart of the 2015

    • @alecaddd
      @alecaddd  8 років тому

      +Cristian Santiago Tovar Bejarano I'm sorry for your situation, I know how it is to deal with Windows.
      The first thing I suggest you to try is to check if you have installed both Apache and PHP with the same version, x64 or x86. That could be the problem. Check what kind of OS you have and download the right files.
      Cheers

    • @cristiantovartb
      @cristiantovartb 8 років тому

      +Alessandro Castellani yes in have installed all with 64bits versión, windows, apache, PHP and visual c++

    • @cristiantovartb
      @cristiantovartb 8 років тому +1

      +Cristian Santiago Tovar Bejarano if i comment the 3 lines tha we add to the httpd file the Server starts

    • @alecaddd
      @alecaddd  8 років тому

      +Cristian Santiago Tovar Bejarano mhhh...did you try to create a PHP file with and see if your PHP works?
      If doesn't it means that you didn't hook PHP to your Apache, and you had a typo in those 3 lines.
      Let me know!

    • @cristiantovartb
      @cristiantovartb 8 років тому +1

      +Alessandro Castellani no, the php file doesn't work, i´m going to copy and paste the 3 lines
      LoadModule php5_module "c:/php/php5apache2_4.dll"
      AddHandler application/x-httpd-php .php
      PHPIniDir "C:/php"
      thanks (Y)

  • @stride7860
    @stride7860 8 років тому

    Hey again Alessandro, I've gotten to a further section in my book and I need to use PEAR (PHP Extension and Application Repository) package installer for things like Mail_Mime and MDB2. I'm supposed to have a go-pear directory under php when using PHP5 but for some reason I don't have that directory with my install. Do you know anything about PEAR and why the PHP version downloaded from this video doesn't have it available?

    • @stride7860
      @stride7860 8 років тому

      I had to manually install it and install the packages. For anyone else who may be using the same book or would like to use PEAR I will list the steps I took:
      1. Download this file: pear.php.net/go-pear.phar
      save it as go-pear.phar. BE CAREFUL: my system saved it as go-pear.phar.txt for some reason.
      2. Save it to your c:\php\ directory.
      3. Open cmd line and navigate to your c:\php\ directory
      4. type php go-pear.phar
      5. answer questions that the script asks you, I installed local and kept defaults
      6. type at cmd line pear install packageName
      You can install things like Mail_Mime or MDB2 as I did.
      This worked for me.

  • @SCARPESG
    @SCARPESG 6 років тому +1

    I used your method for windows 7 and php7. This video helped me a lot. Keep up the good work :)

    • @alecaddd
      @alecaddd  6 років тому

      Thank you so much :D

  • @immortalhan5378
    @immortalhan5378 7 років тому +1

    when i type C:\apache24\bin\httpd -S at 11:00 it gives me an error. Pls help me on this one
    httpd: Syntax error on line 532 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: %1 is not a valid Win32 application.

  • @gene_Code
    @gene_Code 6 років тому +1

    This is very clear and straight forward tutorial. Brilliant!

    • @alecaddd
      @alecaddd  6 років тому

      Thank you so much

  • @pavikutty7259
    @pavikutty7259 6 років тому +2

    Even though I was desperately waiting for the video to end coz my eyes nearly popped outta my socket and i was spending an hour doing what you did in 17 minutes I'm from the deepest core of my heart is so grateful you uploaded this video😍 Else I could have died inside Google searching forever😂 Thanks yar! Like seriously means a lot ! Take care and do upload more such videos Thank☺☺

    • @alecaddd
      @alecaddd  6 років тому +1

      I'm happy I was helpful, thank you so much for watching and Happy Coding :D

  • @ajankoppan966
    @ajankoppan966 7 років тому +1

    Thanks for your effort and sharing. One thing I have noticed is as other comments, we need to stop world wide publishing and start apache service mannually

    • @alecaddd
      @alecaddd  7 років тому

      Thanks for watching and for sharing your experience.

  • @deonbotha5020
    @deonbotha5020 7 років тому +1

    Thank you very much! What a battle it was before I found your instructions. It worked like a dream from the work go and I am up and running.

    • @alecaddd
      @alecaddd  7 років тому

      I'm glad my video was helpful

  • @Clifton100
    @Clifton100 7 років тому +2

    Dude, you are king!!! Thanks a bunch! It was a little fast but fantastic!

    • @alecaddd
      @alecaddd  7 років тому

      Thank you so much for watching :D

  • @0001chichi
    @0001chichi 4 роки тому +1

    Thanks a lot! it worked. Please note that i needed to manually start apache. I used httpd -k restart on the command prompt and it worked. i can now access this from my local host

  • @brzozowsky
    @brzozowsky 6 років тому +2

    Thank you for saving my life and my grades

    • @alecaddd
      @alecaddd  6 років тому

      You're very welcome :D

  • @ahsanabbas9300
    @ahsanabbas9300 5 років тому +1

    How to solve this Error
    C:\WINDOWS\system32>c:\apache24\bin\httpd -S
    httpd: Syntax error on line 537 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

  • @hedmilsondomingos5465
    @hedmilsondomingos5465 8 років тому

    Hello I'm getting an error while checking if the apache setting are well configured....
    It's saying "httpd: Syntax error on line 522 of C:\Apache24/conf/httpd.conf: Cannot load c:/php/phpapache2_4.bll into server: The specified module cannot be found." what can I do to solve this problem?

  • @sanctuary833
    @sanctuary833 8 років тому

    Hi Alessandro, I have followed your instructions upto the admin cmd prompt, i have typed Apache24\bin\httpd -k install but the file path isn't being recognised, also the variable change I did and typed the same as above with -s at the end and this also not being recognised

  • @CR7hapyak007
    @CR7hapyak007 8 років тому +2

    help me please everything goes perfect but at last i enter php -m in command " the application was unable to start corectly(0xc00007b)" is shown in my laptop plz tell me the solution Alessamdro

    • @alecaddd
      @alecaddd  8 років тому

      +Ravi Aryal Mh, weird error.
      Are you sure you installed everything in the list and from the same version? Or 32 or 64 bit?

    • @CR7hapyak007
      @CR7hapyak007 8 років тому

      yes i ve installed 64 bit

    • @CR7hapyak007
      @CR7hapyak007 8 років тому +2

      ok all things working good now but in my browser for localhost IIS windows opens... and i've unchecked IIS feature from add/remove windows features.

  • @CreativeContentsOnWay
    @CreativeContentsOnWay 7 років тому

    I am executing command like C:Apache24\bin\httpd -S but getting error as bellow why so,
    Syntax error on line 533 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found.

  • @drismerfb5454
    @drismerfb5454 8 років тому +1

    It's awesome, you deserve more than 100 likes , i hope you'll get 100k subscribers soon , thank you for help ^^

    • @alecaddd
      @alecaddd  8 років тому

      +Drismer F'B Oh wow, thank you so much. For now I'm more than happy with helping whoever needs help, subscribers and likes will come with the time.
      Cheers

  • @Utsav_Raut
    @Utsav_Raut 7 років тому +1

    The installation went nice and smooth. Thank You very much for explaining the steps so nicely. Brilliant video :)

    • @alecaddd
      @alecaddd  7 років тому +1

      Thank you so much, happy to hear that. You're one of the few that didn't have any problem :D

  • @cryingorca3940
    @cryingorca3940 7 років тому

    C:\WINDOWS\system32>\apache24\bin\httpd -S
    httpd: Syntax error on line 532 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found.
    What does this mean?

  • @vineeth3920
    @vineeth3920 8 років тому +1

    hi i am getting this error but not able to solve it Help plz
    httpd: Syntax error on line 529 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

    • @alecaddd
      @alecaddd  8 років тому

      I think you have a small typo in your httpd.conf file when your declaring the load of the PHP module. Check the file at line 529 and compare your code with mine.

  • @afnasok8177
    @afnasok8177 6 років тому

    when i entering ''c:\apache24\bin\httpd -S'' shows "httpd: Syntax error on line 531 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from"

  • @jamesspeight5245
    @jamesspeight5245 8 років тому

    When I go to check if the settings are ok it comes up saying that it couldn't reliably determine the server's fully qualified domain name and to set the 'ServerName' directive globally to suppress the message. I'm not really sure how to fix this mistake. Do you know where I went wrong?

  • @sumitwankhede6034
    @sumitwankhede6034 7 років тому

    When I would go to environmental variables and double click on path the their is dialogue box in which I could add only one path. what should I do to fix that ?

  • @monicaverma9298
    @monicaverma9298 8 років тому

    After running the command in cmd for installing apache, its showing me error as "VCRUNTIME140.dll is missing. Try reinstalling the program." Why is it? What shall I do?

  • @BornStarAmericaKPop
    @BornStarAmericaKPop 6 років тому +1

    When I clicked at the "Path", I don't have the option to add the bunch of variables. What can I do in that case?

    • @alecaddd
      @alecaddd  6 років тому

      I'd suggest trying Laragon. It's a way easier and more modern approach to local development on Windows

  • @israelcontreras5332
    @israelcontreras5332 3 роки тому

    If we are using php 7 do we type php 7 instead of 5 when modifying the httpd.conf file? php 7 and 8 are the only versions available these days.

  • @TheSwordOfPalestine
    @TheSwordOfPalestine 5 років тому +1

    im doing a collage project
    and i done the html page in my pc.
    now ! how can i make a website server and database to my html page. any help,hope u relpy soon,sry For Bad ENG

  • @lenardsimmons-research
    @lenardsimmons-research 7 років тому +2

    Thank you for leading me here. You are teaching me a lot. If I have question, I'll let you know.

    • @alecaddd
      @alecaddd  7 років тому +1

      Thank you so much for being part of the community :D

  • @amauripump
    @amauripump 6 років тому +1

    Thanks a lot, it opened my mind. I aways used WAMP, XAMP and this type od "budle". But, install and use the tools like this, it's waaaaaaay better and lighter.

  • @dkirankrishna
    @dkirankrishna 6 років тому +1

    bro awsome. i tried 1 day wasting try to install php. no reference showed me correct path.
    very simple. awsome

  • @adlp1991
    @adlp1991 8 років тому

    I want to publish my apache server through a public IP, do i need to change the file httpd in the server name from local host to an url?

  • @brazsuthar
    @brazsuthar 5 років тому

    help please;
    i downloades php 7
    and cmd command says
    "httpd: Syntax error on line 539 of C:/Apache24/conf/httpd.conf: Cannot load C:/php/php7apache2_4.dll into server: %1 is not a valid Win32 application.
    "
    what to do ?
    please help

  • @suruparay9128
    @suruparay9128 5 років тому

    Getting the below error:
    httpd: Syntax error on line 75 of C:/apache24/Apache24/conf/httpd.conf: Cannot load modules/mod_actions.so into server: The specified module could not be found.
    Can you please help?

  • @GARIMAJAISWALGJ
    @GARIMAJAISWALGJ 5 років тому

    HelloI've followed all the instructions, everything seems correct but my info.php is not working. Earlier I'd an issue with msvcr110.dll I downloaded and placed it in php folder. Any suggestion please.

  • @tahaahmed873
    @tahaahmed873 5 років тому

    C:\WINDOWS\system32>C:\Apache24\bin\httpd -S
    httpd: Syntax error on line 537 of C:/Apache24/conf/httpd.conf: Cannot load C:\\php\\php5apache2_4.dll into server: The specified module could not be found.

  • @avarishrozario8070
    @avarishrozario8070 4 роки тому +1

    Hey Man, thank you so so much for this video. This is a very very good video which is easy to follow and very informative. With this video I have been able to set up Apache and its basic functions (on my computer). I hope to come back to your videos and learn more stuff. Thank you for the great content and keep it up :) !!!!!

  • @renukaravula1174
    @renukaravula1174 5 років тому

    i have downloaded thread safe but still get this error "httpd: Syntax error on line 534 of C:/Apache24/conf/httpd.conf: Cannot load c:\\php\\php5apache2_4.dll into server: The specified module could not be found."

  • @Timetraveler_1
    @Timetraveler_1 7 років тому

    ma la cartella/sito creato con apache, è raggiungibile da utenti connessi da un'altra rete? nel senso , quella cartella è online a disposizione di tutti o è visibile solo alle macchine connesse al router/pc dove è installata la cartella del sito? perchè vorrei usare il mio router/modem per hostare un mio sito web, e quindi vorrei sapere se apache permette di fare questo.

    • @alecaddd
      @alecaddd  7 років тому

      Devi configurare il tuo computer per avere un indirizzo pubblico accessibile, ma si puoi farlo. Questo tutorial è solo per configurare un host locale.

  • @SlayCrafterz1819
    @SlayCrafterz1819 5 років тому +1

    this error is showing up-
    (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80
    (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80
    AH00451: no listening sockets available, shutting down
    AH00015: Unable to open logs
    please tell how to fix it?
    I have downloaded php 7.3 (as php 5.6 was not available) and used some directions in coding given in comments.

  • @MathsJoseFuentes
    @MathsJoseFuentes 8 років тому

    what was the letter or symbol that you added before install on the command window?

  • @kieranbrown6850
    @kieranbrown6850 7 років тому +1

    Very good tutorial, most others forget to mention you need to restart your PC. :) And also are you Sheldon coopers double? :P

    • @alecaddd
      @alecaddd  7 років тому

      I might be actually Sheldon Cooper

  • @RealDevanMoore
    @RealDevanMoore 7 років тому +1

    Thank you so much, Alessandro. Very easy to follow and works like a charm.

    • @alecaddd
      @alecaddd  7 років тому

      Happy to hear that :D

    • @RealDevanMoore
      @RealDevanMoore 7 років тому

      Hey My Friend, I'm trying to build a map web app, but it's not working on my local web server. Here's what the documentations states on ESRI's website:
      If developing a traditional web application that is to be accessed via the browser, the recommended approach is to deploy it to a web server and access it via (or ) rather than file://. Web server software is available free of charge for all operating systems. For Windows, IIS is recommended.
      Is what showed me the right setup?

  • @Jameeface
    @Jameeface 7 років тому +1

    Thanks so much for this video. It took away the headache.

    • @alecaddd
      @alecaddd  7 років тому

      Glad to hear that :D

  • @praveenpandit7396
    @praveenpandit7396 4 роки тому +1

    Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found
    IF You Are Getting Same Error Replace The Bottom Code with
    LoadModule php5_module "c:/php/php5apache2_4.dll"
    # configure the path to php.ini
    PHPIniDir "C:/php"
    AddHandler application/x-httpd-php .php

  • @kandoll4493
    @kandoll4493 8 років тому +1

    i am having a problem at virtual host configuration step
    at 10.51 in your video
    IT SAYS CANNOT LOAD C:/php/php5apache2_4.dll into server.the specified module could not be found.
    help plz.

    • @alecaddd
      @alecaddd  8 років тому +1

      This issue is really common if you check the comments, pretty much everyone had this problem. The reasons could be multiple.
      Did you installed PHP with the same version of your apache and Operating System? 32bit or 64bit?
      Is the file actually there?
      Did you write the patch correctly?
      Is the file readable?
      Cheers

    • @diegoespinosa3086
      @diegoespinosa3086 8 років тому

      it's the same problem to me.... i really done everything but dll is not found

  • @jerkreations
    @jerkreations 7 років тому +1

    Rather than explicitly changing "DirectoryIndex index.html" to "DirectoryIndex index.php", you should be able to ADD types in order of preference. So the line can read for example as:
    "DirectoryIndex index.php index.html index.htm"
    This way you don't necessarily need to go back to it to change later to adjust the index type.

    • @alecaddd
      @alecaddd  7 років тому +1

      Thanks for the suggestion

    • @jerkreations
      @jerkreations 7 років тому +1

      You're welcome - thanks for the vid! Just needed a refresher, as I haven't done a full manual install for a while, you got me back up to speed.

  • @TheTurnerProduction
    @TheTurnerProduction 8 років тому

    When adding the directories to the system variable, I don't have the option to add more than one directory. How can I fix this?

  • @jameskelly9277
    @jameskelly9277 6 років тому +1

    I had to do a little fixing for the updated versions but this was great. I will be subscribing. Please update these if you can

    • @alecaddd
      @alecaddd  6 років тому

      Thank you so much, I'm glad it worked for you.
      I'd suggest giving a try to Laragon, is a way easier and more modern approach to local development on Windows.
      Cheers

  • @olojedewilliam9587
    @olojedewilliam9587 8 років тому +1

    I have wamp already installed on my pc,will this affect it functionality?? just wondering

    • @alecaddd
      @alecaddd  8 років тому

      +olojede william Not sure, but probably it'll create some issue. Windows has always been weird with these stuff.

  • @mayankstar364
    @mayankstar364 4 роки тому

    Hey it's throwing me a syntax error on line 538 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

  • @isidroespenidojr9679
    @isidroespenidojr9679 4 роки тому

    Hi, my .ini has not having extension_php-mysql.dll, please help. Thanks

  • @fatimazehralilani1525
    @fatimazehralilani1525 8 років тому

    Hi! It was a great video. Thank you! Just a quick question, I successfully installed Apache and PHP on Windows10; however; when restarted, It took ages to get into working condition. Is it just the case with me or with everyone? P.S. I have 8GB RAM. What is the reason behind it? Any way of fixing it?

  • @robcikslacis372
    @robcikslacis372 6 років тому

    I got an issue. The server kinda ran properly so thats fine but when i made .php file with , it just shows as a txt file.... why? Also tried installing phpmyadmin and when i open localhost/phpmyadmin... it just shows a bunch of code rather than the setup of phpmyadmin.. Just like if i opened a text document....

  • @ieoie
    @ieoie 7 років тому

    want to team up for a project in VR and youtube 360...???

    • @alecaddd
      @alecaddd  7 років тому

      Thanks for the offer, but I don't really have the time to jump on a side project

  • @nileshpant19
    @nileshpant19 8 років тому

    hi sir...i have a question In this video u show us how to download and install Mysql but this mysql is used in java can this mysql can connect with php programs or we need to install Phpmyadmin

  • @squizel29
    @squizel29 6 років тому

    I have windows 8.1 and when I go to 'Environment Variables' and into 'System Variables' then click on Path, it comes up with 'Edit System Variables' NOT 'Edit Environment Variables' like it shows in the video at 9:46. So what do I do?

    • @alecaddd
      @alecaddd  6 років тому

      I'd suggest trying Laragon, is a way easier and modern approach to local development on Windows.
      Cheers

  • @cristinaFAPSS
    @cristinaFAPSS 5 років тому

    Hi,
    Just installed and it runs exactly as you explain (except the PHP module code, it’s now “c:/php/php7apache2_4.dll”) and now I’m not being able to make the “bridge” to install Wordpress. Do you have any tutorial to install Wordpress or, if not, do you recommend any?
    Thx

  • @sebastianhernandez845
    @sebastianhernandez845 4 роки тому +1

    I'm getting an error when I try ''C:\>cd php'' it just says ''the system cannot find the path specified''. How do I fix that? Thank you :)

  • @NatarajKR007
    @NatarajKR007 8 років тому +2

    Wow!!! Great tutorial... It's awesome

    • @alecaddd
      @alecaddd  8 років тому

      +Nataraj KR Thank you so much!

  • @vern0312
    @vern0312 7 років тому

    I am not seeing the index.html file when i go to "localhost". the files are there in the "htdocs" folder. the browser only says "It Works" im assuming thats for apache server.

  • @akanksha8523
    @akanksha8523 7 років тому +1

    Great video. Worked like a charm. Thank you!

    • @alecaddd
      @alecaddd  7 років тому

      Happy to hear that, thanks for watching!

  • @fielbuencamino2421
    @fielbuencamino2421 4 роки тому

    How do I solve this problem?
    httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message

  • @lindatreadway9016
    @lindatreadway9016 5 років тому

    Thank you for this tutorial. I followed your instruction quite closely, but somehow the Apache htdocs file showed up as a Chrome html file. And when I open it all it says is "It Works" but does not show the index as in your video. Can you tell me how to correct? Thank you

  • @Greviouson
    @Greviouson 6 років тому +1

    thanks you so much men, the best guide for this in YT

    • @alecaddd
      @alecaddd  6 років тому

      Thanks for watching :D

  • @mihai4754
    @mihai4754 5 років тому

    How can I solve this for Apache?
    AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::e17d:621b:6622:61b. Set the 'ServerName' directive globally to suppress this message

  • @ΑναστασίαΚαρτελιά-ψ4μ

    C:\WINDOWS\system32>C:\Apache24\bin\httpd -S
    httpd: Syntax error on line 533 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from
    please help !!!!