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


ADVERTISEMENT

Apache Compiled As MPM Prefork Is That Recommended

Jul 31, 2009

I am really not familiar with MPM prefork. Should apache use MPM prefork or is there a better alternative? If yes, what would that be and how to use that alternative?

View 2 Replies View Related

Apache :: Identity Modules Compiled For RHEL

Apr 26, 2014

I have 2.4.x version installed on RHEL and I need to install same version on Solaris 10. How can I find out what packages/modules were compiled for RHEL so that I can download same for Solaris and compile them.

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

Apache :: Compiled Version Does Not Match Loaded Version

Mar 26, 2014

I am running Apache on a Windows server and it is up and running.I downloaded and installed:

Apache 2.4.9 Win32 [Apache VC11 Binary] httpd-2.4.9-win32-VC11.zip

And included ModSecurity from download: modules-2.4-win32-VC11.zip..

The version of ModSecurity is mod_security-2.7.7 . It is up and running, but I get a warning:

ModSecurity: Loaded PCRE do not match with compiled!

Here's the difference in the PCRE from the logs:

PCRE compiled version="8.33 "; loaded version="8.34 2013-12-15".

The compiled version does not match the loaded version. Is this something I should be concerned about and try to find compiled versions that match?

View 2 Replies View Related

Compiled Linux Kernel With ICC

Jun 16, 2008

Programs compiled with the Intel C++ compiler run 20-30% (up to 450% in some rare cases) faster than their GCC counterparts.

I have successfully compiled MySQL 5, PHP 5, eAccelerator and nginx with ICC 10.1.015. I was wondering, if anyone has compiled the linux kernel with icc? There are some linux vendors who supply icc compiled kernels, and there are some docs on intels site about compiling the kernel with icc... so it's doable.

But I want to know if anyone has done it on a VPS? What was your experience? Did the system run faster than before? Or did you face some weird situations?

View 4 Replies View Related

Web Hosting And Compiled Code

Nov 5, 2007

It is possible to make code execution on the server with applications such as FastCGI or Zend Optimizer, but the code isn't compiled for good, it's more of a bytecode that is created on the fly, correct?

I'd like to know if it's possible to compile code (PHP, Python, Ruby, etc...) so that when you request a page, the compiled code is executed the same way as compiled C++ code with cgi-bin.

I'm asking because it would be quite efficient in case of high-traffic web sites instead of running intermediary code (bytecode).

Is it possible? What do you think is the more efficient, less resource-intensive and fastest way to execute dynamic-content pages?

View 3 Replies View Related

500 Error For Compiled Lisp Program And No Trouble For The Equivalent C App

May 9, 2009

I'm trying to setup the Clozure Common Lisp implementation for CGI web programming. I've made a hello application and compiled it.

I can type ./index.cgi at the terminal and the properly formatted header and some text are displayed.

When I try to view the index page though the web browser I get an internal server error.

Quote:

Couldn't load lisp heap image from
[Sun May 10 09:31:25 2009] [error] [client 127.0.0.1] Premature end of script headers: index.cgi

I'm wondering if this is a Lisp problem or a problem with the web server/permissions.

I wrote a hello world CGI app in C and ran that through the browser without any problems.

I applied the same permissions from the C app to the Lisp app and still had the same problem.

I *think* this is a Lisp problem, but just felt that I should check with some people who are more familiar with server setups than myself.

View 1 Replies View Related

Plesk 12.x / Linux :: Upgrade To Original Compiled Version PHP / HTTPD

Feb 22, 2015

I have experimented a strange behaviour on plesk linux 12.0.18 Update #33

Basically:
1. I have recompiled Apache with more file descriptors
2. Several days later watchdog did not work properly. Support requested me to remove and install wd
3. I ran the autoinstaller. All my compiled version where replaced.

Watchdog is ok now, but I have to recompile Apache.

I have been searching on forum and kb but could not find any reoccurance.

Question : Is there a way to avoid this ?

Compilation performed based on article [URL]

after having executed /usr/local/psa/admin/bin/autoinstaller --debug

[root@ns7 scripts]# rpm -qa --last | grep "Sat 21 Feb 2015"
psa-watchdog-12.0.18-cos6.build1200140707.14.x86_64 Sat 21 Feb 2015 01:12:58 PM CET
php-tidy-5.3.3-40.el6_6.x86_64 Sat 21 Feb 2015 01:10:07 PM CET

[Code]....

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

Should We Not Be Using PHPSuExec With FastCGI?

May 2, 2009

Should we not be using PHPSuExec with FastCGI?

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

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

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Apache Procs Constantly Rise, Until Apache Is Restarted

Jul 23, 2007

I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).

Here's what I mean:
[url]

Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.

And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.

But the fact that after restart it remains down, it means it had the potential to be down all along.

So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?

View 14 Replies View Related

Increasing The Apache ServerLimit In Apache 2.2.8 Version.

May 28, 2008

The Linux Server got down when the MaxClients 256 is reached.
Error Log:

"server reached MaxClients setting, consider raising the MaxClients setting"

So that I have tried to increased the MaxClients Value to 500, after changed the value in httpd.conf and restart I get following error message.

" [notice] SIGHUP received. Attempting to restart
WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit
directive."

So that I tried changed the Server limit in /usr/local/apache/include/httpd.h header file. but it seems like there is no entry.

Apache Version : 2.2.8

So I have added the ServerLimit 500 entry in httpd.conf file and restart the httpd service. But still shows the same warning mesg. Please help me regarding this.

We have the Dedicated server for Flash Game Server with following configuration.

RHEL4 OS
2GB RAM
Intel(R) Xeon(R) X3210 @ 2.13GHz
Cpanel Installed.
Apache 2.2.8
PHP 5.2.4
MySQL 4.1.2 (MySQL Server is working in differend server)

View 7 Replies View Related

.htaccess Issue With Apache 1.3, But Works On Apache 2.2

Mar 22, 2008

I have the following Apache redirect code in .htaccess:

RewriteRule ^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$ /domain.com/app/modules/content/latestNews.php?id=$1 [L]

This redirect works fine on Apache 2.2.8, but doesn't work on Apache 1.3.41

The following is the entry from error_log:
RewriteRule: cannot compile regular expression '^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$'

A simple Rewrite is working fine in Apache 1.3, but the above regualar expression doesn't seem to be working on Apache 1.3. Does anyone know whether Apache 1.3 doesn't support it?

View 3 Replies View Related

Installed Apache And PHP Only Seeing Default Apache Page

Jun 1, 2007

I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.

View 6 Replies View Related







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