The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
48 views

When does main www/mod_php5 port get updated?

I haven't been able to find any info regarding this anywhere while burying through the thousands of results I have been getting concerning php5 so here goes. We have several FreeBSD 9.2 machines and ...
1
vote
0answers
21 views

PureFTPD can't list web root when files are uploaded

I've finally made the step forward and signed up for a VPS server in exchange for my obsolete shared hosting account. I'm running Ubuntu 14.04 x32 on a VPS from DigitalOcean. On top of the VPS I have ...
1
vote
1answer
76 views

php-fpm process running when using mod_php

I've been having some out of memory issues. Pretty much there after tuning Apache but I have noticed something odd when analyzing memory usage. php-fpm is running in the background when, as far as I ...
0
votes
1answer
17 views

Apache becomes unconnectable after certain time?

After maybe ~20 minutes it seems like my apache server becomes unconnectable. By unconnectable, I mean if I curl any page, it just results in nothing for 2-3 minutes and then nothing ever shows up. ...
1
vote
1answer
118 views

Using both mod_php(Apache) and php-fpm(nginx) in one server

Is it possible to use Apache+mod_php and nginx+php-fpm in same server? I know these two servers can NOT share same port, but is it possible to run two different PHP modules in one server? I'm ...
1
vote
1answer
1k views

Apache 2.4: mod_php vs php-fpm performance

