Can i use php on replit to write a web application and host it on replit

Hii can i use php in replit to write a web application and host it on replit. Do i need to download php on replit to use it. Any help please

1 Like

Just use the template! No other setup needed

https://replit.com/@replit/PHP-Web-Server?v=1

3 Likes

Replit has a template with the PHP development server set up, but if you’re planning on doing anything in production with PHP, I’d recommend setting up nginx.

3 Likes

you don’t have to install php or any packages to get started. php is already supported by replit: https://replit.com/@replit/PHP-Web-Server?v=1

1 Like

thanks everybody that give me the answer about php.

Please mark a post as the solution so the thread can close.

1 Like

Hey, sorry for bumping this up but now with replit deployments is there a deployment option that would work for PHP? I’m new to this and would like to know the deployment type which would work for this. If there is none, I’ll just use nginx. Thanks :slight_smile: