After trying a few different options the one that ended up working for me was to use sSMTP to send the email via our Office365 system. This is how I got it to work. Continue reading “Sending email from PHP in Vagrant via sSMTP and Office365”
Spoilers – I went with sSMTP, and the details of how I did it are here.
Option 1 – use sSMTP instead of Sendmail
Most config is from here but using the settings from Outlook Web Access (Settings cog -> Mail -> Accounts -> POP and IMAP, look in the SMTP setting section). This means having a new bit of software installed and configured (possibly via Vagrant?) This is what eventually worked for me (see sSMTP post here). Continue reading “Sending Mail from a Vagrant box”
The Laravel doco has a section on how to add a new app to an existing vagrant box. It never seems to work for me, though, without a couple of extra steps.
One extra step is to add the new app to the .hosts file (
/etc/hosts on a Mac,
C:\Windows\System32\drivers\etc\hosts on a PC), thus: Continue reading “Adding a new App in Homestead”
My contact lenses tracking app eyeb.al is working, though it’s still missing help pages, a proper welcome page, etc.
Still – it works! Hooray!!! 🙂
So PHP 7 was released a few weeks back. Which is great but I don’t want to move to it right now. I do want to move to PHP 7 some time in the next few months – but not today. Not on version 7.0.0. Continue reading “Getting PHP 5 back in Homestead”
So I spent over an hour trying to work out why
php artisan migrate rollback wouldn’t work. It kept giving me
[RuntimeException] Too many arguments in a little red box. Continue reading “php artisan migrate rollback – RuntimeException, Too many arguments”
(Note – this is a quick dot-point summary for my own benefit. It’s not written up properly.)
So I signed up for Heroku, and spent about three hours trying to work out why my app wouldn’t work.
I was getting errors about “no such file” and it was driving me nuts. I eventually worked out that the
/vendor/bin/heroku-php-apache2 file seemed to be missing. So I did
composer require --dev heroku/heroku-whatver and that didn’t help much. Continue reading “Heroku needs to be told it’s PHP not Node.js”