In this post i simply explain you how to install php,mysql and apache on your windows computer.If you going to start learning php first you want to install this to see outputs of your php codes because php is only interpret in servers.Follow these steps.
1st Step
First go to one of these below link and download software package which match with you Os (XP,7or 8)and bit version(32bit or 64bit).These are free packages.
1.WAMP server-Click on this link
2.EasyPhpDeveloper - Click on this link
2nd Step
Install software and reboot your computer.Then run the application.Go to the task bar and right click on application icon.There you can find options call Administration, Localhost, Restart server and etc.
3rd Step
If server is always offline or local host is not working,there can be several reasons.
1.Software package may not match with your system.
2.ERROR-Not Found
HTTP Error 404. The requested resource is not found.
reason-Your port 80 is actually used by:
Server: Microsoft-HTTPAPI/2.0To overcome or resolve this error
- Type RegEdit on run or search place of your os and run that small programme.
- Then in opened window go HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> HTTP
- Then change the value 3 in start text field to value 4. (3 means enable 4 means disabled.you want to disable that start.)
- Reboot system and try to make your server online again.
3. Some files may have lost on your System32 directory.( like msvcr110.dll )
Directly search missing file name on google and you can find that easily.download and place it in system32 directory.
Tips
Thank you .See again soon.
Directly search missing file name on google and you can find that easily.download and place it in system32 directory.
Tips
- Open a notepad file and code <?php phpinfo(); ?> and save it as MyFirstPhpFile.php in my computer D:/testbox/.
- Turn on your server and go to local host. Then type clear path for your php code (ex- D:/testbox/MyFirstPhpFile.php) and hit enter.
- If it show you a huge window with php logo, It means your php,mysql and apachy is working properly.
Thank you .See again soon.