php

  1. K

    Steps to reset PHP configuration for system-level

    If you want to reset php.ini file to default settings, then you can follow below steps: You can reset it for every PHP version like ea-php74, ea-php73 etc. ea-phpxx Here xx is version like 74 version. First you have to rename ini file and then reinstall the package. mv -vi...
  2. K

    Steps to convert result of your PHP function var_dump() to string.

    If you want to store PHP var_dump() function’s value to any other place like in log file, external file or any other place then you can do this with PHP output buffering. If you want to save the structured variable info of $variable1 into the string $string: ob_start(); var_dump($variable1)...
  3. bhawanisingh

    How to Unset Session Variable in PHP?

    How to Unset Session Variable in PHP? Cookies are the best way to store data and personalize the content for the end user. But there’s a possibility that a hacker may insert some malicious codes into the code for their own benefit. So is there a safer approach? Yes, and it is the PHP session...
  4. PradeepJangid

    How to run Laravel without Artisan Serve Command?

    1. Create local directory in your project directory. 2. Move all files and folders except public directory in the local directory. 3. Move all files and folders from public directory to project directory and remove public directory. 4. Open index.php file and replace require...
  5. bhawanisingh

    How to use the PHP ternary operator ?

    People are already familiar with all type of PHP’s statement like if statement. It is too much similar to other counterparts in different other programming languages. This statement also represents the fundamental concepts of programming. They If the statement is so easy statement to understand...
  6. bhawanisingh

    How to increase maximum execution time for PHP ?

    Many a times people get this error while uploading large files or big images through script. Or while updating their WordPress/Drupal account. Fixing this error is quite simple and easy but for beginners it's frustrating. In this article we will teach you how to fix this error. Well, as the...
  7. bhawanisingh

    What Is APC (Alternative PHP Cache)?

    What Is APC? “APC” Stands for Alternative PHP Cache. The basic use of APC in your server is to speed up the interface of the website you own. When it's about PHP we all know that the basic need of PHP is to perform Dynamic Server Side Executions and Provide speed to the generation of results...
Top