Php 5 Handler Dso Vs Cgi Vs SuPHP

Mar 19, 2008

I wanted to ask an advice which php handler is the most secure to have on a shared server:

dso vs cgi vs SuPHP

I currently have dso with Suexec on and few accounts are getting phishing sites uploaded so I read that SuPHP is safer. What do you recommend?

If I do change the server to SuPHP should I enable Suexec as well in the whm: Configure Suexec and PHP?

View 9 Replies


ADVERTISEMENT

PHP 5 Handler (DSO Vs SUPHP)

Jun 25, 2008

somebody suphp?

What is your advice?

View 6 Replies View Related

PHP 4 Handler

Feb 11, 2008

I'm with a new cPanel VPS and would like to install a PHP 4 handler. Can I do that from WHM?

If yes how can I perfome this?

View 2 Replies View Related

Lost Php Handler

Jul 8, 2008

Changing php version to 5.2.6

I just lost the handler....no php handler at all( old: DSO), rebuilding again (second time)...

anyone knows why this happened?

and what should I do, since the last easyapache rebuild didn't work?

View 2 Replies View Related

Php Handler Cgi And Register_globals

Mar 4, 2008

On my server (cpanel/whm php version 5) I need phpsuxec enabled so Configure Suexec and PHP I have suxec as on and php handler as cgi.

The problem is that enabling of register_globals through .htaccess file of cpanel accounts is not working. I have tried all kinds of commands as:

php_flag register_globals on

and even tried creating a php.ini » register_globals=on

and that still does not enable register_globals on an account. I do not want to enable register_globals centrally as I am aware that is a security threat.

But if I change to dso php handler that .htaccess code enables register_globals but then phpsuexec is not working.

Is there anyway to combine these two options?

View 11 Replies View Related

Set Apache Handler Through .htaccess - Possible?

Jun 2, 2007

I am running into a bit of a problem. Previously, I can add an apache handler through cPanel easily... but now I moved to mediatemplate.net and that feature isn't available on their contol panel. Since they also run apache, I figured that I can set the apache handler manually through an .htaccess file - is that possible? If so, what is the syntax that will enable me to set .html files to be handled like .php files?

There is one setback to this process - this will be a manually inserted file for every directory that I want to do the above stated file handler. Is there an easier way to do this via SSH? I don't have root access, only normal user access.

View 3 Replies View Related

Apache :: How To Switch From 2.0 Handler To CGI / Fast CGI

Apr 13, 2013

I want to know how to change my server API from Apache 2.0 Handler to CGI fast CGI?

I am using kloxo xontrol panel

View 1 Replies View Related

How To Switch From Apache 2.0 Handler To CGI / Fast CGI

Oct 20, 2012

I want to know how to change my server API from Apache 2.0 Handler to CGI fast CGI?

View 4 Replies View Related

Plesk 12.x / Windows :: Unable To Determine Preferred PHP Handler ID

Apr 27, 2015

I'm receiving the following error whenever I try to edit any hosting settings

Unable to determine preferred php handler id

I've found the article for this on the Linux KB (which states to raise a support ticket) but nothing on Windows.

I am running Windows Server 2012 R2 with Plesk 12.0.18

View 1 Replies View Related

Plesk 11.x / Linux :: Event Handler For Subscription Created

Apr 25, 2014

Which Event Handler gets fired when a subscription is created? I've tried both "Hosting settings created" and "Default domain (the first domain added to a subscription/webspace) created" but those don't seem to be firing when I create a new subscription. After creating the Event Handler the psa service was restarted each time. I have a script setup to just log the NEW_DOMAIN_NAME to a file, but that isn't happening.

View 3 Replies View Related

Plesk 12.x / Linux :: Unable To Activate Added PHP Handler

Oct 24, 2014

I just added a new PHP Handler with PHP Verison 5.5.18 as cgi and i always get an error when activating. I used the samte setting and php ini as the Buildin Ones

root@ip1:/usr/local/src/php-5.5.18# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
5.5.18 5.5.18 5.5.18 5.5 cgi /usr/local/php550-cgi/bin/php-cgi /etc/php5/cli/php.ini true
cgi 5.3.29 5.3.29 5.3 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
fastcgi 5.3.29 5.3.29 5.3 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
module 5.3.29 5.3.29 5.3 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini false

When i want to activate it i get

Fehler: phpinimng failed: Cannot parse php.ini: (<class 'php_ini.PhpIniSyntaxError'>, PhpIniSyntaxError('[<stdin>:24] Invalid configuration line. Are there excessive leading spaces?',))

I get this even if i want to activate a build in one.

In my additional php config i have

mail.log = /var/log/phpmail.log
mail.add_x_header = On
date.timezone = "Europe/Berlin"
[Zend]
zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.3.so
zend_extension=/usr/lib/php5/ZendGuardLoader.so
sendmail_path = /usr/sbin/sendmail-wrapper-php

I am using Debian Squeeze.

View 4 Replies View Related

Plesk 12.x / Linux :: DEFER During Call Grey Handler?

Sep 25, 2014

sometimes my server doesn't forward emails to other accounts, and I see in log file:

Sep 25 07:38:55 s17218468 /usr/lib64/plesk-9.0/psa-pc-remote[1151]: handlers_stderr: DEFER
Sep 25 07:38:55 s17218468 /usr/lib64/plesk-9.0/psa-pc-remote[1151]: DEFER during call 'grey' handler
Sep 25 07:38:55 s17218468 /usr/lib64/plesk-9.0/psa-pc-remote[1151]: Message aborted.

If I restart the server it works.

View 3 Replies View Related

