Ffmpeg With Php And Iis6.0

Sep 28, 2007

When I run ffmpeg to convert any format to flv it is working fine in my local system. But it is not working in the server(My server system using PHP Version 4.4.3 in Microsoft-IIS/6.0 , Windows NT. ) it prompt me the following error :

Warning: exec() [function.exec]: Unable to fork

View 3 Replies



I recently installed PHP and MySQL on Windows Server 2003 Web Edition
(IIS6). PHP and MySQL run fine without problems.
But I can't get PHP's DOMXML and XSLT extensions to work.
Previously it has worked in XP Pro.

I copied the PHP_DOMXML.DLL and PHP_XSLT.DLL into the system directory and
added the lines:
"extension=php_xslt.dll" and "extension=php_domxml.dll" to the PHP.INI file.

I can't figure out what's wrong.

View 2 Replies

Installing On IIS6

i have recently installed on IIS6 - all went well and php appears to be working fine.
what i need to know is:

1) what amendments i should make to php.ini to make my install more secure?

2) what module or extras should i aim to install that would be useful?

View 2 Replies

$_SERVER Variables Under IIS6

Why is it that IIS6 does not provide all the $_SERVER variables,
otherwise available underApache ? Examples being, SERVER_ADDR,

Is there any way to declare server variables under IIS?

View 1 Replies

PHP 4 & 5 Running Same Time On Iis6?

Hi, trying to find docs on running php 4 & 5 at same time on windows iis6. This is for Joomla. Anyone know where this documentation is located?

Joomla is running good on php5 but noah classifieds needs php4.

View 1 Replies

Iis6 - Mail() Not Working In IIS 6

my code

$send_contact=mail($to, $subject, $message, $header);
echo "mail was sent successfully";[code]...

in not working in IIS6 for windows server. It sends success message but email is not sent

phpinfo details can be found at

View 4 Replies

Php Service On Windows 2003 IIS6

this is the setup:
i have 2 computers at home. one of them has a registered domain name,
and is acting as a web server (runs under windows 2003 iis6). my
second machine has apache configured with php, perl, and mysql
installed. i wanted to make my 2nd machine accessible from the
internet, so i have created a virtual directory on my 1st machine,
pointing to my htdocs directory on the 2nd machine. when i try to
access a .html or .txt document (on my 2nd machine) through my 1st
machine everything works. but when im trying to access a .php file, i
get a 404 error. why does this happen? can anyone please help me?

an example of urls are as follows:
1st machine -> http://www.machine1.com
2nd machine -> http://www.machine1.com/machine2
(machine2 being a virtual directory on the 1st one, pointing to htdocs
on the 2nd)

View 4 Replies

Getting CURL To Work On Win2k3 And IIS6

My webserver is:
Windows 2k3 w/ sp1
PHP 5.1.4

I'm trying to get cURL to work, but with no avail.

This is what I've done.

First of all i got a basic HTML page working. So i know IIS is working okay.

Second to get PHP working i did the follow (and it worked):

1. Download PHP at http://www.php.net/downloads.php. Make sure you dowload the "zip package", the installer package won't work.

2. Extract the downloaded zip file to a directory of choice on your harddrive. The rest of this guide will assume you are using C:PHP

3. Add C:PHP to your path. From the Start menu, right click My Computer and select Properties. From the Advanced tab click the Environment Variables button. Under System Variable find Path and click Edit. At the end of what is already present in Variable Value add a semicolon ( and then C:PHP.

4. Configure IIS. Open the Internet Information Services (IIS) Manager from Administrative Tools (found directly in the Start menu or in the Control Panel)

a) Web Service Extension. Click down to the Web Service Extension folder. Right click the folder and select Add New Web Service Extension. Set Extension Name to PHP and add C:PHPPHP5ISAPI.DLL to Required Files . Check Set Extension Status To Allowed.

b) Web Sites. Click down to Web Sites. Right click the folder and select Properties. From the Home Directory tab click the Configuration button. Click Add to add an Application Extension. Enter C:PHPPHP5ISAPI.DLL as Executable and PHP as Extension. Leave the rest as default and click Ok.

5. All set! To test your PHP installation simply create text a file with the php extension, eg. test.php. Add the following three lines of text to it and then save it to your web site directory, eg. C:INETPUBWWWROOT. Then use your browser to read the file, eg. http://localhost/test.php


I got that info from:....

View 7 Replies

Win 2003 IIS6 PHP_AUTH_USER Blank

I'm trying to publish a site from my dev box to my live box. The site uses PHP Http Authentication to password protect some areas. It works fine on my dev box. However, on my live box, PHP_AUTH_USER and PHP_AUTH_PW are always empty. Even the standard test script below prompts for the username and password 3 times then defaults to "Unauthorized". Code:

