OK, now you have your web project ready, up and running. It is using apache (or nginx) as a web server and mysql (or postgres, or whatever) as a database engine. Everything is working fine and you are completely happy. However, there can be a situation when: one of your services (mysql, apache, nginx , […]
I had a couple of clients I created iOS applications for and had to upload their apps to the iTunes connect for them. The upload is done using the tool called “Application Loader”, which is installed together with Xcode 3.2.5 and later. The tool itself is located under /Developer/Application/Utilities/Application Loader . However, once logged in, […]
What is the difference between 301 and 302 redirect codes? – Code 301 is used for permanent redirects, meaning that page, directory or the whole site have moved permanently, for ever – and both users and search engines have to use new link address from now on. This can apply to the situation when […]
Sometimes it is needed to understand the average amount of memory consumed by a process. You can create a shell script that’ll do the job for you. I’ve tested it on Ubuntu and it works fine (not sure about other OS). So, in the command line type: nano avmem.sh In the window opened, paste the […]
What has probably happened is that you have developed your drupal (or any other PHP+MySQL) site, tested the functionality, everything was working fine and after that you decided to go live, but suddenly you found out that the site in its current state does not cope with the loads. Or, probably, you just run some […]
There could be many reasons why your website performance is poor, one of them can possibly be that Apache is not coping with the load. There is a simple way to offload Apache by configuring nginx to serve static content. Nginx is also a web server (as Apache and IIS) and can be used on […]
There could be many reasons why your website performance is poor, one of them can possibly be that Apache is not coping with the load. Below you’ll find ready to consume configuration to make Apache performance better using the Apache MPM prefork module. To do this, just include the below lines into your httpd.conf apache […]
If your website is using MySQL as a database back end and you think your website is slow, you are probably interested MySQL performance optimization tips and tricks. Here are a few of them: 1. First of all, check if you have too many table locks happening. If your database engine is MyISAM, which locks […]
If you have recently moved your PHP web site to a windows VPS or dedicated server (for whatever reason: of course, it is more natural to host PHP web sites on unix, but it can happen that windows box is the only way), you could possibly realized that your php mail() function had stopped working. […]