Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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