Plesk 12.x / Windows :: Creating Event Handler - Domain Name

Dec 18, 2014

I am trying to create plesk event handler

I have created the event

"C:Program Files (x86)ParallelsPleskbinsubscription_settings.exe" -u "${NEW_DOMAIN_NAME}" -disk_space 15G
for domain updated / domain created

But it doesn't run.

If I add hardcode the domain name for example mytest.com

"C:Program Files (x86)ParallelsPleskbinsubscription_settings.exe" -u mytest.com -disk_space 15G

the event works.

View 7 Replies View Related

Plesk 12.x / Linux :: Site Isolation Settings For PHP Handler Type Ignored

Dec 23, 2014

On a server which was running for years now and was updated from plesk 10 to plesk 11 and also to plesk 12 (12.0.18 Update #29) there seems to be a bug.

Customers are able to change PHP handler while in site_isolation_settings.ini it is not allowed:
php_handler_type = fastcgi

PSA service was restarted too:
/etc/init.d/psa restart

This is a serious issue because customers should not be able to change PHP handler type.

Only abonnements created with older Plesk versions are affected. I cannot say which version exactly because server had installed Plesk 10, 11 and 12. What do we have to modify to disallow changing the PHP handler type for this abonnements created with Plesk versions befor Plesk 12?

View 4 Replies View Related

Plesk 12.x / Linux :: Adding New Mail Handler Before Queue For Spam?

Nov 24, 2014

It is posible add new mail handler before queue for spam? Example:

mail_handlers_control --add --priority=10 --executable=/usr/local/psa/handlers/hooks/spam --name=spam --enabled --queue=before-queue --type=recipient-domain --mailname=domain.com --context=text

I need for scan relay mail ....

View 1 Replies View Related

Plesk 11.x / Windows :: Unable To Create Or Update Subscription - PHP Handler Is Not Registered

Jan 23, 2014

I have parallel plesk 11.5 on my VPS hosting. Recently I upgraded the PHP version to 5.4 via Updates and Upgrades feature. Now, I am not able to change anything for any domain/website, it always shows me following error:

"Error: Unable to create or update the subscription: The PHP handler "fastcgi-5.4" is not registered. It was probably deleted from the server. Register a handler with the same properties and try again."

I tried creating a handler with same name in IIS but it didn't work. When I checked in "Server Components" the max PHP version is "PHP 5.3.28" but I see PHP 5.4 installed in C:ParallelsPleskAdditionalPleskPHP54 folder on the server.

View 2 Replies View Related

Plesk 11.x / Windows :: Unable To Create Or Update Subscription - PHP Handler Not Registered

Dec 1, 2014

When logged into the admin panel, I can manage all other domain except for one. When I try to manage this particular domain (which is our own domain rather than a client domain), it takes a while before returning page not found. In the logs, it's getting a high volume of the following error message:

Error: Unable to create or update the subscription: The PHP handler "fastcgi-5.3" is not registered. It was probably deleted from the server. Register a handler with the same properties and try again.

I've tried attacking the issue through IIS. PHP appears to be configured correctly in IIS. I've looked at permissions. The website itself runs fine, I just can't manage the domain.

Another issue, which may be related, is when trying to access the PHP Manager in IIS for the PleskControlManager site, it gets an error stating that it can't find the php.ini file. I don't know if this is normal, or related.

View 2 Replies View Related

Suphp

Nov 13, 2007

I use "suphp" on 3 servers I own with apache 2.2.6 and suddenly yesterday (15 hours ago) one of the servers show "Internal server error" on all sites.

Tried rebuilding apache and php 4 times with no fix until I came to try handling php with cgi instead. (I always like to track who is using apache processes)

well. getting to this fix was after 10 hours of all sites not working on the server.

now (5 minutes ago) I go to http://www.suphp.org to read their docs for solution to find this

Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, hostmaster@marsching.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache Server at www.suphp.org Port 80

Why did this suddenly arise while No changes were done on server software or config?

I believe this happens after the first coming apache restart or something but dunno what was the reason yet

maybe suphp.org guys have to update us when their site comes back online

View 5 Replies View Related

Plesk 11.x / Linux :: Event Handler To Change Default Permissions Of Skeleton Site

Mar 1, 2015

I am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.

#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"​

Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.

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

SuPHP Along With Suhosin

Oct 28, 2009

we have installed suPHP along with suhosin on server to prevent upload of illegal scripts but still we are having problems with scripts used for phishing web sites! We have a lot of Joomla users and other php apps installed on server.

View 5 Replies View Related

How To Remove Suphp

Mar 23, 2009

i have many problem from this

i want to remove it

i had recompiled apache without it but it still working

View 2 Replies View Related

SuPHP Or EAccelerator

Jul 22, 2009

I have a Linux server for shared hosting in which I am using Cpanel/WHM. I have PHP running as suPHP which I believe is for security. The problem I am facing is a lot of PHP based websites create load on the server and consume as much as 10% of the CPU and sometimes some script even consumes 50% CPU. I think I can reduce the load caused by the PHP scripts by installing eAccelerator. However, it does not work with PHP running as suPHP. Can anybody tell me which one should I choose of the both? Is there any other way to reduce the load on the server?

View 14 Replies View Related

Suexec And Suphp?

Feb 8, 2008

what are suexec / suphp and for what purpose we use it.

View 1 Replies View Related

SuPhp Use A Lot Of Resource

May 22, 2008

we are try SuPhp on Cpanel server but seem that is use a lot of resource, on 2 X quad core server we can't add more than 300 domains for server, whic configuration do u use? any alternative solution?

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







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