Better HN
topnewbestaskshowjobs
Log inSign up

__app_dev__

135 karma · joined Nov 26, 2019 (7y ago) · 102 submissions

Submissions

comment 6y ago · link · parent

Thanks for posting. Can you provide some docs or links that show to use libapache2-mod-php for Apache? Most docs I've seen show using it for Apache.

For nginx the script is using php-fpm.

During testing with this script on a clean os I am able to achieve around 2500 to 6500 requests per second on the lowest cost VM's with both setup options (Apache or nginx) and 25k+ requests per second on higher cost servers.

comment 6y ago · link · parent

Thanks for Sharing. Is this Chef script for a specific enterprise product? It's not really clear on their repository:

https://github.com/chef/omnitruck

And I see their cheapest product is $16,500/year.

The script I wrote is intended for a clean and secure install of either Apache or nginx and PHP without a complex setup or the need for third-party options so it will work on any cloud host. Currently the one I published only supports Ubuntu but I'll add more OS's in the future.

comment 6y ago · link · parent

Thanks for the link! I've opened it and will look at it in more detail.

Here it is for anyone reading this discussion: https://www.ansible.com/

Basically the reason I created this rather than relying on something else is that I wanted an easy script that can setup a full production Web Server environment for PHP without any dependencies other than the minimum needed.

The script is completely free and open source any easy to change in case someone wants to use it for Laravel, Symfony, or something else. Most automation scripts are used to sell additional products like Ansible so this script avoids that.

Currently the script works on Ubuntu only but I will expand to RedHat and other OS's as time permits. Of course if anyone can help contribute I would gladly accept.

comment 6y ago · link · parent

Works on the lowest cost VM's on AWS ($3.50 USD per month) and the site still runs fast with low memory.

To run download then call the script: wget https://www.fastsitephp.com/downloads/create-fast-site.sh sudo bash create-fast-site.sh

Additional Docs in multiple langugages are here: https://www.fastsitephp.com/en/documents/install-php-on-linu...

95.

Show HN: Bash Script to Install a Webserver and PHP on a Clean OS(github.com ↗)

62 points · by __app_dev__ · 6y ago · 49 comments

comment 6y ago · link · parent

If you would like to view the source of the HTML page directly go here:

https://github.com/dataformsjs/dataformsjs/blob/master/examp...

And for a more advanced demo (full SPA) try this version:

https://www.dataformsjs.com/examples/places-demo-vue.htm

97.

Show HN: Display JSON and GraphQL Services with Vue and HTML (No JavaScript)(dataformsjs.com ↗)

4 points · by __app_dev__ · 6y ago · 1 comment

98.

Show HN: Command Line File Encryption Using Bash – Works on Linux and Mac(fastsitephp.com ↗)

1 points · by __app_dev__ · 7y ago · discuss

99.

Show HN: SVG Hello World Animation – Sun, Earth, Moon Rotating(dataformsjs.com ↗)

16 points · by __app_dev__ · 7y ago · discuss

comment 7y ago · link · parent

Thanks lioeters!

Also to try it out online (no login required, no cookies, etc) anyone can create a site here and create and run PHP code directly on a sever. Sites last for 1 hour.

https://www.fastsitephp.com/en/playground

101.

Show HN: FastSitePHP – New PHP Framework. Try the Online Playground(fastsitephp.com ↗)

3 points · by __app_dev__ · 7y ago · 2 comments

102.

Show HN: DataFormsJS – New JavaScript Framework Try the Online Playground(dataformsjs.com ↗)

2 points · by __app_dev__ · 7y ago · discuss

1234