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

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.

Related

PHP Install on IIS 7, no test results

I am trying to install PHP on my IIS web server running version 7.0. I downloaded the php-7.1.8 Non Thread Safe for Windows 64. I then procceded to follow the steps found here: https://www.howtogeek.com/50432/how-to-install-php-on-iis-7-for-windows-server-2008/.
I had no issues with the install but when it came to the last step of creating the test PHP page and launching, instead of getting the results, i'm being asked to Open or save the file??
I've also tried putting this into a live website and accessing it outside the web server. When I try this I receive a 500 - Internal Server Error.
I had tried this about a year or two ago and got frustrated, so I gave up and have retried today but experiencing about the same result. Don't know what other information would help, but i'm willing to provide what's necessary. Thank you for any help.
After continuing research I ended up using the Windows Installer version (https://www.microsoft.com/web/platform/phponwindows.aspx) and then went back through the configuration steps of the php.ini file.

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.

Running PHP and MySQL with XAMPP in Ubuntu (laravel)

I'm quite new to Linux and still trying to adapt my self. I've setup my working environment all good, installed XAMPP, node, sublime, etc. But when I tried running a laravel app, the first thing that caught me was I couldn't run php.
I was confused because i had already installed XAMPP (which i thought would've done it all for me), but then I simply created a symlink in my /usr/bin to the /opt/lampp/bin/php and it all worked well (I'm not sure if that was all correct, but it worked).
Then when I tried opening the app in my browser, it couldn't find the sql driver, so I asked my self, what exactly am I doing wrong? XAMPP should have taken care of all those things (as its name suggests), but it didn't setup php and mysql as i thought it would.
Am I missing something here? Should I install MySQL driver and PHP apart from XAMPP? Because that makes no sense at all for me. I really need some basic guidance here about this whole thing, what makes it so different from Windows where I simply install XAMPP and start programming?
I need to understand that so I can have a better understanding of the system it self and fix these kind of problems my self in the future.
PS: I'm using Ubuntu 16.04 and instaled XAMPP with PHP 7.0, downloaded from official website.
Thanks everyone!
I never used xampp on linux myself so i dont know how does it work here but I can tell you what really got me good start at understanding of linux was installing whole LAMP stack myself. So i would recommend googling 'How To Install LAMP' and try to figure it out from countless tutorials.
Basically you install apache, then mysql and php, restart server and check if 'It works'.
try two things
In the folder /etc/php/php.ini
uncheck the line extension=pdo_mysql.so
or in the folder of lampp (/opt/lampp/etc/php.ini)
And to start Laravel you need start with ~/php artisan serve
in the browser localhost:8000

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

I've spent 5 hours trying to resolve this issue. I've used every suggestive link that was relevant to my issue that Google listed. Nothing seems to work.
The OS is CentOS 6.5 and has Apache, PHP, and MySQL installed. I have several WordPress intranet sites working for almost a year with my subdomain xxxxx.xxxx.com.
First of all, I updated PHP 5.3.3 to the latest version. After that I got the error that MySQL extensions were not installed. I followed the different resolutions I could find and could not get a resolve. I therefore decided to remove php and install the older version I originally had. Since that time I am running into three problems.
My domain now only shows the Apache page whereas it use to show my website;
When I try to find out what php version I have by using the command php -v I would get what version was installed. After removing the updated version and installing the older one I get the error "php: command not found";
When I try to remove the older version I can't find it's install location and phpinfo.php doesn't work (may have put it in the wrong place)
Any help resolving this issue would be greatly appreciated
i faced the same problem with my centos 7 installtion with php-fpm ..
the solution was to install php-gd and php-pdo packages. those were the essential packages somehow required to make this all work.. good day
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
For others who may run across this same problem. The majority of the help I found Googling the problem dealt with editing the php.ini to uncomment the MySql extensions. Some even go as far as to say that there is only one thing that causes this problem.
However, what resolved my problem was actually downloading and installing php55-mysql to include the extensions. So be sure to take a look at that as well.

Problems running ClamAV on Centos 5.6 with PHP 5.2.17

I'm having some issues using ClamAV from PHP using the php-clamav package on Centos 5.6, I am wondering if anyone might be able to shed any light on setup?
Installing ClamAV (and clamav-devel) seemed to go ok, and the freshclam command gives me some encouraging looking output. Adding php-clamav also seemed to go fine. Adding extension=clamav.so to my php.ini file adds a clamav section to the output from phpinfo(). I then created a /etc/php.d/clamav.ini that looks like this:
[clamav]
clamav.dbpath="/var/clamav"
clamav.maxreclevel=16
clamav.maxfiles=10000
clamav.maxfilesize=26214400
clamav.maxscansize=104857600
clamav.keeptmp=0
clamav.tmpdir="/tmp"
/var/clamav is where the files bytecode.cvd, daily.cld, main.cvd abd mirrors.dat can be found, I assume that's what it's looking for?
Restarting Apache causes these details to display in phpinfo(), but only the first time I try. Subsequent calls to that function do not produce anything. Additionally, calls to cl_info() always show the ClamAV version but "0 virus signatures loaded".
I feel like I'm very close...any help would be much appreciated!
Toby
Belatedly, but in case it helps anyone, at the author's (php-clamav) suggestion I made a new version from the SVN repo, which fixed the issue. I believe the author has since released a new version based on the same code.

Categories