Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-10
1
Medium Priority
?
2,642 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

971 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