Want to get involved with open source and contribute but don’t know where to start? Good new Github is starting Hacktoberfest. A month-long celebration of open source software. The idea is make at least 4 pull requests between the 1st of 31st of October and get a limited edition T-shirt.
Today’s I’ve reinstalled my os and decided to install mysql in terminal I didn’t make a note of the temp password, so when I tried to run mysql I get access denied. The password needed changing these are the steps I followed.
As of the 10th July 2016 php 5.5 is officially end of life, as a result it should not be used anymore. Any applications still using 5.5 should be upgraded to php 7 ideally or failing that 5.6 as a minimum.
5.5 was released in 2013, active support ended 10th July 2015, today security support has ended. Any vulnerabilities that may exist in 5.5 will NOT be patches any more and could leave your site vulnerable to attack.
If you host does not have 5.6 or higher I highly recommend you contact them and ask to be upgraded or find a better host.
Upgrading to 5.6 should be painless nearly everything works without changes, having said there there are some backward incompatible see migrating from 5.5 to 5.6
Today Github has announced private repo’s are now unlimited for upgraded accounts, for organisations the starter package was 10 private repos for $25 a month, this has been upgraded to $9 a month after the first 5 users still at $25 a month but with unlimited repo’s.
Personal accounts also have unlimited repo’s but $7 a month, whilst there are services like bitbucket that offer free private repo’s I’ve never taken to them in the same way I do with Github. Personally I prefer the Github so this is really good news!
Gitlab is a great alternative to Github or BitBucket, they offer free private and public repositories which is great when working with a team, I’ve recently started using Gitlab for a private project, where I need to download private repositories to the project server and extract their contents.
Sometimes you need to make improvements to your code and make things more efficient. Using some simple PHP Statistics can help you identify areas which need improving. These snippets offer useful insight into how efficiently your application is running.
So, for our first snippet we will look at script execution time. This will tell us how long it took the server to process and execute our PHP script. This is one of the most useful snippets. It would also be very useful for benchmarking PHP 5.6 versus 7.0.