PHP Classes

PHP Tutorials

Recommend this page to a friend!

Articles to teach about PHP matters and related topics

  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article  
  276 - 267   266 - 257   256 - 247   246 - 237   236 - 227   226 - 217   216 - 207   206 - 197   196 - 187   186 - 177   176 - 167   166 - 157   ...   6 - 1  

1112. How to Find MySQL Slow Queries in a Production Server by Activating the Slow Query Log - 2 minutes - Lately in PHP Podcast Episode 93 Part 2

Updated on: 2022-10-19

Posted on:

When you want to optimize a MySQL database application in production, you should figure out the slowest queries in that environment.

Enabling the MySQL slow query log can help you figure out the slowest SQL queries to optimize first. You can do that in a production environment, but you need to take extra care with how you enable the slow query log to avoid causing harm to the application.

Read this article, watch a 2-minute video, or listen to part 2 of episode 93 of the Lately in PHP podcast to learn how to enable the MySQL slow query log in a production environment in a safe way.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1111. Find MySQL Slow Queries by Activating the Slow Query Log - 7 minutes - Lately in PHP Podcast Episode 93 Part 1

Updated on: 2022-10-13

Posted on:

One of the factors that may make a Web application slow is the speed of execution of database queries executed by the application back-end code.

If you optimize the database queries that are the slowest, it may make a lot of impact on the speed of an application.

The first step in optimizing the slowest database queries is to find which are the slowest queries. Using MySQL as the database server, you can find the slowest queries by activating the slow query log.

Read this article, watch a 7-minute video, or listen to part 1 of episode 93 of the Lately in PHP podcast to learn how to enable the MySQL slow query log.


Blog More ...   Post a comment Post a comment   See comments See comments (4)   Trackbacks (0)

1110. How to Fix PHP Errors That Affect More Your Applications By Giving Priority to the Most Important Bugs

Updated on: 2023-01-26

Posted on:

Fixing application bugs is a task that often consumes developers a lot of time, especially the step of finding the cause of the bugs. PHP error log processing tools help find the code with bugs causing the errors.

Often developers can find many errors using PHP error log processing methods and tools. If they have many errors, they have another challenge: decide which bugs they should fix first.

One good criterion is first to fix the bugs causing more PHP errors. Counting the PHP errors that appear in a PHP error log may be a task that consumes a lot of time when you do it manually. Fortunately, there are methods and tools that you use to count and sort the PHP errors that appear in PHP logs.

Please read this short article to learn how to use the Scout Application Performance Monitoring tool to quickly determine the lines of code of a PHP application causing more PHP errors so that you can fix those frequent errors first.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1109. How to Quickly Find the PHP Errors that Are Preventing Your Application from Working Correctly

Updated on: 2022-09-07

Posted on:

One of the aspects of the developer work that takes us more time is finding and fixing bugs. Sometimes a subtle bug may take us hours to discover the code that is causing the bug and correct the code.

This fact is particularly true when you develop in PHP because the PHP language is very tolerant of programmer mistakes, and subtle bugs do not make the PHP scripts stop working.

Fortunately, there are methods and tools that you use to detect those bugs faster when you can capture the PHP error messages the mistakes may cause.

Please read this short article to learn how to use the Scout Application Performance Monitoring tool to quickly determine the lines of code of a Laravel or Symfony application causing the application to trigger PHP errors that can help you locate the code that you need to fix.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1108. How to Discover The Reasons Why Your Application Slowest Parts Are So Slow

Updated on: 2022-08-24

Posted on:

When you discover what parts of your applications are the slowest, you are in an excellent position to start making changes in your code that can significantly impact the application's performance.

Still, you need to understand why that code is so slow, so you can make the right changes to make the code run much faster. This article has some example code to show how to do it manually.

Going through a large section of code and finding the exact lines of slow code can take too much time.

A good profiling tool can help you find the exact lines of code that make the code so slow, so you can quickly determine why the code section is so slow.

Please read this short article to learn how to use the Scout Application Performance Monitoring tool to determine the specific lines of code of a Laravel or Symfony application that are causing the application to be so slow, so you can focus your optimization work on the code changes that really can make a difference after you optimize the code.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1107. How to Discover What PHP Code You Should Optimize First to Improve the Performance of a Real Web Application Using a Monitoring Tool

Updated on: 2022-08-19

Posted on:

A profiling tool can be handy to find the parts of your application code that are slow and that you need to optimize.

If there are many parts of your application that you need to optimize, the next decision is which parts you should work to optimize first.

Fortunately, some profiling tools can help you figure out which parts of your application you need to optimize first.

Please read this short article to learn how to use the Scout Application Performance Monitoring tool to determine which parts of a Laravel or Symfony application you should optimize to achieve the most significant performance improvements sooner.


Blog More ...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)

1105. How to Use a PHP Application Profiling Tool to Determine What You Should Optimize First to Improve the Performance of a Laravel or Symfony Application Performance

Updated on: 2022-08-12

Posted on:

Many experienced developers have learned how to improve their coding habits to write code that will run faster.

If you have already written an application, it may be tough to determine if you have already registered the code in a way optimized to run at the highest speed.

Fortunately, some tools can help you figure out which parts of your applications are worth the effort of optimizing to achieve speed improvements.

Please read this short article to learn how to use the Scout Application Performance Monitoring tool to determine which parts of a Laravel or Symfony application are worth optimizing and how to use the Scout application tool for free, so you can see it in action without paying.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1104. How to Update PHP Version Using Methods and Tools the PHP Community Uses - 3 minutes - Lately in PHP Podcast Episode 92 Part 10

Updated on: 2022-10-12

Posted on:

Every time you need to solve a problem, you may realize there may be several approaches to solve that problem. Each way has its advantages and disadvantages.

This fact shows why it is helpful to learn from other developers what approach they use to solve a problem that you also want to solve.

Read this article, watch a 3-minute video, or listen to part 10 of episode 92 of the Lately in PHP podcast to learn about other methods and tools different developers use to upgrade PHP versions.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1103. How to Optimize the Performance of a Real Web Application with a Monitoring Tool

Updated on: 2022-07-26

Posted on:

Many experienced developers have learned how to improve their coding habits to write code that will run faster.

If you have already written an application, it may be tough to determine if you have already written the code in a way optimized to run at the highest speed.

Fortunately, some tools can help you figure out which parts of your applications are worth the effort of optimizing to achieve speed improvements.

Read this short article to learn how to use the Scout Application Performance Monitoring tool to determine which parts of a Laravel or Symfony application are worth optimizing.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1102. How to Use a PHP Monitoring System with Email Notification to Verify a Version Upgrade - 3 minutes - Lately in PHP Podcast Episode 92 Part 9

Updated on: 2022-07-28

Posted on:

When you make changes to a site or another aspect of your site production environment, there is always a chance that some parts may not work well after you complete the changes due to unexpected consequences.

Often these consequences cause your site's PHP code to trigger errors. These errors may start appearing after you do a PHP version upgrade.

One way to determine if there were errors after you made production environment changes is to monitor PHP errors and send emails for the new PHP errors that started to appear.

Read this article, watch a 3-minute video, or listen to part 9 of episode 92 of the Lately in PHP podcast to learn how to monitor your PHP errors quickly and be notified by email, so you can fix the environment that causes the errors.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

  276 - 267   266 - 257   256 - 247   246 - 237   236 - 227   226 - 217   216 - 207   206 - 197   196 - 187   186 - 177   176 - 167   166 - 157   ...   6 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article