if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
echo 'Text to send if user hits Cancel button'
} else {
echo "<p>Hello {$_SERVER['PHP_AUTH_USER']}.</p>";
echo "<p>You entered {$_SERVER['PHP_AUTH_PW']} as your password.</p>";

View 2 Replies

MAIL On Win2003 Server With IIS6

I'm running a webserver: Win2003 w-IIS 6 We have a separate Windows box for email. An SMTP server.

I'd like to use the PHP mail() function to send email messages from webpages (as in submitting forms), but this PHP mail function does nothing. I cannot get the webserver to send mail. The PHP mail functions are coded properly.

Originally I had php.ini pointing to my smtp server (other box), and when this did not work, I set up in IIS an SMTP virtual server on my webserver, and then had this point to my real smtp server. I changed php.ini to point then to localhost for smtp. Still no luck. Code:

View 1 Replies

Iis - Run A File On Windows 2003/IIS6?

I'm getting 401.1 errors when trying to run a .php file on windows 2003/IIS6 I've been all over the web, given Everyone Full perms on the folder containing the file as well as the file... Nothing.

View 3 Replies

Iis - INstall On Windows 7 Ultimate With IIS6

I am trying to install php on my windows 7 machine. I have installed IIS 6.x and I have also installed php.I used this tutorial http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx .The only thing I didnt understand is this part: 4) Install IIS7, making sure you install the ISAPI Extension component (for PHP-ISAPI - which is what I use) or the CGI component (if you prefer CGI) during IIS installation (ISAPI and CGI are not installed by default)

Now when i go to localhost I get an error.
HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

4: <handlers>
5: <add name="PHP" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:webphp5php-cgi.exe" resourceType="Unspecified" />
6: </handlers>

Also php pages do not work in IE,

View 2 Replies

IIS6 Returns Parse Exceptions, But Not Others?

I have PHP running in IIS6. I can generate a parse error, for example: echo("Test") (no semicolon).However, observe the following code:

try { if ($$testcondition = 1) { echo "Test";} }
catch (Exception $e) {echo "$e"; }
(notice there is an extra $ in if condition)

I get a Server 500 Internal Error. I also had a situation where I was trying to call a method that wasn't public and it took me an hour to track down because I had no line number or exception information.

View 4 Replies

Service Unavailable On New Install Of PHP5 And IIS6

I just followed the instructions on the manual install of PHP5 on to a Windows IIs6 box using ISAPI not CGI. At first I had problems with getting a username/password box when trying to access a php file through a web browser, now i've got that cleared up by adding the username to the php and inpub directories.

Now when i go to the page with the browser I get "Service Unavailable" I've searched Google, and this board and can't find any help yet. Any ideas?

View 3 Replies

Iis - SERVER['SERVER_NAME'] Returns Machine Name In IIS6?

My company uses a piece of PHP-based software that depends on $_SERVER['SERVER_NAME'] to construct a URL. It runs on PHP 5.2 under Windows Server 2003 or 2008 with IIS6 or IIS7 through FastCGI.This works "correctly" (or, at least, how we expect it to work) on every IIS system we've ever installed it on. In other words, on the same server, if you call it with http://app.foo.com/myscript.php, $_SERVER['SERVER_NAME'] is 'app.foo.com', if you call it with, $_SERVER['SERVER_NAME'] is '', etc.

Today, for the first time ever, we installed it on a server (Windows Server 2003 with IIS6) that acts differently. No matter what URL we use to load the script, $_SERVER['SERVER_NAME'] is 'myserver' (the machine name of the server), which is causing problems.

Now that this issue has come up, we're working on eliminating the use of $_SERVER['SERVER_NAME'] in future releases of the software ... but is there any configuration I can perform (in IIS6, php.ini, ... ?) on this server to fix this in the meantime? If we can't change it so that $_SERVER['SERVER_NAME'] always contains the host from the requesting URL, is there at least some way to configure it so that $_SERVER['SERVER_NAME'] will contain a particular desired FQDN ('app.foo.com' instead of 'myserver')?

View 2 Replies

Iis6 - Glob() On Another Directory On Server 2003 (IIS 6)?

Always returns an empty array despite giving the IUSR_ "List Folder Contents" permission (and "Read" and "Read & Execute" permissons) on the folder being 'globbed'. glob() on a child directory (within the directory I gave the permissions too) works fine. glob() also works on a specific file (which inherited the permissons) in the afore mentioned directory that it fails on...

UPDATE: The code I am using (which I can see works on other dirs) is:

$files = glob("..\LocalFolder\Images\$partfilename*");
echo '<p><pre>';
echo '</pre></p>';

I can get it to work on a dir within the Images dir!

UPDATE2: To clarify: the problem was: permissions were applied to the Images folder and the above code always returned an empty array.

View 1 Replies

Instructions On The Manual Install Of Windows IIs6 Box?

The instructions on the manual install of PHP5 on to a Windows IIs6 box using ISA-PI not CHI.At first I had problems with getting a box when trying to access a file through a web browser, now I've got that cleared up by adding the username to the and input directories.Now when i go to the page with the browser I get "Service Unavailable" I've searched Google.

View 3 Replies

Email Attachment And IIS6 - File Does Not Open?

i have gotten an email script which lets you send a form which you can also add an attachment via a browse button.on my Apache server this works fine online.but when i use IIS server the email sends with the attachment but the file size is around 65b and also when i try open it i get nothing.is there a section in the php script i missed out or is there a settign in IIS or the php.ini i have missed out? I cant use it on Apache full time it needs to be the Windows IIS6 Server as its an internal website.

PHP Code:
<title> Sending Email </title>[code]...

View 1 Replies

Is It Possible To Make IIS6 Render .phps Files As Php-source?

Is it possible to make IIS6 render .phps files as php-source? I haven't
been able to locate any information on this, and am beginning to believe
it's not possible.

View 3 Replies

Open Source File Upload With No Timeout On IIS6 With ASP, ASP.NET 2.0 Or 5?

I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the uploader's slow connection -- but the server times out anyway.I hear that there are methods to upload files in chunks so that somehow the server decides not to timeout the upload. After searching around all I can see is proprietary upload helpers and Java and Flash (SWFUpload) widgets that aren't cross-platform, don't upload in chunks, or aren't free.I'd like a way to do it in any of these platforms (ASP, ASP.NET 2.0 or PHP5), though I am not very clued up on all this .NET class/controller/project/module/visual studio/compile/etc stuff, so some kind of runnable complete project that runs on .NET 2.0 would be helpful. PHP and ASP I can assume will be more straight-forward.Unless I am completely missing something, which I suspect/hope I am, reasonable web uploads are bloody hard work in any language or platform.So my question is: how can I perform web browser uploads, cross-platform, so that they don't timeout, using free software? Is it possible at all?

View 3 Replies

Iis6 - Warnings Cause Script To Halt On IIS Running FastCGI?

We are migrating to a new server running Windows 2003 and IIS 6. When my PHP code runs, it has a warning on a particular line (which I'm expecting at the moment but will fix shortly). However, when it hits the warning, it immediately halts processing and returns a 500 error in the HTTP header. Normally, I would expect PHP to output the warning, but continue processing the script.Is there something in the configuration for IIS, FastCGI, or PHP that would be returning 500 errors when PHP hits a warning?

To clarify: I don't want to suppress the warnings; I want them to display. I do not want the script to stop processing on warnings.

View 3 Replies

Problem Executing Command Line Scripts On Win2003 IIS6 PHP4 Box

we're running an Win2003server with IIS6 and PHP4 in fastCGI config.
When i try to use system() command to execute ffmpeg.exe it works ok
when i run the PHP script from the commandline on the server, but when
i run it from the webbrowser i get a return value: 128 and nothing
happens. I checked for all the security settings, and everything seems fine.
Does anybody have a clue where i should be looking?

View 10 Replies

Script Works As Localhost But Not With Domain Name + IIS6, 5, Windows Server 2003?

I've been trying to get PHP 4 or 5 to work with my server. Both execute scripts when I call them as localhost, ie [URL]the script doesn't execute but rather the home page displays. What setting in IIS needs to be changed to get it to recognize the script for the domain on the web server?

View 1 Replies

Get IIS6 To Recognize Pathinfo Routes Instead Of Returning "404 Undescribed" Error?

I am developing a RESTful web application in PHP. What I have got is:

on the test server, Windows 7 / Apache 2.2 / PHP 5.2.9 (mod_php)

on the production server, Windows Server 2003 / IIS6 / PHP 5.2.4 (php5isapi.dll)

While the test environment has got no problem, the production server fails to send any RESTful request with pathinfo (i.e., pages like e.g. /mypath/app.php/controller/id, where the handling script is /mypath/app.php) and gives a nice blank page with the message:

No input file specified.

Using firebug, I can see the response headers are:

HTTP/1.1 404 Undescribed
Proxy-Connection: close
Connection: close
Via: 1.1 XXXXX
Date: Thu, 23 Jun 2011 14:51:18 GMT
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET, PHP/5.2.4

Where XXXXX is the name of the proxy.

I googled around and it seems like neither SO nor the rest of the web can give practical solutions to this problem.

Since the production server needs to keep up, reinstalling PHP and/or IIS is not an option. What I can do is modify IIS/PHP configuration, and restart IIS.

View 3 Replies

Ffmpeg And Ffmpeg-php

I have done a search on the forums for the term I have posted as the subject and have only found 4 results.

I looking to find a webspace host who has ffmpeg and ffmpeg-php on the server. I am receiving mixed messages on the subject.

View 1 Replies


I don't know what else works with this idea of have, but i tried this with php and it doesnt work...

I want to create a snapshot of a swf aka flash file and store that snapshot onto my database, then into the right coloumn id.

any programs that can do this with php?

View 3 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved