Azure stop supporting PHP7 in early 2023, for any reason you still wants to run PHP7, there is a way. Azure still allows us to run PHP7, this can be done via cli or using Azure Devops to deploy to php7.4 , Php 7.4 is the oldest version they allows. So, if you want to have PHP7 , PHP 7.4 is your only choice and you need to provision your resource via azure cli or devops pipelines. this can’t be done via Portal web interface. After you provision it, if you open in web interface, you might see it looks like this.Read More →

Azure App Service allows you to host your application on a managed environment. You select the environment/stack (Java, PHP,ASP.net…) , Azure will setup the environment for you by using container , all you need is to deploy your code to this environment. To deploy your code, Azure provides you some deployment tools: FTP/FTPS, Github, or local git. If you link your app with some tools like github,local git . This app service will automatically deploy your code when you commit your code (this can be turned off if you dont need) All these app service is based on containers. you can provide your own imageRead More →

Build vs Release : Build: you run it on a build server, this could be your default pool or agent pool (your self hosted pool) Release: it’s normally collect the data from Build , the tasks are similar , you can setup some workflows ( approval) , the biggest thing i can see is the deployment groups – We can run release on deployment groups, deployment groups is a group of servers that you target the deployment. When you start a build/release , the script will run on the build server/deployment groups. The script will pull the source code , then you can copy theRead More →

One day, your computer stop working, here are some symptons: Power on , fans , lights working USB keyboard does not light up You are sure that your memory/cpu/graphics card working fine( move it to a working machine and test) No display you clear the cmos, remove battery there is no sign of any components burnt If you have the above symptoms, there is a high chance that your bios is failed or corrupted. If your bios is corrupted, you can reflash it using the some special tools, the tool name CH341a , there are many articles on internet showing you how to use it,Read More →

I’m trying to reflash my motherboard bios using ch341a tool, the utility i use is flashrom . What’s my challenge? the challenge to connect the tool to the bios, the connection needs to do some tweak, i just want to focus on tweaking, i would like my computer to keep running the program while i try to connect, if the program connect successfully, it should stop. I came up with this simple scriptRead More →

Some applications might have some extensive query which might take several seconds to response, some people said a few seconds isn’t a big problem. Now, let say you one heavy query which will take 2s , remember this that 2s is when your server in low load, when your server got few hundred hits to that query, that normal 2s is no longer 2s, it will be added up. If this continue, your server will be dead. First thing people will think about caching, using ngnix (for example), but remember that, ngnix cache is based on the url , this is good for static content.Read More →