Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-10
1
Medium Priority
?
2,632 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
rjgonzale earned 500 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

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

660 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