Re: mcrypt and PHP

2012-09-04 Thread Ryan Schmidt

On Sep 4, 2012, at 00:36, G R Lewis groble...@mac.com wrote:

 Current versions of: 
 Mac OS: 10.7.4
 PHP: 5.3.10 (pretty sure it came with the OS)
 phpMyAdmin: 3.5.0
 
 The front page of phpMyAdmin has a warning in red: 
 The mcrypt extension is missing. Please check your PHP configuration.
 
 I've seen some instructions that involve (I think) recompiling PHP with the 
 extension but I'm hoping that's not necessary. 

I suggest you use the phpmyadmin port in MacPorts. Decide which version of 
MacPorts PHP you want to use with it:

$ port variants phpmyadmin
phpmyadmin has the variants:
[+]php5: Use php5
   php53: Use php53
   php54: Use php54

Install it with the appropriate variant.

The php5 world is old and going away; I suggest you use the new php54 world 
unless you have a specific reason not to.

sudo port install phpmyadmin +php54

This will install a separate copy of PHP in MacPorts. It will not use what came 
with your OS. It will also be a separate copy of phpmyadmin. You can delete 
whatever manually-installed version you had before. You may need to move over 
your config file first though.

You'll also want a web server. You could install the php54-apache2handler to 
get the MacPorts apache2 port and the corresponding Apache module for PHP 
support. Again this is separate from whatever might be provided with OS X. 
You'll need to turn off your Apple web server and then turn on the MacPorts one.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


mcrypt and PHP

2012-09-03 Thread G R Lewis
Current versions of: 
Mac OS: 10.7.4
PHP: 5.3.10 (pretty sure it came with the OS)
phpMyAdmin: 3.5.0

The front page of phpMyAdmin has a warning in red: 
The mcrypt extension is missing. Please check your PHP configuration.

I've seen some instructions that involve (I think) recompiling PHP with the 
extension but I'm hoping that's not necessary. 

On Sep 3, 2012, at 9:53 PM, Ryan Schmidt wrote:

 
 On Sep 3, 2012, at 23:33, G R Lewis wrote:
 
 Also: do you know anything about mcryptlib? My phpMyAdmin always complains 
 that it isn't installed but it shows up on my list. 
 
 What I know about mcryptlib is that we have a port for it (called libmcrypt), 
 and ports for the PHP interface to that library (php5-mcrypt, php53-mcrypt, 
 php54-mcrypt), and that the phpmyadmin port declares a dependency on the 
 appropriate PHP interface port. Which version of PHP (specifically which PHP 
 port) are you running in your web server? Which variant of the phpmyadmin 
 port is installed?

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users