Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Debian (Lenny) with PHP 5.3.3-0 which was installed via apt. I wanted to upgrade to 5.3.8 for security so I downloaded the latest version and manually ran the usual:
configure
make
make test
make install
After doing that, my info.php* script still says that I'm running 5.3.3-0. Anybody know what I'm missing here?
Since you used a plain ./configure (without a --prefix option), php is installed under the default /usr/local. So if you want to run the new binary you should use:
Code:
/usr/local/bin/php
You may add /usr/local/bin in your $PATH before /usr/bin, so you can always use the new php instead of the one installed by your distro
Since you used a plain ./configure (without a --prefix option), php is installed under the default /usr/local. So if you want to run the new binary you should use:
Code:
/usr/local/bin/php
You may add /usr/local/bin in your $PATH before /usr/bin, so you can always use the new php instead of the one installed by your distro
Regards
Yes, thats right, but I think he forgot to call his local installation of PHP from apache2.conf. He must substitute the old call for the new one.
I guess I will have to follow j-ray's instructions. However, I'm surprised that the current installation works as a module since apxs2 is apparently not installed yet.
I don't see any reference in my apache configuration files to a php binary, only the socket.
EDIT
In any case, I did as j-ray suggested. The only hiccup was a debian and ubuntu specific problem with apxs2 where it insists that there be existing LoadModule statements in httpd.conf . I was able to work around it by forcing make to ignore the error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.