If you’re looking for a S3 client, check out Cyberduck. It’s a free FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for both Mac and Windows. I started using it primarily to access an Amazon S3 account. Just download the client and select Amazon S3 to access your account. You will need an Access Key ID and your Secret Access Key for your S3 account. You can get that from the AWS Dashboard under IAM (Identity Access Management). Once you’re authenticated, you can access your files from within Cyberduck. Drag and drop to download and upload. Very simple and intuitive.

Update Composer

I tried starting a new Laravel project from my Mac’s Terminal and came across this message saying, “Warning: This development build of composer is over 30 days old. It is recommended to update it by running “/usr/local/bin/composer self-update” to get the latest version.” So I ran this command to get the latest composer.

sudo /usr/local/bin/composer self-update

You’ll be prompted to enter the Admin password.

And that’s the way you get the latest update of Composer.

Now, back to the new project.

PHP Upload Limit

I was working on PHPMyAdmin today trying to create a copy of a database. The SQL file was bigger than 8MB. Before I uploaded, I saw a message on the page of PHPMyAdmin saying the upload limit is 8MB. All indication points to increasing the upload size in the PHP configuration.

Since my server runs on Ubuntu, the php.ini file is located in /etc/php/apache2/php.ini. You’ll need to change the following settings:

sudo nano /etc/php/apache2/php.ini
# Edit the following entries to file size you want
upload_max_filesize = 32M
post_max_size = 32M

It makes sense to match the two values because they go hand-in-hand.

The changes won’t take effect until you restart Apache.

sudo service apache2 restart