There are plenty of old benchmarks on Apache mod_php vs nginx with php-fpm However, with version 2.4, Apache can use php-fpm. Are there any sensible benchmarks comparing mod_php with php-fpm (both ...
0
votes
1answer
70 views

Changing Php's Handler Name

On my apache server I'd like to run multiple versions of PHP concurrently so that I can easily switch between them depending on the needs of the project. I noticed that some shared hosting providers ...
7
votes
1answer
464 views

How can I use SELinux to confine PHP scripts?

I want to compartmentalize different PHP applications on my SL6.4 (RHEL 6.4 rebuild) web server so that they cannot access each others' data. It seems that SELinux might be able to do this, but I am ...
0
votes
1answer
505 views

Does PHP take advantage of APC if run as apache module with prefork?

I have installed APC, but I am not observing as big an impact on performance as I expected. Actually, I'm not sure I'm observing any benefit, though maybe it's just because the cpu time spent in ...
0
votes
1answer
195 views

Give PHP a fake request URL and protocol with Apache2 and mod_php

I run a web server with multiple users. The machine provides Apache-based virtual hosts to a bunch of users, who can serve static content or use PHP. No other forms of server-side scripting are ...
0
votes
1answer
150 views

Effect of PHP memory limit on Apache2 workers [closed]

As you would have guessed I have a server setup with mod_php and Apache2 (prefork) with APC . The site receives decent amount of traffic daily and on highest being 280-290 users at the same time. A ...
0
votes
1answer
163 views

From suPHP to mod_php

I have a Centos6 64-bit server, Apache/2.2.15, PHP5.3.3, one IP and four name-based virtual hosts and SSL/SNI to provide https in addition to http. All those hosts are assigned to different linux ...
0
votes
1answer
131 views

Apache prefork vs. workder - what is wrong with my settings?

I have installed PHP as an Apache module. I have had prefork running all this while. I've read that worker would consume less memory while offer higher performance]1. So, I've edited ...
1
vote
1answer
62 views

forbid custom php config settings on apache 2.2 + mod_php server

I have a server where php is running as an apache module. Every user on the server is restricted to his own directory with open_basedir. I have disabled the following functions: disable_functions = ...
1
vote
0answers
372 views

amazon ec2-medium apache requests per second terrible

EDITED -- test running from localhost now to rule out network... i have a c1.medium using EBS. when i do an apache benchmark and i'm just printing a "hello" for the test from localhost - no database ...
2
votes
1answer
386 views

Php Type - what is the difference? [closed]

I have VPS with kloxo installed on it. Inside the Web Server config section there is a possibility to select between 6 options of PHP Type which are as follow: suphp suphp_worker suphp_event mod_php ...
0
votes
1answer
110 views

Configuring Apache vhost to process PHP files [duplicate]

Possible Duplicate: Apache not parsing files? Just sending downloads Description Now I have setup up a site in Apache using vhost. If I request something it response me a PHP file raw. ...
0
votes
1answer
255 views

Mod_Perl AddType .pl execution on apache

I've recently been using PHP via mod_php, and I assumed that getting mod_perl running properly was going to require a similar setup: AddType application/x-httpd-php .php unfortunately this does ...
0
votes
1answer
391 views

(Serving PHP) Does Apache2 will create new thread on every connection?

Based on many online sources, in serving static files, Apache2 will create new thread on every different connection... results in resource hungry But how about serving PHP through Apache2 (mod_php, ...
0
votes
3answers
1k views

Apache with mod_php high memory utilization

We have Magento application deployed on Apache with mod_php and mysql. I have observed that sometime apache server starts consuming high memory which causes memory swapping and results in high load on ...
3
votes
1answer
779 views

mod_spdy problems and speculations

I'm trying out mod_spdy and I've run into a problem - it seems to be incompatible with AJAX requests and mod_php as in this: https://www.modspdy.com/blog/2012/04/15/using-mod_spdy-with-php/ The ...
1
vote
2answers
447 views

How to run mod_php and fastcgi side-by-side?

How would it be possible to run certain scripts (this could be in either a vhost or directory setting in the apache conf) to run as mod_php when the current server configuration is running ...
0
votes
1answer
270 views

Count specific php function calls executed by apache

Is there a way to count how often apache executes a specific php function? At the end I want I file like this: From 2012-01-01 till 2012-01-31 apache executed: system() : 10 printf() : 1000 ...
1
vote
0answers
589 views

Apache 2.2.16 with mod_php on Debian Squeeze CPU high load

Configuration: CPU 16 cores 14 GB RAM Apache 2.2.16 PHP 5.3.3-7 with enabled APC Apache mpm config: StartServers 50 MinSpareServers 50 MaxSpareServers 256 ...
2
votes
1answer
152 views

How to reduce Nginx tasks running under php-fpm?

What is Apache's mod_php equivalent in Nginx? I have Nginx with php-fpm. Everything is perfect but the problem is that it works like fcgi in Apache not mod_php. This means that a task is added for ...
0
votes
2answers
728 views

mod_wsgi and mod_php running together - possible?

I was wondering is it possible to run apache with mod_wsgi and mod_php running together to serve python and php pages? If so were can I find info on doing this? Thanks
0
votes
1answer
184 views

Always using eAccelerator

If eAccelerator uses an opcode cache for PHP requests, then why don't all companies employ this on their production servers? Is there a reason why Apache/PHP/mod_php doesn't bundle it with their ...
0
votes
2answers
443 views

Apache + mod_php Ignores SUID?

Does apache or mod_php cause a SUID flag to be ignored when using the shell_exec command from a web accessed PHP script? I'm trying to allow a web accessible PHP script to rename some files which the ...
3
votes
2answers
3k views

How long do Apache processes stay alive?

When apache forks a process for mod-php, how long does it stay alive? Does the process die as soon as the response is sent, or will it stay alive until the browser receives the full response?
0
votes
1answer
181 views

How do you serve php files located outside of the apache folders

I've just installed phpMyAdmin at /usr/share/phpMyAdmin on a CentOS 5 machine running webmin / virtualmin. I have also added an alias to the apache config, being the following line: Alias /phpMyAdmin ...
1
vote
2answers
2k views

Running mod_php and suPHP same time

I recently went from Debian Lenny with 5.2.x and was able to use mod_php for any php files that were not located in /home/ and suPHP for all the php files that were located in /home/. I did this ...
1
vote
1answer
399 views

Re: How can Django/WSGI and PHP share / on Apache?

in response to: How can Django/WSGI and PHP share / on Apache? Hello, could you please post the complete config file from /sites-available I am having a problem seems like rewrite engine redirects ...
0
votes
1answer
2k views

How can Django/WSGI and PHP share / on Apache?

I have a server running an established PHP site, as well as some Django apps. Currently, a VirtualHost set up for PHP listens on port 80, and requests to certain directories are proxied to a ...
2
votes
5answers
1k views

Own server, multiple website: most secure PHP setup

We have a company server with a variety of websites. They are maintained by different people from within our company. All websites are public. The server access is limited to our company only. This is ...
4
votes
2answers
1k views

Comparing Nginx+PHP-FPM to Apache-mod_php

I'm running Drupal and trying to figure out the best stack to serve it. Apache + mod_php or Nginx + PHP-FPM I used ApacheBench (ab) and Siege to test both setups and I'm seeing Apache performing ...
25
votes
3answers
7k views

Apache vs Nginx

I have been investigating the differences between Apache and Nginx recently and am confused about which I should choose. I have done some searching but there is no definitive comparison between the ...
0
votes
2answers
371 views

How can I install both mod-perl2 and mod-php5 on Ubuntu?

From Ubuntu's package libary, I find the two modules I need. However: mod-perl2 requires apache2-mpm-worker mod-php5 requires apache2-mpm-prefork The two apache modules are mutually exclusive and ...
1
vote
3answers
2k views

PHP: gethostbyname() suddenly no longer resolves names to IPs when run in Apache

One of our older legacy servers which gets no further updates or reconfigurations suddenly stopped resolving hostnames to IPs when PHP is executed within Apache. However, it still works fine when ...
0
votes
1answer
724 views

how i can know mod_php5.c name

first see this problem <IfModule !mod_php5.c> <FilesMatch "\.php$"> Order allow,deny Deny from all Allow from none </FilesMatch> RewriteBase / ...
0
votes
2answers
74 views

Is it possible to find information on apache_mod_php processes under /proc?

I have an apache2 server with apache2_mod_php installed. Is there a way for me to determine from the information under /proc (or elsewhere), which apache processes are currently executing the php ...
1
vote
2answers
212 views

Need to determine how php files are being rendered in a LAMP configuration (CGI, FastCGI, or mod-php)

How do I determine how our php files are being rendered in a simple LAMP configuration? phpinfo shows: -- Configure Command -- --enable-force-cgi-redirect --enable-fastcgi -- Server API -- ...
4
votes
4answers
6k views

What could cause Apache's time/timezone to change intermittently?

I run a server with some PHP-powered forums (Vanilla 1.1.5a) on it, and I've recently noticed posts going out of order on them. Some digging revealed that Apache seems to be changing the current ...
20
votes
3answers
6k views

PHP: What are the advantages of FastCGI over mod_php?

It was recently suggested to me that I use FastCGI with PHP. Now I went to the FastCGI page and read it but I don't really understand what the advantages are.