Skip to content
Readerstacks logo Readerstacks
  • Home
  • Softwares
  • Angular
  • Php
  • Laravel
  • Flutter
Readerstacks logo
Readerstacks

How to find php.ini file location ?

Aman Jain, August 24, 2021February 22, 2024

Sometime we installed multiple version of php on our system so it will get difficult to find php.ini file location .

Let’s start with easiest way.

Steps to find the php ini file on dedicated, localhost and ssh based enabled server.

  1. Create a new file on root info.php and enter below code
<?php
phpinfo();


Then run this file in browser.

Screenshot 2021 08 24 at 8.35.49 AM
Loaded php.ini file

As we can see in marked red loaded configuration is /Applications/XAMPP/xamppfiles/etc/php.ini

so we can easily find and change the configuration here using command in ubuntu/mac

sudo vi /Applications/XAMPP/xamppfiles/etc/php.ini

in windows we can directly go to the location and edit this file.

What if you are on shared hosting?

In shared hosting we can’t edit php.ini file directly.

So how to edit php.ini configuration on shared server?

To edit and update the php configuration on shared server, Cpanel provide a simple way to edit some configurations to edit it we need to follow the below steps:

  1. Login into your cpanel
  2. Go to softwares section and select php version
  3. Select options and change settings
  4. Save the configuration
Screenshot 2021 08 24 at 8.50.34 AM
Cpanel to change php.ini configuration
Screenshot 2021 08 24 at 8.55.22 AM
Php.ini file cpanel

Related

Php

Post navigation

Previous post
Next post

Related Posts

Php Show Validation Error Message

How to Show Validation Error Message in Laravel ?

November 10, 2023March 16, 2024

In this article i will explain you to show validation error message in laravel. One crucial aspect of web development is handling form validation and displaying error messages to users effectively. In this guide, we will delve into the intricacies of showing validation error messages in Laravel, ensuring a smooth…

Read More
Php make a component in laravel 10

How to create component in Laravel 11 ?

July 14, 2024July 14, 2024

In this tutorial i will show you simple html based component in Laravel 11 using blade.Creating reusable components is essential in contemporary web development, enabling developers to streamline code and enhance efficiency. Laravel 11, a leading PHP framework, offers a robust component-building system. Similar to Angular or React, Laravel provides…

Read More
Php laravel routing

Laravel 8 routing with example

October 5, 2021January 13, 2022

In this post we will learn to implement the Laravel 8 routing and how it’s different from Laravel other versions. Laravel routing is used to create the URL for each POST, GET requests and it works as a bridge between the controller or html view. In this article we will…

Read More

Aman Jain
Aman Jain

With years of hands-on experience in the realm of web and mobile development, they have honed their skills in various technologies, including Laravel, PHP CodeIgniter, mobile app development, web app development, Flutter, React, JavaScript, Angular, Devops and so much more. Their proficiency extends to building robust REST APIs, AWS Code scaling, and optimization, ensuring that your applications run seamlessly on the cloud.

Categories

  • Angular
  • CSS
  • Dart
  • Devops
  • Flutter
  • HTML
  • Javascript
  • jQuery
  • Laravel
  • Laravel 10
  • Laravel 11
  • Laravel 9
  • Mysql
  • Php
  • Softwares
  • Ubuntu
  • Uncategorized

Archives

  • May 2025
  • April 2025
  • October 2024
  • July 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • July 2023
  • March 2023
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Recent Posts

  • Understanding High Vulnerabilities: A Deep Dive into Recent Security Concerns
  • Understanding High Vulnerabilities in Software: A Week of Insights
  • Blocking Spam Requests with LaraGuard IP: A Comprehensive Guide
  • Enhancing API Development with Laravel API Kit
  • Exploring the Future of Web Development: Insights from Milana Cap
©2023 Readerstacks | Design and Developed by Readerstacks
Go to mobile version