-2

I have installed a new vesion of php on ubuntu.

But apache uses old version.

How to change version from 5.3 to 5.6 ?

http://joxi.net/1A5zRK5hKexKyr

I googled the question but nothing has helped

About question How do I tell Apache which PHP to use? That question is like "where I can find libphp5.so". But I know where it is and apache loads that module but verion is still 5.3.

holden321
  • 107
  • 1
  • 4

1 Answers1

0

Edit your httpd.conf to load the PHP module. The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system.

For example:

LoadModule php5_module modules/libphp5.so

Afterwards, you will need to restart Apache for the new module to take effect.

techraf
  • 4,163
  • 8
  • 27
  • 44
NGX
  • 71
  • 5