Jump to content
FrancisChung

Has anyone here used AMPPS?

Recommended Posts

@fbg13 ,  not sure if it's because I had devilbox installed in /opt.
1 of things I'm learning coming from OS/X to Linux is applications can live in all sorts of directories, and some of them require sudo and others don't. Urgh

Share this post


Link to post
Share on other sites

Why did you install it in /opt?

I put it on a separate partition so when/if i reinstall i don't have to back up and restore them.

 

  • Like 1

Share this post


Link to post
Share on other sites

@fbg13 : Put that down to me being a Ubuntu noobie. I was googling where the best place to install applications to and there wasn't a definitive answer. Coming from OS/X, this isn't an issue you would normally think about.
So I looked at where my existing applications were installed at. I had only just installed the O/S so I didn't really have many apps. 

1 of the first ones I installed, Chrome, happened to be in /opt. So that's where i chose to install my applications (if I had a say where it goes)

On hindsight, maybe I'll do things differently in the next build.

So you recommend a separate, entire partition for applications only? I'm guessing this wouldn't work if I switched distros for example right? Does it still work if you go from different versions of the same distro?
 

Share this post


Link to post
Share on other sites

On linux distros you use package managers to install software (packages).

If there is no package you need to build and install the software from source, which can be a pain in the ass, especially if it has many dependencies (you have to build and install those too).

9 hours ago, FrancisChung said:

So you recommend a separate, entire partition for applications only?

No, just devilbox (not the entire partition just for devilbox though). You can do that for other apps to but it gets complicated.

9 hours ago, FrancisChung said:

I'm guessing this wouldn't work if I switched distros for example right? Does it still work if you go from different versions of the same distro?

For devilbox it will work, as long as you have docker and docker-compose installed. For other apps it depends, some will work some will not.

Share this post


Link to post
Share on other sites
1 hour ago, fbg13 said:

On linux distros you use package managers to install software (packages).

Yeah that's my normal method too, but I don't recall devilbox having that option.
 

1 hour ago, fbg13 said:

If there is no package you need to build and install the software from source

I'm pretty sure this is what turned me off Unix many moons ago. Especially the packages you mentioned that had dependencies upon dependencies. 

Share this post


Link to post
Share on other sites

Hello all. I just got into this topic while searching if someone else had issues using AMPPS with PW, where I can import the DB, pull up the admin but it is not logging. Funny enough, the reason for me using AMPPS is because I am playing with a MAC to see how good is the performance over Linux. So far it is all good and I know AMPPS is for LINUX, WINDOWS, MAC but with Linux I had an issue with the parked domains where the records of the domain were not added automatically to the hosts file. 

In other words it works fine for web dev on the three major OS'es and I will give a try to devilbox, but bear in mind that you might loose the ability to login to admin (at least under macOS High Sierra). I am testing now with a fresh install of ProcessWire as the first attempt was to import an existing project I am working on under Win with another server and see its portability.

Share this post


Link to post
Share on other sites

@MilenKo, If you're on OS/x I'd recommend using MAMP or MAMP Pro. I would just NOT recommend AMPPS at this stage, for any platform going on my personal experience.

I'm not familiar with High Sierra, but not being able to run DevilBox with elevated privileges could be an issue. That certainly was the case in Ubuntu.

  • Like 1

Share this post


Link to post
Share on other sites

Hello Francis. 

To be honest, I was trying to find an easy to work with platform that would be OS independent - that is why I tried to use AMPPS. The issue I mentioned earlier was nicely pointed out during the Processwire Installer - mod_rewrite was not enabled by default, so after enabling it and restarting AMPPS - it is all working just fine. So if anyone is trying to use AMPPS for MAC OS - at least under High Sierra 13.6 it is working perfectly fine. One of the things I liked about AMPPS was that through the web admin I could just type my desired domain and it would add automatically all the info to the hosts file as well as all configurations of Apache, PHP etc. 

For sure I could use a simple MySQL, Apache and PHP installers and configure them manually, however it is just nice and easy to "install" ampps to Applications folder and even backup the hosts/domains easily.

It is true, that I had issues with the virtual hosts being added under Linux in the past and I remember contacting the support for that, but I should test it now to confirm if that issue still exists. For now I am sticking with macOS HS and AMPPS. Thanks for the feedback. 

P.S. As far as I've been working with Ubuntu for quite some years, I will fire up my Linux box and try to install the Devilbox to see where the issue might be and how to recover it. I've just never heard/used that stack so it would be nice to try it and make it run (eventually). 

Share this post


Link to post
Share on other sites
6 hours ago, MilenKo said:

trying to find an easy to work with platform that would be OS independent - that is why I tried to use AMPPS

I was trying to do the same, but the installer for Ubuntu doesn't work!
I'm glad it worked out for you though.

If you do end up using Devilbox, don't forget to use sudo. I think that's where I got thrown off initially.
 

Share this post


Link to post
Share on other sites

@FrancisChung Maybe I did not express myself correctly but under Ubuntu, I was able to install AMPPS but it shows empty screen on the AMPPS Admin. I passed through the empty screen by adding some strings to /etc folder and have the ability to start/stop services and see the apache fired up promptly. The only issue left is that it still does not add the parked domains to /etc/hosts and I have to manually add it so I am in touch with the support to have this fixed somehow. If I achieve a fully working state, I will provide a little installation howto for anyone that is looking forward trying it. It is very good for local development (even though I am not comparing the performance as I am working on a computer with tons of ram and cpu power) and what is most important - works under Windows, Mac and Linux (for now hosts file needs to be edited manually even if the app is started as SU) It is not a big deal, but is a glitch that I would like to learn how to have fixed and do everything from the admin panel 😉

  • Like 1

