[MacPorts] #25714: no change after php downgrade from 5.3 to 5.2.13 on Snow Leopard using macport

MacPorts noreply at macports.org
Sat Jul 17 13:28:49 PDT 2010


#25714: no change after php downgrade from 5.3 to 5.2.13 on Snow Leopard using
macport
--------------------------------+-------------------------------------------
 Reporter:  dforrest@…          |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  new                    
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:  1.9.1                  
 Keywords:                      |        Port:  php5 php52             
--------------------------------+-------------------------------------------

Comment(by ryandesign@…):

 David sent the following reply by email:

 -----

 Ryan, Thanks for your response, I think we're close to finding the
 solution, here's what's up...

  1. I have a test.php file that contains the phpinfo command and when it
 runs it says that the php version is 5.3.1.
  2. When I run the two commands you specified, I get the results you
 expected:
 {{{
 dfmacbookpro:~ dforrest$ port installed php52
 The following ports are currently installed:
   php52 @5.2.13_2+apache2+mysql5 (active)
 dfmacbookpro:~ dforrest$ /opt/local/bin/php -v
 PHP 5.2.13 (cli) (built: Jul 17 2010 00:59:37)
 Copyright (c) 1997-2010 The PHP Group
 Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
 }}}
  3. I have restarted apache numerous times and have rebooted the machine
 too and still get the same results using phpinfo command, version=5.3.1.
  4. httpd.conf for apache has "LoadModule php5_module
 libexec/apache2/libphp5.so"
  5. Should !#4 point to somewhere else? It's obvious according to !#2 that
 5.2.13 is installed, but, apache seems to still be using 5.3.1. Any ideas
 how to correct this?

 Thank you very much,[[br]]
 David

-- 
Ticket URL: <http://trac.macports.org/ticket/25714#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list