Error in configuring ffmpeg in Windows 8 , 5.3 PHP - xampp

I am trying to configure ffmpeg using this tutorial -
http://myownhomeserver.com/2012/12/how-to-install-ffmpeg-php-php-5-4-on-windows-8-xampp-1-8-1/
but after I had done initial configuration, it is throwing error.
I copied php_ffmpeg.dll in ext folder also added it in php.ini file extension=php_ffmpeg.dll
copied other files to system32 folder. but it is throwing error while restarting apache. it is throwing below errow
---------------------------
httpd.exe - System Error
---------------------------
The program can't start because avcodec-52.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
I can see that above tutorial was for PHP 5.4 and above so I found this tutorial http://myownhomeserver.com/2012/02/how-to-install-ffmpeg-php-for-windows-apache-http-server/
this is for PHP 5.3 but still it seems to show same error for me
I cant understand what went wrong can some help me please.

In the guide you are looking at it says that you need PHP 5.4 or higher. You should first have installed PHP 5.4 and then to download the files from this link and place php_ffmpeg.dll in C:/xampp/php/ext and the rest of the files in C:/windows/system32.
Also, if you are on 64-bit system try to add the files that you placed in C:/windows/system32 to be in C:\Windows\SysWOW64 too.
Then go to your Xampp Services, and click on stop Apache. When its stopped, then click start again and it should work.

Related

How to install Typo3 in Windows 10 with XAMPP?

I have installed XAMPP in Windows, It is working perfectly. but when I installed Typo3 version 8 and it Showed some errors
PHP OpenSSL extension not working.
PHP extension soap not loaded.
Current directory is not within in the current path.
Low PHP Script Execution Time.
PHP max_input_vars very low.
Windows apache thread stack size.
But I can't able to fix the following:
PHP OpenSSL extension not working.
PHP extension soap not loaded.
Current directory is not within in the current path.
Windows apache thread stack size.
What should I do?
Thank you
Here is the full configuration for the Apache On windows server. This working fine with my windows 10 with SSL.
<script src="https://gist.github.com/GhanshyamBhava/41d3a34acc11cec2a4828b0d4b2c840f.js"></script>
Hope this will work for you.
Greetings!
The errors above are not something you have to worry about.
You don't need openSSL for development, it is working without soap (maybe this is used by TER), you have to paste all typo3 src in root path because windows doesn't support symlinks.
But if you want to make all things work you have to use vagrant or docker.
Vagrant requires VirtualBox or other Virtual machine tool.
But docker has a boilerplate ready to use: https://github.com/webdevops/TYPO3-docker-boilerplate

Error when installing WampServer

hi i am installing wampserver3 addon php 7.0.13 in my computer. Every time i am trying to install i got the following error:-
"The installation folder chosen (%1) in not that of the Wampserver.
Select the installation folder of wampserver."
i am also attaching a screenshot of the following error. kindly help me to resolve this issue.
thanks
That's because you are NOT actually installing WampServer, but its PHP add-on.
If you used Google to find it, you probably downloaded and installed the WampServer PHP add on from Source Forge. It would be named something like wampserver3_x64_addon_php7.0.13.exe
This is NOT what you want.
You can get the actual WampServer install file from the WampServer project site... which leads you to correct file on Source Forge. It would have a name like
wampserver3.0.6_x64_apache2.4.23_mysql5.7.14_php5.6.25-7.0.1
You want to get it from here:
http://www.wampserver.com/en/download-wampserver-64bits/
The response you are getting means that you are trying to install an incomplete version of WAMPSERVER. The incomplete version could be an addon or an extension. Visit wampserver website and click on the version you would like to download. Desist from using download latest button.
Click here to download full version x64
Click here to download full version x86
Because that green button is missleading and you have not downloaded thw Wamp Installer
but the Maria DB Addon (!) check again
You must navigate in sourceforge and select the latest wamp exe and clik on that link so the download will start
Thank you
you probably downloaded the 64bit version when you need the 32bit version.

libsybcs.dll error when installing composer

