How can I use php

I have a website in php and I can’t put it here and it tells me there is an error???

HI @zo3y39, thanks for the post and welcome.
The link below contains a similar question asked here on this forum about hosting PHP sties on Netlify. Kindly visit post to see the answers and suggestions.

@zo3y39 Netlify doesn’t provide runtime PHP hosting, so you can’t host a standard PHP based website here.

You can use PHP to output a static HTML website, but you still wouldn’t be able to use PHP scripts for server-side functionality.

If you have a PHP based site and aren’t looking to convert it to static, then your best bet will be to host it elsewhere.