Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : MCrypt required for Laravel's artisan



Threaded Mode | Print  

 MCrypt required for Laravel's artisan, MCrypt required for Laravel apps (1 Replies, Read 5281 times)
cm000000
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hi,
I'm trying to create an app using Laravel 4 in OSX Mavericks. Composer complains because the lack off MCrypt at the end of the run, but looks to work anyway, but now 'artisan' stop with the following msg:
'Mcrypt PHP extension required.'

I've been looking for mcrypt references in the forum but no luck.

It looks like available:

$ /Applications/AMPPS/php/bin/php -m 

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
ionCube Loader
json
libxml
mbstring
mcrypt
mhash
mongo
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
Phar
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
the ionCube PHP Loader

In phpInfo() it appears as included:

Configuration command .... ' '--with-mcrypt=/Applications/AMPPS/extra'

Registered Stream Filters    convert.iconv.*, mcrypt.*, mdecrypt.*, bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*

and under the mcrypt label we can find

mcrypt
mcrypt support    enabled
mcrypt_filter support    enabled
Version    2.5.8
Api No    20021217
Supported ciphers    cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes    cbc cfb ctr ecb ncfb nofb ofb stream

Directive    Local Value    Master Value
mcrypt.algorithms_dir    no value    no value
mcrypt.modes_dir    no value    no value


It looks like available, but not working. Any clue?

TIA

Carlos
IP: --   

MCrypt required for Laravel's artisan
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Okay. Just type:

Code
php -m


I think composer is looking for default PHP instead of AMPPS PHP. If that is the case put /Applications/AMPPS/php/bin in $PATH.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 21, 2024, 12:24 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.116