How to Find Your php.ini Path via SSH in a Linux Server
Last Updated on Friday, 3 August 2012 11:23 Written by Richi González Wednesday, 29 August 2012 12:00
Hello,
Whether you are just starting with server management, or you are a pro looking for more efficient ways to do things, this article is for you. I’ll teach you how to find out your php.ini’s path via SSH. Of course, for this article, you must be able to connect through a server via a terminal.
Difficulty level: Easy
Learn MoreHow to Add an Extension to the php.ini Through a Terminal in Linux
Last Updated on Thursday, 12 July 2012 09:44 Written by Richi González Sunday, 22 July 2012 12:00
Hello,
I’ll show you how to easily add an extension to the php.ini with a simple line in a terminal.
1. Open up a terminal or console.
The code is:
Learn MoreHow to Find If an Extension Exists in the PHP Configuration Through Terminal
Last Updated on Thursday, 12 July 2012 09:44 Written by Richi González Thursday, 19 July 2012 12:00
Hello,
This article will show you how to search for functions inside the PHPinfo through a terminal or console. I will show you a simple line to execute that finds if a certain word is found in the PHP info. This is useful for searching for functions.
1. Open up a terminal or console.
2. Let’s say if you want to know if GD libraries are installed, you’d search for ‘gd’ with the code like this:
Learn MoreSetting custom php.ini files for your website
Last Updated on Saturday, 27 November 2010 09:44 Written by Mourad Dmeiri Thursday, 25 November 2010 05:16
Many of us have wondered, how can we change some of the PHP directives to match some script requirements? Even though this might sound complicated, it is much easier than it looks.
First, we should know a few facts about PHP directives and where they reside. We have 3 levels of php.ini file levels:
1) Server global php.ini (this file resides in the server configuration and this cannot be edited by the users in a shared hosting environment).
2) User global php.ini (this file usually resides in the main folder for a user website, like public_html and this serves all the php scripts that fall under the user account).
3) User local php.ini file (this file is not limited to a specific path and can be deployed by the user wherever he feels he needs to change some parameters for some script).
Learn MoreHow to Create and Edit PHP.ini From Your cPanel
Last Updated on Wednesday, 2 February 2011 09:14 Written by Arian Jahansouz Saturday, 24 April 2010 09:43
This article will give you a step by step guide on how to create and edit the PHP.ini file from your cPanel. Sign into your cPanel and follow these steps:
1) Scroll down to Arvixe and click PHP Settings
Learn More
Recent Comments