Solved

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

Posted on 2008-06-10
1
2,594 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
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.

786 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