Should We Not Be Using PHPSuExec With FastCGI?

May 2, 2009

Should we not be using PHPSuExec with FastCGI?

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

Phpsuexec

Oct 23, 2007

i wanna to install phpsuexec but i know that i will have problems with .htaccess files.

if i install phpsuexec how can i avoid the 500 error from the .htaccess?

View 10 Replies View Related

PHPSuExec Or Mod SuPHP

Mar 18, 2008

I'm wondering which one is the best with cPanel and Apache 1.3.41. The server will be used for shared hosting.

View 11 Replies View Related

(phpsuexec) How Can I Run Php5

Mar 31, 2008

i have a server run with phpsuexec and php4 default,

i want to let certain account run with php5,

it looks likely i can add a php.ini in the account,

View 2 Replies View Related

Installing PhpSuEXEC

Mar 30, 2007

"how to install/setup phpsuexec" specially in Cpanel/WHM servers.

View 1 Replies View Related

Plesk And Phpsuexec,

Oct 29, 2007

Searching a while I learn that phpsuexec is not native in Plesk. But it's years or months ago. I'd like to know if now is there any easy way to install phpsuexec (or any alternative: suexec, suphp...) in Plesk?

I have a VPS with Virtuozoo and Plesk, and it could be better if scripts run with owner's permissions. There're 2-3 users on the VPS and I don't want to config Apache to run with special user apart from nobody.

View 4 Replies View Related

PHPSuExec Vs SuExec

Sep 21, 2007

Can anyone tell me the difference between SuExec and PHPSuExec. I hear eaccelerator will not work with PHPSuExec but will it work with SuExec?

View 2 Replies View Related

Phpsuexec And Suexec

Oct 28, 2007

what is phpsuexec and suexec and how to stop them ?

View 1 Replies View Related

PHPsuexec Good Or Not

Dec 5, 2007

for servers to have PHPsusexec enabled or not? Is it advisable?

Btw I know Apache has the phpsu module. Is it similiar to PHPsuexec? if i didn't compile Apache with that module, does it means when i enable PHPsuexec through cPanel, it won't work?

I was wondering if it is the script problem or the settings problem. I have a script that upload and create files, however it always have things created (eg. folders) in nobody's group and owner. However when I do it in FTP, the permission was set to the user's. Can anyone advise what problem it is?

View 13 Replies View Related

Switch Over To Phpsuexec On A Cpanel Box

Feb 1, 2008

What's the simplest way to switch over to phpsuexec on a cpanel box, a smooth transition for all domains hosted? Basically, after I complile apqache (via whm preferrably) with phpsuexec and the current (php 5 / apache 2.2) do I need to do anything else, run any commands? I did this in the past, but cannot remember the exact steps.

View 1 Replies View Related

I Have Just Compiled Apache Using Phpsuexec

Feb 23, 2007

is there anything I should do now?

everthing generally seems fines but I have a strange thing going on with an images folder that a php script puts users images in (so my users can upload files). this folder was previously 777 and now phpexec has been installed the images are not showing up. I get a "You don't have permission to access" message on the image files. I tried chmod'ing the images folder to 766 and 755 and the same thing happens. This has nothing to do with the php script as I can't even access the image files by typing in the URL in a browser.

View 7 Replies View Related

PHPSuExec & Blank Pages

Aug 9, 2007

I am running Joomla on a server and am trying to get phpsuexec to work with it, so far without success. From searching the web and forums I managed to get rid onf my 403 and 500 errors, but now I am dealing with blank white pages on all of my sites where the page being loaded is a php file.

I have all of my php calls removed from .htaccess and put into a php.ini file.

What else am I missing here? Is there a conflict in my apache build maybe?

View 2 Replies View Related

Phpsuexec,,,suphp Issue

Oct 15, 2007

My server has update to

WHM 11.11.0 cPanel 11.15.0-R17665
CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0
apache 1.3.37

and now the server run without phpsuexec so i try to recompile apache with php security and suphp module but the php.ini files still didn't work in the client's sites and there is alot of scripts want php.ini files for safemode = off , etc even the top process show me nobody not users to know who spam or other tings

i run this command

/usr/local/cpanel/bin/rebuild_phpconf --current

and i got

php has not yet been configured with EA3

with the new update cpanel i can't run php.ini files anymore

View 4 Replies View Related

Alternative To SuPHP (phpsuexec) For Plesk

Jul 25, 2009

As all we know suPHP or phpsuexec are coded to let apache run the script with file's owners name and not the "nobody"

1- Plesk does not support phpsuexec but its possible to setup suPHP on plesk! Any comment, suggestion experience?

2-My alternative
I create a group for each single user named "apacheUSERNAME" and will assign both apache and the user to this group.

Then I will change the group for any file/directory that needs 777 permission.But instead 775.
Again suggestions are appreciated

3-Final comparator should be server load; How will be the server performance(load) with or without suPHP or phpsuexec

View 0 Replies View Related

Include() With Phpsuexec Does Not Output Error

Oct 18, 2007

We have a strange issue where include('./somebadfilepath.txt');

Will not output the standard WARNING from PHP. Instead it just displays a blank page.

phpsuexec is installed.

This also happens for other functions like fopen or fopen when supplied a URL path. No error,

View 4 Replies View Related

Phpsuexec, Forum Uploads On IPB Not Working

Aug 12, 2007

We have a server that we just changed over to PHPSUEXEC. On this server, we have a large IPB (Invision Power Board) forum that we have not been able to get uploads in the forum back working again. Users are getting the message that they don't have permission, and to contact an administrator.

I have looked on IPB's forum for PHPSUEXEC related issues, but can't find a solution. Of couse, before phpsuexec the "upload" folder had 777 file permissions, but under phpsuexec this must be 755. It isn't working though.

Anyone had experience with this with IPB and know how to fix it?

View 2 Replies View Related

Compile Apache With Phpsuexec Manually

Feb 1, 2007

Does anyone know the step by step procedure for compiling apache with phpsuexec enabled and making apache recognize php on a non-cpanel server?

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

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

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 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







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