Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie

I',m trying to use PHP on default site, but It only runs .html files. How can I do that?


1 Answer

+1 vote
by Expert

I'm not really sure what you're trying to do, but it can be as easy as:

  • Create a new PHP site.
  • Set it as default-site.
Please, read the docs.
by Rookie
Thank you for answer. I´m trying to access with the IP adress to default site, and I want to use a index.php file, but it only run .html files.

I made myself clear?
by Expert
  • Create a new PHP site example.com, it doesn't matter if the example domain does not exist.
  • Set this site as default-site.
  • Enter the IP in your browser and then you will see the example site (or any other you have set as default).

Please, read the documentation, all these things are explained there.

by Rookie
Thank you man. I'm reading the documentation.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.