Error in suphp.c on line
Am experimenting suphp on several servers for security reason. During installation, I have encoutered few error messages and problems. Here are what I want to share;
Error in suphp.c on line xxx
After suphp installation, fire up apache web server. Misconfiguration error message displayed on the site, and it said, “read error log file”. tail the error file and you see;
[error] [client 203.223.134.888] Premature end of script headers: index.php
[error] [client 203.223.134.888] Error in suphp.c on line 236: UID of calling process mismatches
[error] [client 203.223.134.888] Premature end of script headers: index.php
[error] [client 203.223.134.888] Error in suphp.c on line 236: UID of calling process mismatches
This log doesn’t give you a clear picture on what is happening, suggest you tail on suphp.log file, and you will see;
[error] suPHP was called by hansome (8888), not by www
[error] suPHP was called by hansome (8888), not by www
If you have both of the error message shown above, most probably it’s misconfiguration on apache config file. Open httpd.conf, change the User to www insteady of others UID.
Have fun with suphp.
Related posts:
- Install and Configure mod_suphp or suphp on Plesk Server Plesk control panel comes with Media Temple DV package doesn’t...
- PCRE Error on PHP 5.2.x Recent upgrade to PHP 5.2.8 and PHP 5.2.9 have given...
- PostgreSQL Database signal 6 Error On Apple Mac After I have done PostgreSQL upgrade through MacPort, the database...
- PostgreSQL Database psql Command Line Query Sometime psql command line query can be useful when it...
- Razor2 Error: No such file or directory report requires authentication While doing Spam Report on SpamAssassin, I came across this...
- FreeBSD Port: Error Upgrading Perl 5.8.9 Usually I perform portupgrade daily on some of my FreeBSD...
- Configure Your Own screenrc file There are few shell scripts I need to run when...
- Cacti Spine Source Installation Error on FreeBSD Just noticed FreeBSD’s port still using old version of spine,...
- how to search search & delete line in vi editor the below command in vi editor will remove the whole...
- vim – error when starting problem : For some reason, starting up vim pops up...