The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 04-24-2009
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
The version that is loaded by Apache is determined by the version that is seen by Apache, i.e. the one that is dumped in the Apache modules directory. If your installed version does not overwrite the one in that directory (presumably installed from the package tree), the distribution's version will be served.

Whether you can use your compiled version depends on whether your compile process has created a libphp5.so. If there is one, you can then try to overwrite and see if it works.

If you compile PHP as CLI or CGI, then you will not get that shared library. Then you will need to recompile your PHP. For details, please check the PHP manual for compilation hints.