Digital Masters Magazine

Mastering Digital Arts for Web, Video, Mobile, IoT (and Space Travel)

  • Design
  • Photo
  • Video
  • Web
  • Code
  • UX
  • Mobile
Home Tips Tip of the Day How to Find the Location of php.ini on a Web Server
How to Find the Location of php.ini on a Web Server

September 14, 2012 By admin Leave a Comment

How to Find the Location of php.ini on a Web Server

When running Apache with PHP on a Unix/Linux server, you can find the location of the php.ini file easily. Open a terminal window and type:

php -i | grep php.ini

The server will respond with something like this:

TechArmor iPhone 8 Protective Screen

Configuration File (php.ini) Path => /some/path/directory
Loaded Configuration File => /some/path/directory/php.ini

The php.ini file includes the active configuration of the PHP interpreter. To ensure that this file cannot be misused, you should set user privileges on it to 640:

cd /some/path/directory/
sudo chmod 640 php.ini

Filed Under: Tip of the Day, Web, Webmasters' Insights Tagged With: Apache, PHP

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Zizo

Change language settings in Adobe Photoshop 2020

How to change the language of Adobe Photoshop

Apple MacBook Pro (16-Inch, 16GB RAM, 1TB Storage) - Space Gray

The new 16-inch MacBook Pro: Faster, slightly heavier but still ultra-light and #WorthTheWait

iPhone XS

The iPhone XS +++ An Insider Report +++ new 5.8-inch and 6.5-inch OLED iPhones +++ Codename D32 & D33

Disable Create a PIN in Windows 10

How to disable the Create a PIN prompt on Windows 10 for good

SEO keywords research tools: SkyFu.com

Get more free inbound clicks for qualifying leads from paid search. SEO research tools on steroids

Disable Create a PIN in Windows 10

Windows 10 can be very persistent in asking you to create a PIN “for your convenience”, but what if you don’t want to remember a PIN? What if you are happy with a password-based sign-in? Windows 10 won’t quit nagging you about the digits and there is no obvious way to prevent it from throwing […]

SEO keywords research tools: SkyFu.com

Looking for more organic traffic and better qualifying leads from paid search? Look no more.

Recent Posts

  • How to change the language of Adobe Photoshop
  • The new 16-inch MacBook Pro: Faster, slightly heavier but still ultra-light and #WorthTheWait
  • The iPhone XS +++ An Insider Report +++ new 5.8-inch and 6.5-inch OLED iPhones +++ Codename D32 & D33
  • How to disable the Create a PIN prompt on Windows 10 for good
  • Get more free inbound clicks for qualifying leads from paid search. SEO research tools on steroids

What’s up

ActionScript Adobe Adobe CC All-in-One WP Migration Angular 2 Apache Apple assistive technology CNAME crawl DNG Dreamweaver Event Viewer Google Google Analytics GPU HTML HTTP INTC Intel iOS iPhone JavaScript Microsoft Windows 10 OpenSSH OS X PayPal performance Photoshop PHP product key Qualcomm RAW redirects RSS SEO speed SSD Tim Cook TypeScript Wall Street Windows Windows 10 Windows 10 free upgrade WordPress

Categories

Archives

  • May 2020
  • November 2019
  • August 2018
  • November 2017
  • October 2017
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • February 2015
  • November 2014
  • November 2013
  • October 2012
  • September 2012
  • August 2012
  • June 2011
  • May 2011
  • March 2011
  • May 2010
  • Home
  • Subscribe
  • Advertise
  • Privacy Policy
  • Legal
  • Contact Us

Copyright © 2022 ·Streamline Pro Theme · Genesis Framework by StudioPress · WordPress · Log in

Posting....