Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
ok craziness. i installed a fresh copy of php 5.2.3 and it runs fine from the command line. apache sees a different version, though. it's running 5.1.6.
How did you installed the newer php? From source, or using your package manager?
Anyway look for the line "LoadModule php5_module ..." inside httpd.conf of whatever it's called in centos and change it to point to the new libphp5.so installed by php 5.2.3.
is there something special i'm supposed to do to libphp5.module.in to make it into a .so file? as of now there is only one lbphp5.so which is confusing.
yeah i just noticed that. i'm now a supreme moron for not answering your question - apologies, no idea why i didn't. before i start over with this - since i did the whole ./configure, make, make install route on both apache and php, do i need to uninstall it before i can install it again or can i just do it over without deleting anything?
I guess you compiled php running ./configure with the "--with-apxs2=...". If that's the case, then it's strange that "locate libphp5.so" didn't find it. It should exist under both libs/ and .libs/ subdirectories in the place you extracted php sources (I presume from your post that it's /home/wemuhtat/php-5.2.3).
You can do the whole ./confgure, make, make install from the beginning overwriting your previous attempt (running make clean before anything else).
I suggest you if you're going to start from the beginning, to install php-5.2.4 that fixes some bugs and security issues of the previous release.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.