github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/php/dev.html.md (about) 1 --- 2 layout: "app_php" 3 page_title: "Development - PHP App Type" 4 sidebar_current: "docs-php-dev" 5 description: |- 6 The development environment built for PHP applications is built for 7 general PHP development with a lean towards web development. 8 --- 9 10 # Development 11 12 The development environment built for PHP applications is built for 13 general PHP development with a lean towards web development. 14 15 Please see the [customizations](/docs/apps/php/customization.html) 16 page for details on how to customize some of the behavior on this page. 17 18 ## Pre-Installed Software 19 20 * **PHP** 21 * **Common PHP Modules** - mcrypt, mysql, fpm, gd, readline, pgsql 22 * **Composer** - PHP dependency management 23 * **Git, Mercurial, Bazaar** - Useful for pulling 24 Composer dependencies 25 26 ## Usage 27 28 You can access your environment via SSH to run your application. 29 30 For example, if you start up a development server like this... 31 32 ``` 33 $ otto dev ssh 34 vagrant@precise64:/vagrant$ php -S 0.0.0.0:5000 35 PHP 5.6.13-1+deb.sury.org~precise+3 Development Server started at Tue Sep 22 12:38:55 2015 36 Listening on http://0.0.0.0:5000 37 Document root is /vagrant 38 Press Ctrl-C to quit. 39 ``` 40 41 ...then you should be able to access your app on port 5000 of the IP address reported by `otto dev address`.