i have enabled fastcgi on my cpanel server, yet when i run my php script i am getting a warning about the permissions should not be writable, so i tried changing it from 0644 to 444 but it does not allow me to.
if i change it back to dso it works fine the script but fastcgi shows these...
When a user site is accessed by shared SSL,
- sharedssl.host -> /home/sharedusername/public_html (no contents)
- /~username -> /home/username/public_html
the following error occurs.
--- error_log ---
(104)Connection reset by...
Normally, when the server goes high loaded we execute something similiar to:
A PHP script that causes high load in suPHP mode will show something similiar to this:
user /usr/bin/php /home/user/public_html/spam.php
when we execute some of the above commands...
I am in the process of migrating to the FastCGI from SuPHP.
When I am using SuPHP my clients can access their www directory by using:
However, in several topics here I have read that FastCGI in SuEXEC mode doesn't allow such a behaviour..?
On my new server, I've running apache with FCGI with suEXEC. My problem is that:
- CPanel doesn't have permission to create subdomains. Actually it doesn't have permission to create folders, copy files, etc.
- My PHP script gives a "permission denied to move file" error on file uploads.
I have installed fastcgi-based PHP, and now the mod_userdir stuff (~username) don't parse PHP. With the normal domain, everything works fine.
I see here that this is a known problem:
Apache PHP Request Handling
"Important: This method is only recommended for advanced administrators...
I am planning on using cloudlinux with a few of my new servers and with its overhead, id really like to minimize resource waste and optimize things as much as possible. FastCGI seems to be a bit faster than suphp and from what Ive been reading, people seem to prefer it.
Besides it being a...
Hi, i changed from suPHP to FastCGI ad now the server have 1000 processs and with a "ps aux" i see some process old time:
locstarc 32136 0.0 0.1 47336 8976 ? S< 13:31 0:00 /usr/bin/php
locstarc 32139 0.0 0.0 42320 8164 ? S< 13:31 0:00 /usr/bin/php
Hi, i have installed the FastCGI and work ok but after any minutes apache down and on error log show:
mod_fcgid: Can't create shared memory for size
Now increased it to 1GB shared memory of the server sysctl(kernel.shmmax = 1073741824) do not know if this will solve, someone already went...
I usually don't need to post questions, but this is driving me crazy:eek:. I'm running a Cpanel box with apache/mod_fcgid/php5/eaccelerator.
I switched to mod_fcgid from su_php and it runs extremely well, except for this minor glitch:
Wed Feb 02 12:44:38 2011] [error] [client...
I have recompiled apache via easyapache with FastCGI (mod_fcgid) but after successfully compiled The php sites are not working after switching to fcgi but working fine with DSO, Below messages is in error log,
(13)Permission denied: mod_fcgid: spawn process
Can anybody guide me how...
I am a bit stumped on this one. How do I configure mod_fcgid (FastCGI) and APC so that all processes share the same cache (not per user)?
I have heard this is possible, but I see conflicting info when I search.
Hi all - we have set up (finally) our CentOS 5.2.x server with WHM/Cpanel 11 running Apache and FastCGI. Server and website runs great except for a periodic error:
[Tue Mar 10 15:57:50 2009] [notice] mod_fcgid: process /home/uberuser/public_html/index.php(20420) exit(lifetime expired)...
I have trying to find helpful documents online about suphp and fastcgi but there is not much out there.
The issue a dedicated customer wants a WHM/CPanel server which all PHP sites are running under their own useraccount, low memory print and fast.
Suphp (with suhosin) disables eaccelerator...