I have just built and installed (./configure
, make
, make install
) the actual php version 5.6.9 (from http://php.net/downloads.php) on my Debian squeeze.
Typing php --version
in the console brings PHP 5.6.9
, as expected.
Now I want to use this version in (a newly restarted) apache2 and to test I use
<?php phpinfo(); ?>
The website shows PHP 5.3.3.
What am I missing? Where do I have to connect apache2 to php and how? Which module or library I have to replace? Where?
I solved it usig the tipps from sergey (see remarks above)
works now!
Two addidional notes for joomla users a) configure --with-apxs2=/usr/bin/apxs2 --with-mysql --with-zlib (uses zlib) b) change "mysqli" to "mysql" in the old joomla/configuration.php files.