tngnco Posted June 2, 2011 Share Posted June 2, 2011 I am running: ubuntu 4.9 apache 2.2 php 5.3 I did a build of php to 5.5-dev When I run from terminal php -v prints: U@Place:/$ php -v PHP 5.5.0-dev (cli) (built: Jun 2 2011 09:43:57) Copyright © 1997-2011 The PHP Group Zend Engine v2.4.0, Copyright © 1998-2011 Zend Technologies When I view phpinfo() in a web page, it shows a different version. PHP Version 5.3.2-1ubuntu4.9 How do I get apache to see my new php install? Quote Link to comment https://forums.phpfreaks.com/topic/238249-apache-with-new-php-build/ Share on other sites More sharing options...
trq Posted June 3, 2011 Share Posted June 3, 2011 Edit /etc/apache2/mods-available/php5.load. Quote Link to comment https://forums.phpfreaks.com/topic/238249-apache-with-new-php-build/#findComment-1224474 Share on other sites More sharing options...
tngnco Posted June 3, 2011 Author Share Posted June 3, 2011 This is my /etc/apache2/mods-available/php5.load file: LoadModule php5_module /usr/lib/apache2/modules/libphp5.so What do I need to edit? Quote Link to comment https://forums.phpfreaks.com/topic/238249-apache-with-new-php-build/#findComment-1224689 Share on other sites More sharing options...
trq Posted June 4, 2011 Share Posted June 4, 2011 You need to edit the path to point to the new .so file. Quote Link to comment https://forums.phpfreaks.com/topic/238249-apache-with-new-php-build/#findComment-1224992 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.