Running a windows install I keep getting error listed below.
"The program can't start because libsybcs.dll is missing from your computer.
Try reinstalling the program to fix this problem."
Not sure what this means.
This isn't a Composer issue, but an PHP or server stack configuration issue.
You enabled the Sybase Extension in your php.ini: php_sybase_ct.dll.
This DLL requires another DLL to support Sybase, the libsybcs.dll.
But this file is missing on your system.
When you want to work with Sybase, install it correctly, then the DLL is present. Set the folder where the Sybase DLL resides to the ENV path or drop the DLLs into PHPs ext folder.
When you don't need Sybase, disable the PHP extension php_sybase_ct.
Then restart PHP and retry the Composer installation.

Zephir on Windows and Linux (ubuntu) - errors

Afters hours and hours spend on trying to install zephir on my windows 8, i finally managed to build an single .zep file !
Now, i've copied the .dll from /ext/Release directory, into my xampp/php/ext and added the extension=.dll in my php.ini - I'm using latest xampp with php 5.5.24 - and when I restart my Apache, the httpd.exe throws an error "The program can't start because php5.dll is missing form your computer". I'm really baffled by this eror, searching on net for the last hours and I can't find an answer !
Does anyone had this issue before ?
Problem 2) I've install vagrant and followed the tutorial from blog, and managed to install everything.Then I went to /vagrant directory as it is shared between the host and the guest, used zaphir init , all the files were generated, then copied my .zep file from my windows host into the right directory and runned zephir build. Again all went fine, the .so file was created but as my main development platform is on windows, i wanted to use the files from /etc/ to build the .dll extension for my xampp installation - to be honest i didn't tried to use the .so extension and test if the extension works on linux - .
Now, using the Developer Command Promt for Visual Studio 2012, i tried to run command "cl .c" inside the /ext/ directory that was build by zaphir on linux, but an fatal error its appearing in my developer command promt "Fatal error C1083: Cannot open include file: php.h: No such file or directory"
The greatest way for me would be to compile the extension for both windows, my dev. pc but for linux also !
Could please someone help me with this issues ? Give me some guidance as I have to admit, I don't have knowledge about developing/compiling in C !
Thank you
Have you followed https://github.com/phalcon/zephir/blob/master/WINDOWS.md ?
I generally do not recommend xampp since it uses the TS version of PHP.
This means you generally have to replace anything in the manual
containg NTS with TS.
(The most important part is that you download a devpack for TS insteadof NTS, as the manual specifies.)

PHP 5.3.1 not loading php_oci8.dll on Windows

I'm trying to load the oracle extension on php but im having the error:
Warning: PHP Startup: Unable to load dynamic library 'D:\Program Files\xampp\php\ext\php_oci8.dll' - The specified procedure could not be found.
in Unknown on line 0
I have done so far:
Included on windows path the the fullpath of oracle instant client
on php.ini, the extension_dir is pointing to the right place
on php.ini extension=php_oci8.dll is ok
restarted the apache, and nothing works.
Problem solved by copying the files orannzsbb11.dll , oci.dll and oraociei11.dll to c:\windows\system32
I solved this problem by adding "C:\Program Files (x86)\PHP\v5.3\ext" to my Windows PATH environment variable. You'll just have to remember to change the path if you upgrade PHP. I think this is better than copying dlls which could lead to issues down the road if you end up with multiple dlls with different versions on the same machine.
You will need to download Oracle Instant client from this hyperlink http://www.oracle.com/technetwork/topics/winsoft-085727.html .
Add the path to the instant client on the user environment vriables and the system variables.
For me, this was caused by not having the Visual C++ Redistributable for Visual Studio 2008 SP1 (for VC9) installed. I had to get the x64 package as I'm running Windows 7 64bit. Hopefully this helps someone with the same problem. After installing it, PHP no longer reported those errors.
Possibly quite obvious to some, but wasn't initially for me: if you're still seeing this The specified procedure could not be found. in Unknown on line 0 error, even after installing the instant client, SDK, and so on - make sure you put the Oracle instant client path in your system "PATH" variable, not the user variable, as user obviously doesn't get used when Apache runs. You can verify that the instant client path is set properly by reviewing the PATH value shown in your phpinfo() output.
I found the main cause behind this issue is the oci8 driver version of oracle. Finally i was able to connect to oracle and the steps i described here at http://angularcode.com/connecting-php-to-oracle-database-10g/

Resources