PHP, Apache, MySQL, Windows - WampServer
PHP, Apache, MySQL, Windows - WampServer
WampServer
Apache,PHP,MySQLonWindows
Homeforum
BacktoWampServer
presentation
Downloads
Addons
Trainings
AlterWay
wampinlinux
Postedby:muhammedbasilsk(49.137.226.)
Date:June15,201102:47PM
howdoinstallwampinlinux(ubuntu)????
Re:wampinlinux
Postedby:yfastud(Moderator)
Date:June15,201108:32PM
DownloadandinstallUbuntuserverversionwhichalreadyhaveLAMP
Havefun,
FREEOneADay
FREEPhoto
FREEGames
FREEWebsites
FREEPortableGPS
FREEWAMPGuides
Re:wampinlinux
Postedby:sasa(210.212.249.)
Date:June16,201112:18PM
InstallApache
TostartoffwewillinstallApache.
1.OpenuptheTerminal(Applications>Accessories>Terminal).
http://forum.wampserver.com/read.php?2,74970,printview,page=1
1/5
11/28/2015
2.Copy/PastethefollowinglineofcodeintoTerminalandthenpressenter:
sudoaptgetinstallapache2
3.TheTerminalwillthenaskyouforyou'repassword,typeitandthenpressenter.
TestingApache
TomakesureeverythinginstalledcorrectlywewillnowtestApachetoensureitisworkingproperly.
1.Openupanywebbrowserandthenenterthefollowingintothewebaddress:
[localhost]
Youshouldseeafolderentitledapache2default/.Openitandyouwillseeamessagesaying"Itworks!",
congratstoyou!
InstallPHP
InthispartwewillinstallPHP5.
Step1.AgainopenuptheTerminal(Applications>Accessories>Terminal).
Step2.Copy/PastethefollowinglineintoTerminalandpressenter:
sudoaptgetinstallphp5libapache2modphp5
Step3.InorderforPHPtoworkandbecompatiblewithApachewemustrestartit.Typethefollowing
codeinTerminaltodothis:
sudo/etc/init.d/apache2restart
TestPHP
ToensuretherearenoissueswithPHPlet'sgiveitaquicktestrun.
Step1.Intheterminalcopy/pastethefollowingline:
sudogedit/var/www/testphp.php
Thiswillopenupafilecalledphptest.php.
Step2.Copy/Pastethislineintothephptestfile:
<?phpphpinfo()?>
Step3.Saveandclosethefile.
http://forum.wampserver.com/read.php?2,74970,printview,page=1
2/5
11/28/2015
Step4.Nowopenyou'rewebbrowserandtypethefollowingintothewebaddress:
[localhost]
CongratsyouhavenowinstalledbothApacheandPHP!
InstallMySQL
TofinishthisguideupwewillinstallMySQL.(NoteOutofApacheandPHP,MySQListhemost
difficulttosetup.Iwillprovidesomegreatresourcesforanyonehavingtroubleattheendofthisguide.)
Step1.OnceagainopenuptheamazingTerminalandthencopy/pastethisline:
sudoaptgetinstallmysqlserver
Step2(optional).Inorderforothercomputersonyournetworktoviewtheserveryouhavecreated,you
mustfirsteditthe"BindAddress".BeginbyopeningupTerminaltoeditthemy.cnffile.
gksudogedit/etc/mysql/my.cnf
Changetheline
bindaddress=127.0.0.1
Andchangethe127.0.0.1toyourIPaddress.
Step3.Thisiswherethingsmaystarttogettricky.BeginbytypingthefollowingintoTerminal:
mysqluroot
Followingthatcopy/pastethisline:
mysql>SETPASSWORDFOR'root'@'localhost'=PASSWORD('yourpassword')
(Makesuretochangeyourpasswordtoapasswordofyourchoice.)
Step4.WearenowgoingtoinstallaprogramcalledphpMyAdminwhichisaneasytooltoedityour
databases.Copy/pastethefollowinglineintoTerminal:
sudoaptgetinstalllibapache2modauthmysqlphp5mysqlphpmyadmin
AfterthatisinstalledournexttaskistogetPHPtoworkwithMySQL.Todothiswewillneedtoopena
fileentitledphp.ini.Toopenittypethefollowing:
gksudogedit/etc/php5/apache2/php.ini
Nowwearegoingtohavetouncommentthefollowinglinebytakingoutthesemicolon( .
http://forum.wampserver.com/read.php?2,74970,printview,page=1
3/5
11/28/2015
Changethisline:
extension=mysql.so
Tolooklikethis:
extension=mysql.so
NowjustrestartApacheandyouareallset!
sudo/etc/init.d/apache2restart
TheEnd
QuicknotetoanyonewhoencounteredproblemswithsettinguptheMySQLpassword,pleasereferto
thispage:MysqlPasswordReset
Iapplaudeveryonewhohastakenthetimetoreadthisguide.ThisguideisalsomyfirsteversoIwould
lovetohearbackfromthepubliconwhatyouguysthink!Justdon'tbetooharsh.
IfyouhavequestionsaboutinstallinganypartofLAMPjustdroptheminthecommentboxandIwilldo
mybesttohelpyouout.
[email protected]
Re:wampinlinux
Postedby:yfastud(Moderator)
Date:June16,201105:31PM
Niceguidebutit'smucheasierandmoreefficiencytoinstallUbuntuServerthansetupLAMPonUbuntu
Desktopversionthenonly1commandtogetGUI
sudoaptgetubuntudesktop
Havefun,
FREEOneADay
FREEPhoto
FREEGames
FREEWebsites
FREEPortableGPS
FREEWAMPGuides
Greatguide!
Postedby:nilsnh(.79161163.customer.lyse.net)
Date:June27,201106:44AM
Hithere.StumbleduponyourpostbysearchingthewebforawaytosetupaLAMPserver.Thanksfor
writinganeatguide.^_^
Re:wampinlinux
Postedby:deepesh(14.139.56.)
http://forum.wampserver.com/read.php?2,74970,printview,page=1
4/5
11/28/2015
Date:February08,201302:00PM
wherewehavetoputthewebsitetouploadit
Goto:ForumListMessageListSearchLogIn
Sorry,onlyregisteredusersmaypostinthisforum.
Clickheretologin
http://forum.wampserver.com/read.php?2,74970,printview,page=1
5/5