:: Support Me ::

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:
Download Microsoft Visual Studio:
Download PHP:
Download MySql:

:: Support Me ::

Download Sunset Theme FREE:

:: Tutorial Series ::
WordPress 101 – Create a theme from scratch:
Learn SASS from Scratch:

:: My Website ::

:: Follow me on ::
Twitter:
Google+:
Facebook:

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-php/

34 Comments

Johannes Fiftyeight

April 18, 2020

why not just use xampp ???

Reply

arumteguh

April 18, 2020

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

Reply

Md Ejaz

April 18, 2020

C:Windowssystem32>c:apache24pinhttpd .k install

The system cannot find the path specified.
how can solve this problem

Reply

A B

April 18, 2020

Are you using OBC screen recorder? Is it free or paid version?

Can you tell PHP books for beginners? Please

Reply

shanmuga priya shanmuga priya

April 18, 2020

🙏Thank you so much …

Reply

Avarish Rozario

April 18, 2020

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 🙂 !!!!!

Reply

Robert Spreadborough

April 18, 2020

4 years on – thanks Alessandro

Reply

Mayank Kumar

April 18, 2020

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

Reply

Jay Sinh

April 18, 2020

Thanks!!

Reply

Sivaprasad K

April 18, 2020

Very Nice Video and direction.

Reply

Mohammad Barghamadi

April 18, 2020

thanks a lot

Reply

Lance Geronaga

April 18, 2020

How do i fix this?

httpd: Syntax error on line 538 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found.

Reply

Usman Abdul Haleem

April 18, 2020

I've been given this error what's the fix on this
httpd: 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

Reply

ahsan abbas

April 18, 2020

last command can't working
php -M

Reply

ahsan abbas

April 18, 2020

How to solve this Error

C:WINDOWSsystem32>c:apache24binhttpd -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

Reply

Tshering Choda

April 18, 2020

FACING THIS PROBLEM…I AM A COMPLETE NOVICE BTW

Microsoft Windows [Version 10.0.18362.418]

(c) 2019 Microsoft Corporation. All rights reserved.

C:WINDOWSsystem32>c:apache24binhttpd -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: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

C:WINDOWSsystem32>c:Apache24binhttpd -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

C:WINDOWSsystem32>c:Apache24binhttpd -k install

[Tue Nov 12 20:05:10.894239 2019] [mpm_winnt:error] [pid 2940:tid 152] AH00433: Apache2.4: Service is already installed.

C:WINDOWSsystem32>c:Apache24binhttpd -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.

C:WINDOWSsystem32>c:Apache24binhttpd -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.

TRIED ALL THIS BUT COULDNT GET HEAD OR TOE OF IT…HELP PLEASE

Reply

Harminder Kaur

April 18, 2020

When I run php files the code is displayed in the browser. Apache is not executing PHP. I have checked httpd.conf, check php -v, checked httpd -t everything seems in order. Can anyone help?

Reply

Disregardless

April 18, 2020

Ok, guys I found a fix for those of you using PHP 7.x

The last lines of the httpd.conf should be:

LoadModule php7_module "c:/php/php7apache2_4.dll"

# configure the path to php.ini

PHPIniDir "C:/php"

AddType application/x-httpd-php .php

And ignore what tapclick said, if you put the <IfModule php5_module> and </IfModule> around it, it won't work.

Reply

real exo-L forever

April 18, 2020

for php 7 use this
LoadModule php7_module "C:/PHP/php7apache2_4.dll"

AddHandler application/x-httpd-php .php

# configure the path to php.ini

PHPIniDir "C:/PHP"

Reply

Kasturi Redkar

April 18, 2020

I'm getting "the code execution cannot proceed because VCRUNTIME 140.dll was not found. Reinstalling the program may fix this problem" I reinstalled it again but I'm getting the same thing

Reply

alice cooper

April 18, 2020

the code he typed in 6:50 in case you don't feel like typing(except my php version is 7 just change it to whatever the number is for you )

LoadModule php7_module "c:/php/php7apache2_4.dll"

AddHandler application/x-httpd-php .php

#configure the path to the php.ini

PHPIniDir "C:/php"

Reply

Numba Waan

April 18, 2020

Cannot find the path specified in cmd

Reply

Noel Deepak Palle

April 18, 2020

C:windowssystem32>c:Apache24binhttpd -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

stuck here…Please help

Reply

Rafiqui dagreat

April 18, 2020

I followed all of this video…but I still don't know how to actually open phpmyadmin? I must be totally dumb. Can you please help?

Reply

hiimjustin000

April 18, 2020

0:56

Reply

hiimjustin000

April 18, 2020

I recommend you copy and paste php.ini-development and rename it php.ini.

Reply

M W

April 18, 2020

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

Reply

Braz Suthar

April 18, 2020

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

Reply

Greta Ivanauskaite

April 18, 2020

Thank you for the video, it was a huuuge help! The installation for PHP 7 was slightly different but you were so informative that I could adapt the changes myself.

Reply

Titilope Chisom

April 18, 2020

Please i need help with this.i did everything as it was in the video and used some of the corrections in the comments but still my php wont execute, it keeps showing as the code i typed when i open my local host …. what else can i do?

Reply

SweetTea&Elo

April 18, 2020

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

Reply

Insprill

April 18, 2020

here is the download for the latest version (as of now) of the micro thing https://www.microsoft.com/en-us/download/details.aspx?id=48145

Reply

margoumix

April 18, 2020

For 7.2 version of php (12:38) the php mysql extension is pdo_mysql instead I think somthing wrong with the php7 and mysqli I tested it on moodle

Reply

Own IT

April 18, 2020

Hello uhm I have this problem with my CMD, when you typed in "php -m" it opens php.exe where maybe it will display the output but then it closes automatically in a blink of an eye, and normally it should display the output on the CMD itself but mine didn't. I also tried "php -v" but somehow it doesn't work also. I just installed Composer and Laravel after installing Apache, PHP and MySQL. Can anyone help me regarding this problem?

Reply

Leave a Reply