1
vote
0answers
25 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
1
vote
1answer
632 views

web server very slow, bombarded with php-cgi processes?

I have a Parallel Plesk 11.0.0 with CentOS 6.3. Lately, I've noticed that my web server runs VERY slow (not the norm), CPU average at 80% no matter what kind of traffic, and my top is filled with ...
-3
votes
1answer
107 views

weird php .so error [closed]

Do I need to recompile or rebuild or something? I never had this issue before. /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information available (required by /usr/bin/php) /usr/bin/php: ...
1
vote
1answer
369 views

PHP5.3 FastCGI doesn't use global config's values

There's a Centos6.3 system. Apache 2.2.15 + mod_fcgid + PHP 5.3.3 There's a problem with date.timezone value. It's mentioned in the global /etc/php.ini like this: date.timezone = "Europe/Moscow" ...
1
vote
0answers
252 views

Slow WordPress with FastCGI

I recently upgraded my Media Temple server to dv4 and enabled FastCGI. I have this issue where the WordPress control panel on my sites goes slow. When I update or publish a post, sometimes it will ...
1
vote
3answers
285 views

How to tell: Is it nginx or PHP-cgi which is slower?

I run a website with a lot of traffic. I'm using nginx and php fast-cgi. However, when loading simple php documents in the browser, it takes up to 5-6 seconds before the page is loaded. Sometimes it ...
1
vote
1answer
590 views

“no input file specified” with apache/php after recompile

I have CPanel and I recompiled php to 5.3.13 and im getting "no input file specified" on sites like vB and MyBB running in fcgi and suEXEC (same mode as before). on build I have checked: Mod SuPHP ...
0
votes
5answers
2k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...
0
votes
1answer
137 views

Configuring FastCGI for mass hosting setup

I'm running a bunch of websites on a server but I'm having memory issues from all the PHP processes. What should I change? I need to change FcgidProcessLifeTime to say 600 right which means the user ...
2
votes
1answer
105 views

php processes owned by ppid 1 after X amount of time

I have a CentOS server running WHM that uses FastCGI (mod_fcgid) running PHP 5.2.17 on Apache 2.0 with SuExec. When I start Apache it begins fine and serving requests. If I run ps on the terminal as ...
1
vote
0answers
351 views

Unreadable error using FCGI

I recently installed mod_fcgi on to Amazon EC2 64bit Linux AMI and using Movable Type 5.13 with it. Here is my error log. [warn]mod_fcgid: error reading data, FastCGI server closed connection, ...
0
votes
1answer
3k views

PHP Errors (via FastCGI) with Nginx on Ubuntu Linode

I setup LEMP (Linux, Nginx, MySQL, and PHP) on a Ubuntu 10.04 server from Linode with the following guide: http://library.linode.com/lemp-guides/ubuntu-10.04-lucid Essentially, I uploaded my PHP ...
1
vote
2answers
70 views

Nginx update rewrites my own starting scripts in /etc/init.d/nginx. Is there a way to avoid this?

I have nginx plus fast cgi. I wroted starting script that starts nginx with fast cgi. But after nginx update system rewrites this script to the default starting only nginx. Is there any way to avoid ...
3
votes
2answers
4k views

nginx: multiple document roots with fastcgi

When using a single document root in my http directive, everything works fine. However, I want to add a location directive with an additional directive and I can't get fastcgi to work with this ...
3
votes
2answers
2k views

A single php-fastcgi process blocks all other PHP requests

I've recently switched to a FastCGI setup for PHP (Apache2-worker and mod_fcgid). However, when a single PHP script is very busy, it seems to block all other PHP requests. What would be wrong with my ...
0
votes
1answer
66 views

Help installing fastCGI on linux

I run the following: $ cd /opt/mod_fastcgi-2.4.6 $ cp Makefile.AP2 Makefile $ make top_dir=/etc/httpd $ make install I keep getting this error when I run make: -bash: make: command not found ...
1
vote
1answer
711 views

Nginx, how to set fastcgi_index to several values?

I'm using the nginx webserver on Linux for domain "example.com". I forward everything via fastcgi to fastcgi-mono-server4. Now, everything works fine, I just want to set several index pages, e.g. ...
0
votes
1answer
503 views

Segmentation fault lighttpd

Hey guys, I can't figure this out, when I add the fastcgi module to lighttpd when I try to connect to a php page, I get a segmentation fault error. Nothing is in the error log, and nothing else is ...
1
vote
1answer
248 views

Need advice in setting up server. fastCGI, suExec, speed, security, etc

I am running my own dedicated server with centOS 5 and WHM/cPanel. I would like to configure my server to meet my needs but I need a little help. It will only be my own websites being run on this ...
1
vote
3answers
2k views

Why is my apache2, mod_fcgid, php configuration causing 100% cpu usage?

Page load makes a quick initial connection, then hangs about 10 seconds before the page renders. When the server load goes up I start watching top & I see that both CPUs get pegged at times to ...
1
vote
5answers
1k views

How to execute with /bin/false shell

I am trying to setup per-user fastcgi scripts that will run each on a different port and with a different user. Here is example of my script: #!/bin/bash BIND=127.0.0.1:9001 USER=user ...
7
votes
4answers
3k views

How do I setup Apache with FastCGI and Ruby?

I've been reading alot of forum posts, tutorials, etc., about setting up apache under linux with fastcgi. I'm trying to run fcgi for some of my ruby development (not rails), but I figure it should ...
4
votes
4answers
492 views

FastCGI launcher

I need to serve some FCGI scripts (via WSAPI, but that is irrelevant) from nginx. Currently I'm using spawn_fcgi to do this. This is the only solution I've found. I need to know my other options. ...
3
votes
3answers
743 views

What's the optimal way to set up a Django server to serve multiple sites?

I currently use Apache 2.0 and FastCGI to serve my Django sites (I host multiple sites from a single server / IP). Each site has it's own FastCGI process which stops Apache forking multiple copies ...