Knerve is a development server for OS X. It allows you to define sites by simply choosing a directory.
- Supports PHP (or runs a static server if PHP at least v5.4 is not present)
- Is ideal for a local WordPress install. Have something like MySQL installed, download WordPress, unzip it and point Knerve at that directory. Then launch the site from Knerve and follow the usual setup.
- Runs your site at http://directory-name.dev (with special characters replaced with dashes)
- Also runs your site at https://directory-name.dev (you'll get a warning for the self signed certificate but thats okay for testing on a development machine)
- Runs in the menubar and stays out of the way
- Makes no permanent changes to your system. All servers run only while Knerve is running, and configuration changes to enable DNS and routing for the .dev domain are made when starting up and reversed when shutting down.
- If you are getting excessive requests to provide your password for system updates you are probably using macOS Sierra which enables TTY Tickets by default. With this enabled you must enter your password every time it's required. You can either disable TTY Tickets (which can be done per user) or keep on typing.
- OS X 10.7 or later
- (linux version is in the works)
- (windows version is unlikely)
- PHP 5.4 or higher for PHP sites
PHP sites are probably relying on a database server. For WordPress you'd pretty much need to have MySQL installed.
If your PHP application supports it and you'd like to use a database that, like Knerve,
is only active when it's running then you could try Postgres.app
Knerve's detection of and ability to start and stop the database currently rely on MariaDB being installed at /usr/local/mysql/.
The settings file contains the start and stop commands for MySQL which can be edited to suit other configurations.
- I'm been using Knerve for a few months instead of Apache without a hitch so it's time to make it public.
- I've decided to go with donationware, it's just easier, so you can download it now.
- Feedback and issues can be submitted through the github site.