D
D
Dmitry Bay2015-09-10 11:46:08
MAMP
Dmitry Bay, 2015-09-10 11:46:08

How to install GeoIP in MampPro?

In general, an error occurs in the project:
Call to undefined function rmrevin\yii\geoip\geoip_db_avail()
And the question arose to install GeoIp in MampPro.
Trying to install using the command
... sh pecl install geoip
But getting errors:
checking for geoip files in default path... not found
configure: error: Please reinstall the geoip distribution
ERROR: `/private/tmp/pear/temp/geoip /configure' failed
Since I'm not very good at installation features, I ask for your help, how to install geoip on a local machine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maxclax, 2015-09-17
@maxclax

I myself encountered a similar one and always had VAGRANT on my note, I even managed to ask a stupid question here Why is vagrant better than MAMP Pro on Mac os? . I recommend not to bother with MAMP and make a complete transition of development from VAGRANT. A bunch of perks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question