can anyone explain the procedure of installing ffmpeg in wamp.
I got an answer to my previous question on ffmpeg and wamp that we have to interface the ffmpeg (here) with wamp.
I need to have a step by step process of how to do this, as I am confused with the interfacing little bit
I also want to know what is a way to install this ffmpeg into the server, or the procedure to do before we do the encloding procedures
Try the following steps.
Download ffmpeg_new from here: http://sourceforge.net/projects/ffmpeg-php/files/
Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext
Copy files from common to the windows/system32 folder
Add extension=php_ffmpeg.dll to php.ini file
Restarted all services (Apache, PHP...)
And enable "extension=php_ffmpeg.dll" directive in your php.ini.
All the best.
Thanks,
Kanji
make all the following steps mentioned above with http://sergey89.ru/files/ffmpeg-php/ffmpeg-php-5.3-win32-all.zip
I use php 5.3.5 (wamp 2.1 x32)
Related
I am not able to install php thread in azure. as we can not modify most of the directories and php.ini files.
I have followed the steps in this answer Using Pthread in Azure web app in a PHP site to install pthreads in Azure web app successfully with PHP 5.6 (5.6.29) VC11 x86 Thread Safe and pthreads version 2.0.9.
In which case, some additional modifications might be needed in step 3.
3, I used phpinfo() to find default php.ini file in Azure, Then I
browsed Kudu Console of my web app via
https://<your_web_app_name>.scm.azurewebsites.net/DebugConsole/?shell=powershell.
Locate the directory found above. Download the content to local saved
as php.ini in the PHP directory. Uncommented extension_dir = "ext"
in this file.
Once you have downloaded the php.ini file, change
extension_dir="D:\Program Files (x86)\PHP\v5.6\ext\" to
extension_dir = "ext".
Add the line extension=php_pthreads.dll at the end of php.ini file.
Here the pictures:
I also tried to install pthreads v3 with PHP 7, but failed. Seems pthreads v3 is NOT supported by PHP-CGI, only by CLI version. The following statement is from official site.
pthreads v3 is restricted to operating in CLI only: I have spent many
years trying to explain that threads in a web server just don't make
sense, after 1,111 commits to pthreads I have realised that, my advice
is going unheeded.
So I'm promoting the advice to hard and fast fact: you can't use
pthreads safely and sensibly anywhere but CLI.
Thanks for listening ;)
Hope this will help you. Any further concern, please let me know.
I have recently build curl with http2 support using visual studio. I have tested the curl.exe on command prompt. It is working as expected.
My requirement is that i have to use this built curl in my website running in xampp.
I know that the php in xampp already has its curl extension. It is in the file php.ini on line 878.
extension=php_curl.dll
It is in .dll
How can i change this so that it points to my built curl.
If it is not possible in xampp, you can suggest some other away. But my requirement is that i have to use this built curl in my php project.
Thanks.
Copy your version of the DLL's into the \xammp\php\ext folder. That is where PHP gets them from, and thats all you need to do apart from restart Apache.
Better make a backup of the originals in case yours dont work
Basically My aim is to use the following script on my website
php-upload-progress-bar
I want to first of all set it up on my local server which is on ubuntu 10.04 and i am using xampp1.7.7 and then upload it on my website which is hosted by dreamhost web hosting which uses php5.2
The main requirement of above script is to have APC .
My problem is that i am unable to set up APC on both server (my local and on dreamhost)
I have followed many tutorials to install it but coudn't install it
Can someone give me some idea about using APC and installing it to run above script??
I have already followed following tutorials and guides
Dreamhost wiki
Stack answer
PS;I am not using apache2 service.my php path is /opt/lampp/htocs
Please help me i am stuck in this and also i am using that upload script because i can not use flash,html5 or php5.3 acording to client requirement so i need a solution for upload progress bar using APC so that it will run in all browser and with php5.2
Thanks in advance
Please feel free to contact DreamHost support for more immediate assistance. As for the APC extension, it is not enabled on our php 5.2 or php 5.3 options, as you mentioned. The easiest way to do this will likely be to compile the apc module for php 5.3 and then setup the custom phprc file for it under your user. This wiki details the process:
http://wiki.dreamhost.com/PHP.ini#Compiling_PHP_5.3_extensions
-- I tested doing a install right now, the steps were:
Download the APC package from PECL: http://pecl.php.net/package/APC
extract it, enter the directory, run phpize, then run:
./configure --with-php-config=/usr/local/php53/bin/php-config
then make
mkdir -p ~/.php/5.3
cp modules/apc.so ~/.php/5.3
then edit the file ~/.php/5.3 and put into it:
extension=/home/USER/.php/5.3/apc.so
(replacing USER with your real ssh username)
save it, and you should be good to go.
Feel free to write us at support if you have any additional questions.
Trying to upgrade from PHP 5.2.5 to 5.2.17 (and then to 5.3.6 once that works) on IIS 6.0, installing the language itself runs just fine and I changed the PHP.ini/ect locations that IIS uses for PHP, everything still works but when I run PHP info on my site it still says it's running PHP 5.2.5. Restarted IIS, restarted the server even, no difference. What do I do to change which version/what location of PHP IIS is using?
When I install PHP 5.3.6 the site no longer works, so I know installing different versions is doing SOMETHING, but I think it might only be changing the PHP.ini my server is using, not the version of PHP.
In addition to installing the windows binary release of PHP I've also tried installing PHP from Microsoft's Web Platform Installer (both 5.3.6 and 5.2.17), after installing neither showed up as the current version in phpinfo either.
If you want to use php 5.3, you must install IIS FastCGI extension and run PHP as cgi script. From php 5.3 isapi is not supported. But everything works fine if you configure it, and as benefit you can use more php version simultaneously. IIS 6 is not a problem. Download PHP non thread safe.
For details see this, for example: http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
Download the latest VC11 x86 Non Thread Safe version of PHP from http://windows.php.net/download/
Once the zip is downloaded, right click on the zip file and select properties. Make sure you unblock the file.
Rename your current PHP folder to PHPold.
Find your php.ini file and rename it to phpold.ini
Extract the zip file to c:\temp\php.
Copy the php folder from c:\temp to wherever your old PHP folder was.
Go to your new php folder and copy php.ini-production and paste it to where your old php.ini file was
Rename php.ini-production to php.ini
On the server, make sure you have Notepad++ along with the Compare plugin. If you need the compare plugin, use these steps. http://www.davidtan.org/how-to-compare-two-text-files-using-notepad-plus/
In the location that stores your phpold.ini and php.ini, right click on each of those files and open them with Notepad++. On the php.ini, only make changes to the lines with the >> next to them.
Once the changes have been made, make sure you save php.ini.
Go to Services and restart IIS.
Solution has been to move to Apache in my case. IIS 7 has better tools but IIS has proven to be a poor environment for development in this case.
I have WAMP SERVER,PHP 5.3.0 and Apache server 2.2.11 I want to download a suitable CURL lib version for it
I studied the sites and found that this installation will not be easy it may not work if the version is not suitable please help me with details also I found here:
http://in.answers.yahoo.com/question/index?qid=20090827212635AAWBwZj
http://www.ozzu.com/programming-forum/curl-issue-for-wamp-server-t100949.html
but I'm not sure to get the perfect result cause my version is different
also I have another problem if I can not install it in a good way will my wamp server and databases go wrong or not?
Are you running WAMPSERVER? If not, I would recommend doing so if you wouldn't miss your current WAMP environment -- it comes with CURL along with many other useful features.
Check it out here: http://www.wampserver.com/en/
open php.ini file and find this line
;extension=php_curl.dll
remove ;
extension=php_curl.dll
save file
...
still problem exists
then check for this file
php_curl.dll
in
{wamp}\bin\php\php5.x.x\ext\
if it's not there than download it from internet and paste it to there
Restart Apache.