Post4VPS Forum | Free VPS Provider

Full Version: How Can I Install PHP and APACHE on my VPS(Windows or Linux)?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey Guys I am Back....Probably I am having a lots of problem related to VPS ...
So In this Thread I am Asking about "How can I Install PHP and APACHE on my VPS...?"
This is because if I want to Use my VPS for Web site then I can use it.... Smile
Amresh,

Maybe you want to dig up Tutorials section. There is so much tutorial how to install web server.
This is tutorials: https://post4vps.com/thread-2262.html
Read it, and you will know.

Also this thread will help you: https://freevps.us/thread-21729.html

Don't forget to use Google. Digital Ocean have so many tutorial about VPS.
Thanks brother for the tip.....
I will go through the tutorial....
for windows you can install XAMPP . its all you need in 1 pack
for linux just apt-get the package you need . you can follow tutorial above its much easier for newbies

be aware that windows and linux have some file structure differences that broke my script Sad . i deploy it on windows machine when i transfer it to my vps the script doesnt work . i want to use linux again but my current pc doesnt want to work with linux
Umm, not so sure about windows but you can just install apache and php using apt-get command its simple as typing this in and your are done.

Code:
sudo apt-get install php apache2
No need to worry about apt-get, if you use Linux for servers, go ahead and try VestaCP.
It's wayyy easier to have VestaCP install all of the package.

Just open http://vestacp.com/install and select what package you want.
(08-24-2018, 12:30 AM)tiwil Wrote: [ -> ]No need to worry about apt-get, if you use Linux for servers, go ahead and try VestaCP.
It's wayyy easier to have VestaCP install all of the package.

Just open http://vestacp.com/install and select what package you want.
Totally agreed.  , I can highly recommend VestaCP.  It's very fast to install it and there is plenty of documentation online with a Forum for support.  You can check my thread about the steps for installing VestaCP at the link below for some guidelines - or you can go straight to VestaCP Installation Page and use the Advanced Settings to generate an installation command for you:

https://post4vps.com/thread-2262-post-21...r#pid21158
Always check what version of PHP you need to install, the latest version of PHP may not be available with all repositories. I recommend installing centos and to use ssh for installing PHP and Apache.
Guys Can I install WAMP Server instead of Xamp....
I think both will work as same only but xamp offers mariadb and WAMP offers MySql
In my opinion mysql is the best option for database!
I think MySQL will work on both WAMP and XAMP server, if you really preffered on using MySQL
Pages: 1 2