Migrating from Mysql to mariaDB killed website - mysql

followed this tutorial for for digital ocean droplet web server.
http://www.unixmen.com/10-easy-steps-to-upgrade-from-mysql-to-mariadb-on-centos-6-4/
which went smoothly untill rebooting now my sites are all white screening, here is a wordpress installation with the debug mode on.
http://grandmstramrod.co.uk/
the service is also running varnish cache.
any ideas would be great
thanks

Related

WAMP Not Starting

I'm trying to get started with WAMP server on a Windows 10 computer. When I try to launch the WAMP application on the computer, I get an error message that says This application was unable to start correctly (0xc000007b).
The WAMP icon in the taskbar tray is orange, with 2 of 3 services running.
I am still able to access the WAMP dashboard through localhost in my browser.
I've gone through and installed all the required Visual C++ redistributables to no avail.
I've enabled both the .NET frameworks.
I've installed Microsoft DirectX.
I've restarted the computer.
I don't have Skype.
Running as an administrator.
Some of the things I tried might be completely useless, I was just watching a few YouTube videos about how to resolve this error.
It says in 'services.msc' that it's mySQL that isn't running. Only MariaDB and Apache appear in services.msc, but I'm still able to access phpMyAdmin
Does anyone know what could be the issue? I'm just about at the stage of uninstalling WAMP and starting again, or maybe trying XAMPP instead.
UPDATE: I reinstalled WAMP entirely, and now I have a green icon in the taskbar, with all services running, however I am still not able to open the WAMP application as per the above question. Can I use WAMP without using the desktop client?

Trouble with Xdebug remote_connect_back MacOS Catalina 10.15.7

Let me say first and foremost, I am not trying to INSTALL Xdebug locally on my Mac and can not run the application on my Mac. I also can not downgrade my OS below Catalina so let's just not discuss those options please...
I got a new Macbook Pro running MacOS Catalina (10.15.7) and can not get Xdebug working to save my life. The PHP application runs on a SHARED development server hosted on Amazon. Seeing as how the environment is shared among several developers, we use Xdebug via remote_connect_back setting.
With my old Macbook Pro running High Sierra (10.13.3), it connects just fine and step debugging has been working for years. The result is the same with all of my co-workers: those on Mojave and below have no issue and Xdebug works wonderfully. All of us with Catalina and higher can not get Xdebug to connect to our machines from the shared dev server. We are all running PhpStorm 2020.3, and use the Chrome Xdebug helper plugin (with "phpstorm" set as the IDE key).
I have set up this configuration at least 2 dozen times (and wrote the company guide for setting up the dev environments including Xdebug), so it's a bit embarrassing that it won't work on newer Macbooks.
The computer I am currently testing has the firewall disabled, no internet security, clean install as of yesterday. Also tried with gatekeeper disabled, rootless protection disabled and Allow Remote connections from ANYONE. All to no avail. On my previous laptop, I can ssh into the dev server, and open a telnet session on port 9000 to my local laptop and it works fine. On the NEW computer, if I attempt a telnet session on port 9000 it just times out.
What is interesting is if I turn OFF listening for Xdebug connections in PhpStorm and run the telnet command again, I IMMEDIATELY get a connection refused message. So I KNOW I am getting the right machine, it's almost as if Apple implemented some security through obscurity logic between Mojave and Catalina.
It's also worth noting that one co-worker is running Catalina, but version 10.15.2 and his connects just fine and he is refusing to update (reasonably so). Any help would be greatly appreciated.
Edit/Update: I have tried both xdebug 2.7.2 via remote connect back on port 9000 and 3.02 via discover remote host on port 9003.
Second Edit/Update: If I open a reverse ssh tunnel on my laptop (ssh -N -R 9003:127.0.0.1:9003 dev_server_host) I can get Xdebug to work. However this solution isn't practical on a SHARED dev server as if more than one person does this we get cross talk. Just noting it to help with troubleshooting.
Third Edit/Update: This issue is still unresolved so I would love to find a solution at some point, but I have moved on by working with coworkers to get it running locally on docker. On docker we have no issue getting xdebug to connect. Our unit tests run a bit slower in docker, whether the code is mounted via a volume or not, but that is another topic for another day.

Setting Up a Python Script on Ubuntu Server

Hello I just finished my a project this last spring and built a ~1500 line Python/MySQL Raspberry Pi home automation server. I have a home server built with Ubuntu Server installed and have everything setup on the GUI at the moment for debugging. I would like to have it setup so that as soon as the the server turns on manually or by wake on LAN that it automatically runs my python script. The issue I have had with this method is that since there are many threads in the program I cannot use control-c to stop the program and this would prevent me from accessing the GUI for more debugging in the future. I have had not experience with Ubuntu server and would like to know the options here.
-Thanks

Installing Apache, MySQL (and secure it), PHP, phpMyAdmin in Amazon EC2

The reason for me posting this is I am really tired and wasted days trying to properly install a web server in amazon AWS Amazon Linux AMI 2015.03 (HVM), SSD Volume Type instance.
I have tried to install LAMP as mentioned in Tutorial: Installing a LAMP Web Server on Amazon Linux and found I am still not able to access PHPMyadmin.
Now for days I am trying to setup Apache, Apache Tomcat, MySQL, PhpMyAdmin and I always face troubles because 99% of the tutorials are written in 2012 and 100% outdated by now. Amazon tutorials are incomplete as they always are, so something is always left to find.I have almost opened and closed more than 4 instances, due to heavy "mess ups".
Can someone please point me to an "updated" tutorial which has the information of installing Apache, MySQL, PhyMyAdmin, PHP ? And of course I need to access these services from a URL, so remote access instructions also required.
Maybe you should consider running your setup on an Ubuntu instance, there are tons of tutorials for running a lamp stack on Ubuntu 14.04.
For instance, Digital Ocean Tutorials are a great resource: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
Next time please post this on serverfault.com .

webmatrix unable to connect to localhost:port

No idea what's happened here - I've been using Webmatrix to build a wordpress site - everything has been going nicely. Powered off the machine last night, now today am unable to run the site.
Firefox gives me this error -
Firefox can't establish a connection to the server at localhost:portnumber.
I've tried running other sites from Webmatrix, no joy. Uninstalled xampp. Windows firewall is off, Norton firewall has the appropriate exceptions.
Where has localhost gone? Anyone?
EDIT: reinstalled Webmatrix, no change. Reinstalling MySQL atm, will see if that helps.
EDIT: nup. Clean install of Webmatrix, MySQL and wordpress makes no difference.
All seems to be working again - rebooted, swore a little, had a coffee and boom, back in business. I think it was the swearing that helped.
Thanks for the suggestions