0 votes
44 views
by Rookie
Hi,

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

Thank's

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.
Regards.
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.

* * * * * * *

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

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

...