what folders do you mean?
I have the prefix “/usr” specified when compile. But after rund “make install”, the php5 -v command says Version 5.2.9 is installed.
I do mean directories (not folders). You have a datadir, a mandir, etc in the statement you show. An ls -l on those must show if, and when yes, what is changed recently.
When you gave /usr, is that because that is recommended to do so somewhere?
When all the resulting fiiles went to places where the 5.2.9 version is not located, you have now two versions. 5.2.9 still alive and kicking and 5.3.0 sitting somewhere where nobody notices.
you could do a
find / -name php5
(as root) to find out where the file named php5 is found.
I was posting because it came to my mind that everything might be there, but on a different place (such things happen on different distributions). Not because I ever did this.
The next is also just a suggestion. I see in the listing above:
libtool: install: warning: remember to run `libtool --finish /usr/src/php-5.3.0/libs'
I am not sure if this is to be done by you or not, but you may try it.
I have seen that even. When I run this command, the following output can be show:
# ./libtool --finish /usr/src/php-5.3.0/libs
PATH="$PATH:/sbin" ldconfig -n /usr/src/php-5.3.0/libs
----------------------------------------------------------------------
Libraries have been installed in:
/usr/src/php-5.3.0/libs
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
In this directory (/usr/src/php-5.3.0/libs) I can find the libphp5.so library. This is the same file that will installed, if I start “make install”. This is the only File which installed on “make install”.
I’m not realy into compiling php5, but to me it seems that, if your goal is to replace existing install by a new one, the include files should be in /usr/include/php5. Makes me wonder whether the rest is installed in /usr/lib/php etc etc.
One might ask, if it makes sense to fiddle around with a distribution reaching EOL in a few weeks (and replacing core components with “hand made”, unsupported ones).
For a productive system, this is IMHO a “double no go”.