Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Problem using gpm

Started by Muut Archive 11 years ago · 5 replies · 410 views
11 years ago

Hi there, I'm trying to install a plugin using GPM. First I got an error that it required php. I run LAMPP, so that seemed strange to me, but maybe it's an environment variable setting somewhere? When I simply installed php using apt-get (ubuntu) it said "GPM requires PHP Curl module to be installed". I can try to activate Curl, but I'm getting the feeling that I'm doing it wrong and that it should be using the php installation in LAMPP.

11 years ago

Yes, xampp for linux, I thought that was called lampp :D I fixed it now by installing php and php-curl packages with apt-get system wide, but it feels like a dirty fix. Furthermore, I now have an apache server running on startup that I need to manually turn off every time I want to start up xampp. I found that post you sent me but that didn't solve it for me at first. When I run "which php" it tells me that it's using "/usr/bin/php" even though I added "/opt/lampp/bin" to the path variable. Do you think I should uninstall the new php installation?

11 years ago

Ah never heard of LAMPP :) If you don't need the built-in PHP and it's just confusing, you can just use the LAMPP version. Same goes for Apache. I think /usr/bin comes before /opt/lampp/bin so it has precedence over the lampp PHP binary.

11 years ago

Ah right. Well I'll just use this for now, it's a test environment anyway. Thanks for the quick response!

11 years ago

Yah same for me, i've never run anything but the native packages for a linux environment. It's not dirty, apt-get is how you should be installing stuff, as those are the officially supported packages, any 3rd party LAMP stack on top of linux sounds dirty to me :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1334 9 years ago
Archive · by Muut Archive, 9 years ago
2 925 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2939 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago