Iis7 Fastcgi

Aug 13, 2008

i'm using fastcgi for PHP app. i have 5 sites on my server but fastcgi works only one site which is the first opened if you open second site iis give me error like "HTTP Error 500.0 - Internal Server Error
C:PHPphp-cgi.exe - The FastCGI process exited unexpectedly". i restart iis and open another site firstly it works but again another site give me error.

View 1 Replies


ADVERTISEMENT

Microsoft FastCGI :: The FastCGI Handler Was Unable To Process The Request

Jan 6, 2008

I installed FastCGI and configured it via fcgiconfig.js using this command

cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:PHPphp-cgi.exe"
It configured fcgiext.ini and added the .php extension to the sites and what not.

When accessing a php script, I get the following error though:

FastCGI Error

The FastCGI Handler was unable to process the request.
Error Details:The FastCGI process exited unexpectedly
Error Number: -2147467259 (0x80004005).
Error Description: Unspecified error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
I did not do anything special with the PHP. It is the zip 5.2.5 from the site. I configured php.ini and move it to c:/windows. I granted IUSR permission on php-cgi.exe

Am I missing something? I followed the guide here

Windows 2003 / IIS6 / PHP 5.2.5

View 3 Replies View Related

PHP 5.3 Install On IIS7

Sep 2, 2009

I have installed PHP 5.3 and set it up using the FastCGI method as that seems to be the prefered method at this time.

I have verified that php is set up correctly as i am able to run scripts from command line.

However I can not for the life of me get any php file to display in a browser.

I have verified that the .php extension is in the list of handler mappings under PHP via FastCGI. Also verified that the handler was pointing to F:PHPphp-cgi.exe which is (re-verified) the location of the php files.

I have tried all the tricks that i have found on the net, but still nothing. I have installed the php package via the windows installer and the binaries. both same outcome.

I even tried to step back a version to php 5.2 and still did not work.

Am I completely missing something?

I have a PowerEdge T410 Server running SBS2008 x64 and IIS 7. In the beginning it was just showing php code, now it continuely asks if i want to download or save the file when i try to browse to a php file via browser.

View 2 Replies View Related

PhpMyAdmin On IIS7

Feb 22, 2007

I've been struggling with getting phpMyAdmin to work on IIS7 for a long time. I've tried just about everything I can possibly think of, in the process, breaking both PHP and MySQL several times.

Ok...so my PHP and MySQL is working great now...but I still can't get phpMyAdmin to work. I get the following message :

Quote:

Cannot load mysql extension. Please check your PHP configuration. - Documentation

If you anyone has some advice, I will appreciate it.

I'm running :
PHP 5.1.2
MySQL 5
IIS7
Vista

View 0 Replies View Related

How To Install Awstats On IIS7

May 29, 2009

how to install Awstats on IIS7? I tried to configure it and it got setup successfully, however, when I view the stats or update the stats, only the Not viewed traffic gets updated. There is no update in the viewed traffic. I browsed the website from separate locations and then updated the stats, but still the stats show not viewed traffic. I have only static html files and some flash and images on the website.

View 3 Replies View Related

Mod Rewrite On Windows 2008/IIS7

Apr 28, 2009

we are looking for someone to assist us with configuring the ExpressionEngine CMS on a Windows 2008 server.

We have it runnining under fastCGI that supports php on IIS. We are running IIS7, and using the URL Rewrite Module on IIS7.

We are having a problem removing the index.php from the address bar using the URL Rewrite. It works on the interior pages but not on the homepage and because of this the 404 page is not working.

The mod rewrite module generate a web.config file that has this in it....

View 1 Replies View Related

PHP On IIS7 And Windows Server 2008

Oct 14, 2009

Background: I work for a small microsoft based web dev company who is slowly starting to do more PHP based work. To date we've run these sites (mostly WP) through IIS6 on Windows Server 2003 although this presents problems around mod rewrites etc.

We're at a stage where we can make a decision between upgrading our existing server to IIS7 on Windows Server 2008 which seems to have better support for running PHP and all it entails - OR - getting a Linux box.

As a developer my preference is for the Linux server although the finance department ain't too keen on paying for another server.

Question: Have you experienced any significant problems in hosting PHP on IIS7 on WS 2008 alongside .NET apps? Are there any concrete technical reasons why we shouldn't use this set up?

View 14 Replies View Related

Windows Server 2008 And IIS7

May 16, 2007

Sharing with everyone yesterday's official announcement of 'Windows Server 2008' being the name of Microsoft's next generation server platform.

