Yum Update PHP Conflict - php

I am very new to linux and am trying to do an update to my AWS linux web server to update the PHP. I type in sudo yum update and it comes back with an error saying, “php73 php common conflicts with php-common-5.4.16-48.el7.x86_64”. How would I go about solving this kind of issue?
I tried searching around the internet to see if there was any forums or videos but nothing that I saw related to this.

Related

Apache not running in xampp

I installed xampp 7.1.2 in my windows 7 computer and after installing it when i try to run apache i get following error -
the program can't start because api-ms-win-crt-runtime-l1-1-0.dll is
missing from your computer. try reinstalling the program to fix this
problem.
I reinstalled but no progress.
I posted a topic for this problem in apachefriends.com forum and they said me to have "MS visual c++ 2015(x86) 14.0.24.." installed, which i already had installed. I uninstalled existing this software in my computer and reinstalled this mentioned software but still i can't run apache in xampp control panel, i am getting same error as i wrote above!!.
I searched through web about this problem but did not find similar one. so how should i proceed??
Try following this answer here on SO.
After installing, search for that dll to verify that it exist somewhere.
If not, it's worth trying this:
Check with procmon where xampp is looking for that dll, and then download the dll and put it in the place it's looking for.

Ubuntu server in Google cloud won't run apps in browser

I've started a plain Ubuntu 15.10 instance on Google Cloud and installed a couple of apps via the command line as per their installation instructions:
http://wiki.resourcespace.org/index.php/Installing_on_Ubuntu_Linux]http://wiki.resourcespace.org/index.php/Installing_on_Ubuntu_Linux1
webmin.com/deb.html*
*I have opened up port 10000 on the firewall for webmin.
Everything seemed to go according to plan on the command line, however in the case of both applications, when it comes to the bit where I load up the app in my browser, my browser is returning the "web page not available" message.
If I go to the base IP address of the server I get the Apache2 Ubuntu default page so I know apache is running.
Can anyone point me in the right direction as to why I can't see the apps in my browser?
I guess there's something I need to enable or a service I should start, but I'm honestly not sure what I should be looking for.
It's probably worth mentioning that I have another Google Cloud instance where I did the bitnami "one click install" of ResourceSpace, and on that server I separately managed to install and run webmin with no problems at all. I want to set up a clean install that directly refers back to the original software vendor for easy updates as the bitnami install is out-of-date and is proving difficult to update.
Apps weren't properly installed.
Re-ran a clean install and everything worked.
Have you tried opening all your ports?

MYSQL PID/SOCK error - I can't get my Mac El Capitan to work with full web server

So I have been trying to get my localhost up on my brand new MacBook Air on OSX El Capitan.
What I have so far is PHP seems to be working correctly, Apache seems to be working correctly also, but mysql is giving me a headache.
I tried to install the stock version of mysql, which doesn't seem to work at all, it started and every time I tried to login to mysql it completely broke and I didn't see any error messages, but I guess it was the same I got for the homebrew installed version.
When I tried Homwbrew brew install mysql it worked correctly.
Then I tried mysql_secure_installation it threw and error: Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Then I tried mysql.server start and I got ... ERROR! The server quit without updating PID file (/usr/local/var/mysql/Szekelys-MacBook-Air.local.pid).
This is my third fresh install for Mac and I have no idea at this point.
I tried permissions, creating the PID file and a lot of other things.
I'm afraid that I've not got a solution for you. I'm in the same boat though. I have exactly the same error, and I've tried installing with brew as well as directly.
Even worse, I've got it working in my iMac, but not my Macbook Pro.
The only difference I can see is the version. I've got
mysql-5.6.26-osx10.8-x86_64
on the iMac, working well.
The one that's not working has:
mysql-5.7.9-osx10.9-x86_64
I'm going to try using the earlier revision, it's the only thing I've not tried yet.
I know this is weird, but I have been experiencing the same problem over and over and coming upon no useful answers like the rest of you, but somehow I happened upon something that DID work on this page
For some reason following the instruction to use mysql.server restart seemed to work. I didn't create any of the suggested launchctl versions either.
I suggest doing a hard cleanup of homebrew brew cleanup --force -s to make sure you get a new download.

FFMPEG Error, any ideas on how to fix the issue?

Hello i have installed xampp on my windows computer and running it as a home server, i want to install ffmpeg and it keeps coming up with an error and ive looked everywhere but found nothing! any ideas of whats going on and how to fix this?
The image of the error - http://fktwtv.sytes.net/error.png
Here are a couple related questions that may provide some more info:
php-module-with-incorrect-compiled-api-unable-to-initialize
apache-is-unable-to-initialize-module-because-of-modules-and-phps-api-dont
Basically, PHP and all of the modules must be compiles with the same API. If you've installed from package, check for a version of the package that matches your version of php.

PHP Jquery Wall Post

I'm trying to build a post-to-wall system. I followed a tutorial and it looks like I'm fairly close. However, loads of warnings come up when I post instead of the actual post. Do I need to setup a database somwewhere? I've never done much with PHP or databases, so excuse my ignorance.
http://beulahprint.ie/facebook_wallpost_system/
This all depends on whether you have underlying access to the machine that you are doing your development on.
If it is a linux machine and you are able to log into it then the following command will work for Red Hat (and it's derivatives: fedora, centos, etc...) as well as deban based systems such as ubuntu:
mysql --version
If this command reports some form of error they you will probably need to install mysql with one of the following commands:
sudo yum install mysql-server
OR
sudo apt-get install mysql-server php5-mysql
The sudo part makes you superuser so that you may install the software (not everyone) can install software you know. When you have run this command the computer will go through all the normal steps to install the software, but it will ask you a number of questions like: what would you like the root password to be? what IP is mysql going to run on? Luckily MySql fills most of these in by default.
If you are running on windows then it is just a matter of downloading the installation file from the mysql website, double clicking the .exe, and following the installation steps.
Good luck!
EXTRA: If you are looking for an easy way to access your mysql database you can't go far wrong with 'MySQL GUI Tools', just google it.
All of the errors you are seeing are due to a missing database and the inclusion of db files. You'll need to connect to the database (using PDO or MySQLi) and update it with the content you are entering. Looks like you are about halfway there.

Categories