There isn’t enough information in your post. Most important is to know what directories it installed. Even before that, whether it created an apache module. You may have to edit apache configs or move the module to the right directory so that apache can load it.
The question is where did the make install of php put the files that were compiled, not what directories have apache2 in the name. You have to look at the log to find out where the apache module went.
That is only the command line interpreter for PHP 5.2. For apache to run PHP 5.2, the compile step has to build an apache module and this module has to be installed in the directory where the apache server is expecting it.
You have to look at the output to the screen during the compile to see whether it actually built an apache module. You may need to provide an option to ./configure to make the build happen. Do ./configure --help to check if this is so.
The compile is too fast for me to look at the total results but I did provide the ./configure --with-apache2=/etc/apache2 and it don’t work.
My Apache2 is stil not update to 5.2.0. still have php
5.1.2.
**Do I have to disable somethings because when restarting my apache I have a message that a php5_module is already loaded? **
Plus I have mod_php5 in LoadedModules of phpinfo()
You can see the output of the configure in config.log or something like that. To save the output of the compile, use > to save to a file.
The compile has to build a module called mod_php5.so and replace the one in /usr/lib/apache2 (32-bit systems) or /usr/lib64/apache2 (64-bit systems). Otherwise apache will continue to use the old one.
When you see that the module has been compiled and replaced, then you should restart apache2.
You don’t have to compile apache, you only have to compile php5 against apache to get the loadable module. However you may need the apache include files in the apache2-devel package for this. I haven’t done this for a while so I can’t swear to this detail.
excuse me for this question but what kind of files do ivhave to downlod for apache2-devel package rpm or tar.gz?
Where do I vae to place those files?
Is the the apache include files a .h or .c or something else?
Install the apache2-devel RPM package from YaST. It should match the apache2 package you have installed on your OpenSUSE system. It is OpenSUSE, right? And still a supported version I hope, otherwise you might have trouble finding the package online.
If I install apache2-devel RPM package with YAST don’t you think it will erase all my website?
Will it update with the new php 5.20 that I have installed with a tar.gz files(configure, make and make install).
My opensuse is a professionals SUSE 10.1(SLES or something like that)?
No, the package only contains some include files needed to build programs that work with apache. It has no effect on any webserver configuration that you have already. After you have installed it, you have to rerun ./configure (with any apache options needed) and compile, looking out for a mod_php5.so module being created. Then put this module where apache expects to find it.
If you have SLES you should get the package from Novell’s repository as SLE* is not OpenSUSE. Have you checked already that nobody, not even a third party, offers ready-made PHP 5.2 packages for SLES10?