The Windows Server 2008 product information Web site is now online here.

And also for IIS7 a Go Live license is now available with Beta 3 of Windows Server 2008 that allows you to put Windows2008/IIS7 into testing/production so that you can begin preparing your hosting services for next year when the product becomes generally available. Become a featured IIS7 Beta Hoster.

View 6 Replies View Related

ErrorMessage When Trying To Activate IIS7 In Vista Ultimate 64-bit

Sep 10, 2009

When I try to activate IIS7 in Windows Vista Ultimate 64-bit everything seems to go well but after a while when the progress bar has gone full and that window has disappeared an error message appears saying "An error has occured. Not all features were successfully changed". If I don't restart immediately but instead try to open the IIS7 default page it's up. But after rebooting it's gone. The iis7.log says:

Code:

[09/10/2009 16:04:51] < !!FAIL!! > SERVICE_CONTROLLER::StartNamedService APPHOSTSVC result=0x80070424
[09/10/2009 16:04:51] < !!FAIL!! > Install of component ProcessModel result=0x80070424
[09/10/2009 16:04:51] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x80070424

View 0 Replies View Related

Windows 08 - IIS7 - Limit Disk Usage & FTP

Aug 30, 2008

I'm starting a webhosting business in the next few months (working on the panel), and was wondering what is the best method to limit the amount of disk usage the user can use? I know about Disk Quota, but that would be a pain to use. Is there anything built into IIS7?

Also, is it possible to use a SQL 05 DB for FTP user accounts with IIS7? If not, is there any other way to have FTP accounts *without* having to create a windows user account?

View 5 Replies View Related

IIS7 And PHP5 : Call To Undefined Function Mysql_connect()

Feb 22, 2007

I've been struggling with IIS continuously.

I simply cannot get things to work on it like it's supposed to.

Right now...PHP is running fine...but MySQL won't work.

I've been searching Google for the past 12hours trying to fix this, but it won't budge.

In my "php.ini" file, I enabled the "php_mysql.dll" extension.

I've also tried several other things, but nothing works.

View 3 Replies View Related

Plesk For IIS7 Not Allowsing Access To Nuke Evolution Admin.php

Nov 12, 2008

having an odd issue with a nuke evolution install

We have a windows 2008 server x64 running plesk 8.6. We created a user with complete access and under that user we created a nuke evolution website. Install appears flawless. We can even continue with admin configuration within nuke with admin.php.

However once you log out you are unable to log back in to admin.php, you get a 404 Not found error. I've checked out the permissions through plesk but they appear to be ok,

View 0 Replies View Related

Php Fastcgi

Jul 1, 2007

I already have php successfully compiled as apache modules but not the fastCGI version, i just trying to compile with the following setting, but weird, could not get the php-cgi binary out of it, only the apache module :

./configure --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php --enable-wddx --enable-trans-sid --enable-dio --enable-sysvsem --enable-mbstring --enable-ftp --enable-versioning --enable-force-cgi-redirect --enable-so --enable-inline-optimization --enable-bcmath --enable-calendar --enable-memory-limit --enable-sockets --enable-track-vars --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr --with-xmlrpcb --with-gettext --with-xml --with-dom --with-dom-xslt --with-dom-exslt --with-openssl --with-bz2 --with-jpeg-dir=/usr --with-png-dir=/usr --with-iconv=/usr/local --with-curl --with-mysql-dir=/usr/local/mysql --with-pear --with-readline --with-gd --with-freetype2=/usr/include/freetype2/freetype --with-freetype-dir --enable-gd-imgstrttf --enable-gd-native-tt --enable-fastcgi --disable-debug

View 2 Replies View Related

PHP + IIS + FastCGI

May 23, 2007

I was wondering whether anyone can help me, I'm having some major performance problems running PHP on IIS using Shane Caraveo's php_fcgi.dll

PHP: 5.1.1.
IIS: 6

Basically I'm getting to the point where the isapi requests jump rapidly to 400+ requests from a meagre 2 -5 requests. Given the high number of requests this is essentially bringing the server to a standstill.

Does anyone have any ideas how I can begin getting to the bottom of this either through network monitoring or application debugging?

View 0 Replies View Related

Fastcgi

Sep 6, 2007

installing PHP fastcgi on my Centos VPS. I have already Googled for this and tried most of the tutorials but nothing seems to work.

I have already compiled PHP with --enabled-fastcgi. What I ca't figure out is what to put in my .htaccess file.

Almost every tutorial on this compes up with a different way and none of these seem to work for me.

View 14 Replies View Related

