Questions tagged [mod-php]

56 questions
0
votes
3 answers

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 servers. whenever there is high load on apache…
Raj
  • 247
  • 2
  • 9
0
votes
1 answer

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 etc. I hope you get the idea. Edit: Just to…
Kai
  • 315
  • 1
  • 4
  • 14
0
votes
1 answer

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 package?
atx
  • 1,281
  • 1
  • 9
  • 25
0
votes
2 answers

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 apache user does not have write access to. I…
0
votes
1 answer

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 /usr/share/phpMyAdmin So that when I visit…
Lobe
  • 103
  • 1
  • 1
  • 6
0
votes
2 answers

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 ask me to un-install the other in order to install…
RickMeasham
  • 153
  • 2
  • 6
0
votes
0 answers

$_POST is empty when obtaining in "ErrorDocument 404" (nginx + apache + mod_php)

I try to transfer website from old server to new, and stucked with one problem. PHP/JS code on both servers is the same, but on new server it is not working - $_POST data are empty in AJAX-request. Some details: Old server: Debian 7, Nginx +…
Ipromo
  • 1
0
votes
0 answers

Apache+mod_php so slow

I have a problem setting up my Apache server with mod_php. I have a website whose index.php page is generated in ~200ms. But Apache serves it in about 1.5sec. Why is this slowdown taking place? If needed, my /etc/apache2/ports.conf file is: Listen…
Max Cruer
  • 1
  • 1
0
votes
1 answer

mod_php is not installed on CentOS 7 with remi's php 5.4 - a bit of confusion

I have a fresh installation on CentOS 7 with httpd and following remi's wizard I installed php 5.4 as single version (I know it's old, but part of my requirements !!). My problem is that httpd cannot run php scripts (simple like phpinfo) just as…
alexxtasi
  • 3
  • 1
  • 3
0
votes
1 answer

how i can know mod_php5.c name

first see this problem Order allow,deny Deny from all Allow from none RewriteBase / now how i can know the mod_php5.c name becuase it not like…
Mostafa Elkady
  • 119
  • 1
  • 6
-1
votes
2 answers

.htaccess vs php.ini in mod_php and CGI

As far as I know, mod_php can be configured either by means of php.ini or .htaccess files while, for CGI, .htaccess files cannot be used. Does the fact that mod_php can use .htaccess files makes it more insecure with respect to CGI?
Simus
  • 103
  • 4
1 2 3
4