Solved

Configuration File (php.ini) Path to load /usr/local/Zend/etc/php.ini

Posted on 2008-06-10
1
2,577 Views
Last Modified: 2013-12-13
I upgraded from PHP4 to PHP5, Configuration File (php.ini)  to load should be /usr/local/Zend/etc/php.ini

Currently the php.ini file loaded is /etc/php.ini

How can i update this value to load: /usr/local/Zend/etc/php.ini ?
0
Comment
Question by:mammouth
1 Comment
 
LVL 3

Accepted Solution

by:
rjgonzale earned 125 total points
ID: 21751225
Better than that could

sudo cp /etc/php.ini /etc/php.ini.package
sudo rm -f /etc/php.ini
sudo ln -s /usr/local/Zend/etc/php.ini /etc

First command is to make a backup, then we delete php.ini from etc and then, the last command is to make a link there to Zend php.ini, so, /etc/php.ini will point to /usr/local/Zend/etc/php.ini.

PS: if you are logged in as root you dont need sudo before each command
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now