Post4VPS Forum | Free VPS Provider
How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion)
+--- Forum: VPS Support (https://post4vps.com/Forum-VPS-Support)
+--- Thread: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? (/Thread-How-Can-I-Install-PHP-and-APACHE-on-my-VPS-Windows-or-Linux)

Pages: 1 2


How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Amresh - 08-08-2018

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



RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - tiwil - 08-08-2018

Amresh,

Maybe you want to dig up Tutorials section. There is so much tutorial how to install web server.
This is @deanhills 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.


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Amresh - 08-09-2018

Thanks brother for the tip.....
I will go through the tutorial....


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - humanpuff69 - 08-09-2018

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


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Kururin - 08-23-2018

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



RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - tiwil - 08-24-2018

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.


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - deanhills - 08-24-2018

(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.  @Amresh, 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-21158.html?highlight=beginner#pid21158


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Littlemaster - 08-24-2018

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.


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Amresh - 08-24-2018

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!


RE: How Can I Install PHP and APACHE on my VPS(Windows or Linux)? - Vuluts - 08-24-2018

@Amresh I think MySQL will work on both WAMP and XAMP server, if you really preffered on using MySQL