What's new
  • Welcome to PHCorner forums. Take a moment to sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

INSTALL MYSQL , APACHE & PHP on windows 10 for aspiring Programmers

PsiponHandler

Established
Joined
Feb 12, 2018
Posts
958
Solutions
1
Reaction
185
This is to share my knowledge pano i-install si PHP & MYSQL pati narin XAMPP on windows

following ang files na need

Apache - Latest
MySQL - Latest
PHP - Latest Safe Thread(zip file)

eto narin links for download
pa tanngal nalang ng "()"

Download Apache for Windows: You do not have permission to view the full content of this post. Log in or register now.
Download PHP for Windows (select "Thread Safe"): You do not have permission to view the full content of this post. Log in or register now.
Download MySQL for Windows (select ZIP Archive): You do not have permission to view the full content of this post. Log in or register now.

below files is prerequisites

Download the latest C++ Redistributable Visual Studio 2017: You do not have permission to view the full content of this post. Log in or register now. o=
Download Visual C++ Redistributable Packages for Visual Studio 2013: You do not have permission to view the full content of this post. Log in or register now.


lets go............................

MySQL installation windows 10:
note: pag download kay mysql
gamit kayo ng MD5 checksums and GnuPG signatures para maverify yung integrity ng packages na nadownload nio

assume na nadownload nio na si mysql click Run
select(check) license agreement lang then next
select Server only
magtatanong na iinstall si Visual Studio 2013 sa computer system
tapos click Execute button kasi need

then may mag popop up(installer ni Vsc++ 2013) agree then IOnstall
tapos after successful then click Close

magpapakita about check requirements form click Next
Installtion form click Execute
Product configuration form default lang so->Click Next
Magpapakita yung form about Type and Networking
naka default naman so->Click Next ulit

tapos accounts and roles form
need maglagay ng MySQL Root Password: tapos repeat password lang for verification
click next
Windows service form magpapakita then check yung standard system account tapos click next

Plugins and Extensions
walang enable click next lang

tapos after all click finish

Ready to use na ang MySQL database server mo. Pwede mong magamit sa any MySQL Client software for managing databases, gaya ng phpMyAdmin,SQL YOG, Heidi SQL at marami pang iba


Pagkatapos ng SQL apache naman tayo


Apache 2.4 Installation
after ma download ni apache unzip, sa C:\Apache24\directory:
tapos, punta sa C:\Apache24\conf\ and open httpd.conf file sa kahit anong text editor.

palitan nio below line in sa mga sumusunod na file:
#ServerName You do not have permission to view the full content of this post. Log in or register now.
ServerName localhost

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit

AllowOverride None
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit

AllowOverride All
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule rewrite_module modules/mod_rewrite.so

after nio ma change
register nio na si apache service

open and run cmd as admin tapos
type nio cd Apache24/bin
tapos pag nasa directory na kayo ni apache24/bin:
type httpd -k install

tapos magpapakita na apache 2.4 service is successfully installed
to verify na gumagana type nio lang sa any browser
http://localhost/

then may nakalagay na It Works!
voila good na si apache

Last si PHP naten
assume na nadownload na si php
afte ma downloadn
unzip si php sa kahit anong folder suggest sa desktop then name it php+version example "php8.0.0" tapos
after ma unzip
punta sa ProgramFiles if 64bit operating system mo, sa ProgramFiles mismo pero pag 32 bit, sa ProgramFiles(x86) ka pumasok
after makapasok sa ProgramFiles folder

copy mo yung unzip files mo na ang name is php8.0.0
after mo ma copy kunin mo yung directory ng php8.0.0 na folder example: C:\PrgramFiles\php8.0.0
"C:\PrgramFiles\php8.0.0" copy mo without quotes then

search mo sa windows Edit the system environment variables
punta ka sa advanced tab
click mo sa bottom right
environment variables
then makikita mo yung system variables sa baba
click mo yung path
then add new ka
then paste mo yung kinopy mo kanina then click ok




sana makatulong sa mga nahihirapang mag setup ng PHP
next thread xampp naman.


God Bless and stay safe. Pag may problem wag mag alinlangang mag message or comment
 

sandangkal

Enthusiast
Tama dapat nagsheshare din tayo ng knowledge, salamat ser..
Sir which is better WAMPP or XAMPP?
 
1 Comment
P
PsiponHandler
sorry late reply medyo naging busy sa work.
WAMP kasi is better for beginners lalo na pag windows OS ang gamit at PHP programming language ang ginagamit na pl.
pero mas maraming features ang XAMPP kesa kay WAMP at mas ideal sa experience programmers ang XAMPP dahil nga flexible ito at cross platform. it means kahit anong os gamit mo walang problema.
 

Popular On This Forum

Online statistics

Members online
590
Guests online
784
Total visitors
1,374

Forum statistics

Threads
1,133,084
Posts
18,737,441
Members
1,547,955
Comments
1,395,977
Attachments
1,501,634
Profile posts
98,760
Top