IIS7+Plesk9+Xcache = Half Working Xcache

Nov 9, 2009

The issue I'm having is I want to use Xcache, the php opcode cache for PHP
I've installed it and it works fine, except it only works on ONE domain
I've made sure all domains work in the shard IIS pool, I've also tried copying the PHP.ini file to the domain's httpdocs folder, incase it needs it, but it still won't work

When loading www.thedarkages.info, I get this spammed across my screen

Warning: xcache_isset() [function.xcache-isset]: xcache.var_size is either 0 or too small to enable var data caching in [path]includesclass_datastore.php on line 557

Warning: xcache_isset() [function.xcache-isset]: xcache.var_size is either 0 or too small to enable var data caching in [path]includesclass_datastore.php on line 557

But on this site - www.uoforums.net - There is no error and that forum is using XCache without issue

I've tried increasing the var_size to a higher limit, but it doesn't have any effect.

PHP is running in FastCGI mode right now, I tried setting it to ISAPI mode, but it still threw back the same error

View 0 Replies View Related

FastCgi Or SuPHP

Apr 1, 2009

what do you prefer?

fastcgi or suphp?

which one is better with suexec (in security and resource usage)?

View 11 Replies View Related

Mod_php Vs. Fastcgi

Jul 6, 2009

I'm looking at optimizing our dynamic content delivery process and there are some interesting claims regarding fastcgi vs. mod_php.

What I am wondering about is assuming apache serving ONLY php content, why would fastcgi perform any better than mod_php? The memory footprint of spawned workers exists in both solutions.

Wouldn't context switches and buffering in fastcgi actually lower performance?

What could be gained by using a different web server (nginx/lighty) ? The primary bottleneck would still be physical memory (assuming <255 workers) ?

View 8 Replies View Related

Should We Not Be Using PHPSuExec With FastCGI?

May 2, 2009

Should we not be using PHPSuExec with FastCGI?

View 1 Replies View Related

PHP 5.25 And Microsoft FastCGI

Dec 7, 2007

I've already posted this over at the vBulletin forums and with their tech support team, but so far no one has been able to find a solution. Someone suggested I post here as well.

I am currently running vB using PHP 4.3.9 with Zend WinEnabler on a windows 2003 server. I have a seperate database server and a web server. This current configuration works fine, but I am moving to an upgraded web server and this is where the problems start.

Due to intermitant issues with Zend WinEnabler (now a discontinued product) I wanted to move to the latest version of PHP (5.2.5 NTS) and Microsoft FastCGI. The problem is that I am getting blank pages when clicking the Today's Post link from the top menu and immediately following the submission of a new post. I've gone through all of the vBulletin listed suggestions about trouble shooting blank pages and none apply.

Because I have a seperate database sever, I am accessing the same database with the new server vB configuration I am migrating to. As such I suspect the issue has to be related to web server given there are no issues on the current live site and the only changes are the PHP version and acceleration app.

If anyone has some suggestions, please let me know. I am running out of time on my server migration window before I am going to be billed for two servers.

View 0 Replies View Related

PHP As Fastcgi And Htscanner

Aug 28, 2007

I try to enable register globals for a specific domain using htscanner and .htaccess (php runs as fastcgi). My phpinfo page says that register globals are On but they don't work.

View 1 Replies View Related

FastCGI Hello World Test?

Jun 20, 2009

Just moved to a 1and1 managed server in which FastCGI is enabled.

But I'm having problems getting Movable Type to run under fastcgi - which has never been a problem before, even on shared hosts.

Is there a 'hello world'-type test for fastcgi - so I can check if it is enabled?

View 3 Replies View Related

FastCGI- (apache 2.2, Php 5.1, Suexec)

Dec 17, 2008

I have just switched from mod_php to fastcgi + suexec, but now trying to use the ab command times out :

ab -n 10000 -c 100 [url]
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, [url]
Copyright 2006 The Apache Software Foundation, [url]
Benchmarking www.example.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
apr_poll: The timeout specified has expired (70007)
Total of 7422 requests completed

Then I get a bunch of emails from LFD ....

View 0 Replies View Related

Security Implications Of FastCGI

Jan 31, 2008

I recently changed one of my development servers from suPHP to FastCGI. I will admit, FastCGI is much quicker at PHP page generation and the system seems much more responsive.

However, I am looking into how FastCGI differs from suPHP in terms of security. Both run as a form of CGI outside of Apache itself -- which in theory is more secure. However, suPHP prevented users from setting insecure permissions (for instance, the max for files was 644, and for folders it was 755) -- something which FastCGI does not appear to do (although it could due to how it runs as a user).

Does anyone have any comments on this? Is there a way to force these same restrictions via FastCGI?

Also, any other comments in regards to the security of FastCGI vs. suPHP? I have run numerous searches and I don't seem to be able to find much. Google just returns a bunch of providers whose 'customers' are celebrating due to the provider choosing to implement FastCGI.

View 2 Replies View Related

PHP As Apache Module Or As FastCGI

Jan 22, 2007

I have a server running Apache 2 with PHP as an Apache module. There are a few php scripts that use lots of cpu when they run and have lots of hits, but Apache is still running fine and pages and php scripts load pretty fast. I was just wondering if running PHP as fastcgi would use less cpu or make php scripts load faster.

View 0 Replies View Related

Plesk 12.x / Linux :: PHP 5.3 Run As FastCGi Application

Nov 13, 2014

I setup PHP support to Run as FastCGi Application, and i setup the memory_limit=32M in DOMAIN/etc/php.ini, then i create a php program with ini_set('memory_limit','128M'), it does not according to my settings are limited. How can i limit it , only just use the disable_function = 'ini_set' ? or Was there other methods ? Because, When PHP runs as apache module , i can use the php_admin_value in vhost.conf to limit what i want , it does not limit everything like this (disable_function).

View 3 Replies View Related

Plesk 12.x / Linux :: FastCGI Not Parsing PHP

Apr 13, 2015

I've a new installation of Plesk 12 on a VPS (Ubuntu LTS12.04) and when FastCGI is selected it downloads the PHP files instead of parsing the PHP? Where to look config wise? I've checked php short tag options and they all seem fine.I've set up a test subscription to display the error here: URL....

View 5 Replies View Related

Plesk 12.x / Linux :: PHP Support Only For FastCGI?

Apr 23, 2015

In my Plesk 12.0, I installed support por PHP 5.3, and 5.4. But when I go to configure my site, I only can select these versions if I put PHP like FastCGI:

But in "Apache Module" I only can select PHP 5.3.3:

My WebSite doesn't work with FastCGI, only with "Module Apache".

Why I cannot select 5.3.29 with "Module Apache".

View 8 Replies View Related

Kernel Segfault Error 4 When Turn On Fastcgi

Mar 23, 2009

I trun on php5 as DSO and anything will be okay, but if I trun on php5 as fcgi, server will down and log show this section

Code:

Mar 18 21:28:58 s2 kernel: php5[22526]: segfault at 000000000000000f rip 00002b84a9b98aac rsp 00007fff015e8290 error 4
Mar 18 21:28:58 s2 kernel: php5[22528]: segfault at 000000000000000f rip 00002b9f0453aaac rsp 00007fffa6c44a70 error 4

View 2 Replies View Related

FastCGI :: Aborted: (first Read) Idle Timeout (30 Sec)

May 21, 2008

I've got a server with FastCGI that at random produces 500 internal server errors. In the specific account the errors are as follows in the error_log:

[Wed May 21 12:01:29 2008] [error] [client 1.2.3.4] FastCGI: comm with (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" aborted: (first read) idle timeout (30 sec)
[Wed May 21 12:01:29 2008] [error] [client 1.2.3.4] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/apache2/htdocs/user/php-wrapper"
As you can see this unfortunately does not tell me anything.

Now viewing the apache error_log I see this

Code:
[Wed May 21 12:51:11 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" process: reached dynamicMaxClassProcs (10)
[Wed May 21 12:51:11 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (uid 514, gid 515) restarted (pid 20510)
[Wed May 21 12:52:00 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20510) termination signaled
[Wed May 21 12:52:00 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20510) terminated by calling exit with status '0'
[Wed May 21 12:57:02 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20501) termination signaled
[Wed May 21 12:57:02 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20501) terminated by calling exit with status '0'
[Wed May 21 13:02:03 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20491) termination signaled
[Wed May 21 13:02:03 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20491) terminated by calling exit with status '0'
All warnings so I'm assuming these don't mean anything.

Here's the php-wrapper:

Code:
#!/bin/sh
PHPRC=/usr/local/lib
export PHPRC
PHP_FCGI_CHILDREN=8
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/local/bin/php-cgi

Not a particularly well setup system for users and such but it worked for the user.

The software versions are as follows:

Apache 2.2.8 with Suexec on the FCGI
FastCGI (Latest stable and also tried a CVS version)
PHP 5.2.6
64 bit system

how to go about debugging this?

View 2 Replies View Related







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