Jump to content


The Old LAMPlighter


  • Please log in to reply
7 replies to this topic

#1 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,334 posts

Posted 14 July 2017 - 09:01 PM

I concentrate mostly on desktop Linux, but knowing what I do is handy when you have to deal with a LAMP stack such as the one that runs my website provider's server farm.
The other day I couldn't log in to my website because I kept getting an error message about a missing MySQL extension. I contacted the website provider helpdesk and they told me my blog site was incompatible with PHP 7.0. After a rollback to PHP 5.6 everything was fine again.
I updated everything and checked all my plugins and themes for PHP 7.0 compatibility. No problemo. But if I used the Command Post software to switch back to PHP 7.0 I got the same missing MySQL error. Can't run a LAMP stack without the "M."
I ran through the list of PHP APIs and noticed that the MySQL ones were not checked to enable them. But there were a bunch of them - which ones did I need? I pressed the "Use Defaults" button & a couple of checkboxes got checked. At last the PHP 7 enabled LAMP stack worked fine.
Just call me the Old LAMPlighter.
Posted Image

Registered Linux User 445659

#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,984 posts

Posted 14 July 2017 - 09:09 PM

LAMP is usually pretty straightforward and easy to set up. Of course, most of the time you are doing this to host your own website instead of dealing with someone else's hosting. How much are you paying them? I only ask as you can get a full VPS for $20 or less a month and host your own content. Plus you will have a VM in the cloud that stays up 24/7.

I have been using Linode for 7 years now without any issues and you can choose whatever distro you like, plus you have full root as well.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#3 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,984 posts

Posted 14 July 2017 - 09:13 PM

BTW nginx is much nicer than apache.. https://www.nginx.co...pache-our-view/

But LNMP doesn't sound as nice.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#4 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,334 posts

Posted 14 July 2017 - 09:31 PM

I have shared server services for about $8 per month. That is OK for me. It was easy to set up Wordpress and get my own domain so I'm not complaining.
Posted Image

Registered Linux User 445659

#5 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,984 posts

Posted 14 July 2017 - 09:59 PM

Well Wordpress is free anyway and domains are usually only like 12 a year. If it works for you that is all that matters.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#6 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,306 posts

Posted 14 July 2017 - 10:41 PM

Amazing where unplanned browsing can get you. I followed Josh's link to read about nginx and Apache, then somewhere else from there, then to the first webpage ever!
http://info.cern.ch/...TheProject.html
registered Linux user number 324659  || The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted ImageKXStudio
For the things we have to learn before we can do them, we learn by doing them.

#7 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,984 posts

Posted 14 July 2017 - 10:49 PM

Neat :thumbsup:
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#8 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,334 posts

Posted 15 July 2017 - 06:57 AM

View Postsecuritybreach, on 14 July 2017 - 09:59 PM, said:

Well Wordpress is free anyway and domains are usually only like 12 a year. If it works for you that is all that matters.
Understood. I just haven't got into setting up my own virtual server yet. The website provider has lots of easy scripts to get Wordpress working. I have very low traffic as its just a blog for friends and family.
Posted Image

Registered Linux User 445659




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users