Share this post


Link to post
Share on other sites

OK, it seems like Ampps is working fine for linux (atleast I've tested it with Ubuntu 18.04LTS and Linux MInt 19 which are my preffered choice for now), however there is a glitch in the app that does not edit the hosts file (/etc/hosts) so everytime you add a parked domain, you should just add the record for it in the hosts file, like:

 

127.0.0.1   blablabla.com (where blablabla.com has been added in Ampps). I know it is not the perfect world, however starting to work on a project does not take a minute or so so it is OK if one has to add the domain for now and use it for a week, month etc. I got in touch with the technical support and proved that it is not an issue of permissions by changing the permissions to /etc/hosts to 777 as well as running the app as super user, so they should look into this issue and have it fixed, however as of now (5 days later as of my last reply) there was nothing pinpointing the issue and an eventual fix, so just decided to share the experience so far with the rest of you. Hope it helps someone in his choice of preferred stack as I really liked Ampps for Windows and Mac, but not so much on Linux yet...

 

 

 

Share this post


Link to post
Share on other sites

Hi, MilenKo

Did you ever do a performance test between Ampps and Mamp on Mac ? Or between Ampps and Wamp on Windows ? Or between Ampps and another stack ?

I noticed a difference between Ampps and Laragon on Windows. Laragon is really faster.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MacLeod
      [GERMAN]
      Hallo Community,
      ich hoffe Ihr könnte mir weiter helfen?
      Ich habe Processwire bei meinen Webhosting Anbieter installiert ohne Probleme.
      Nun wollte ich es bei meinen Local webserver (MAMP 4.1) installieren...
      Leider zeigt er mir einen Datenbank fehler, dass er bestimmte Tabelle nicht finden kann!!!
      (Siehe Bild)
      Kann mir einer sagen, wodurch der Fehler verursacht wirt?
      Habe es auch schon bei einen Kumpel und eine anderen Local Webserver Umgebung Installiert. Immer der Selbe Fehler.
      Gruß
      MacLeod
       
      [ENGLISH]
      Hello Community,
      I hope you could help me further?
      I have Processwire installed at my webhosting provider without any problems.
      Now I wanted to install it on my local webserver (MAMP 4.1) ...
      Unfortunately he shows me a database error that he can not find certain table !!!
      (See image)
      Can someone tell me what causes the error?
      Have it already installed with a buddy and another Local Web server environment. Always the same mistake.
      greeting
      MacLeod
       

    • By louisstephens
      Not sure if anyone out there has successfully solved this yet (nor if this is the correct place to post this), but I am kind of stuck on this. I normally use MAMP pro 3 for setting up my dev work flow, and wanted to play around with ImageMagick. I knew I had to enable the extension in MAMP, which I simply just removed the ";" in front of extension=imagick.so in the php.ini and restarted the servers. However when I tried to install the module, i get the following error:
       Unable to install module (ImageSizerEngineIMagick): This module requires that you have PHP's IMagick (Image Magick) extension installed
        From what I have read, the extension should be installed and activated after I followed the simple steps, but processwire doesn't seem to recognize that it is activated. Has someone encountered this issue yet?
       
      I am using php v7 with an install of processwire 2.8.35.
    • By modifiedcontent
      Has anyone successfully installed Processwire on an Amazon EC2 instance/virtual server?
      Which configuration works; Amazon Linux or one of the other flavors?
      How do you get file permissions and the database working?
      Which lines in .htaccess cause problems on Amazon AWS? 
      What are the pitfalls to watch out for?
      Why can't I get it working...?
      The first problem I run into is an error message that the installer doesn't have write access and that I should manually rename the 'site-myprofile' folder to 'site'. Attempt to chmod all the files and folders to 777 don't seem to have any effect on that and some files do get written fine.
      But I keep ending up with inaccessable pages and fatal server errors. I am not asking you to solve my problem. I am curious what other people's experiences are with this. Can it be done or am I wasting my time?
       
    • By j00st
      Hi everyone!
      Although I've set up a couple of sites using Processwire now, I still run into typical 'Getting Started' errors - and I figured this is yet another one...

      On the previous site I built (locally and on a server) I had no problems with modules (downloaded them, placed them in the folder, installed, worked) but this time around two of the modules I want to use are not working. 
      I'm using a textarea with Markdown (Parsedown Extra to be more precise - which works fine), but on the same textarea fields I want to use both the TextFormatterVideoEmbed (for YouTube & Vimeo) and the ImageTags (for embedding from the images field on the same page)
      Current situation for:
      VideoEmbed – Link is shown as link.
      ImageTags - Throws the following error Notice: Array to string conversion in ../site/modules/ImageTags/TextformatterImageTags.module on line 20
      Should I use a different version of Markdown? (Haven't tried that - just realised it while typing this post...)
      I have the feeling I might be overlooking something really obvious, but I can't put my finger on it. Suggestions? Tips? Cheers!
    • By sambadave
      I'm having a little bit of trouble since swapping from PC (running WAMP) to MAC (running MAMP).
      I managed to get my site copied across to my MAC local server and everything is running fine... but I've noticed that when I submit a form (originally created using the very awesome formbuilder) that the email doesn't send and I don't get any confirmation email either.
      Does anyone know where I might be going wrong or where a good starting point would be? I just double checked the form on my windows machine (running WAMP) where both the email and confirmation email sent with no hiccups.
      Any tips would be appreciated.
      Thanks
×
×
  • Create New...