Results 1 to 8 of 8
-
21st Jun 2012, 12:39 PM #1OPMember
Can I install suphp in centos 6.2, Give a guide ?
After installing phpbb on centos 6.2 I noticed that all folder should be chmod to 777 to work automod. If not automod fails to install the mod.
I found suphp can overcome this problem. Right ? Thanks.jasoothai Reviewed by jasoothai on . Can I install suphp in centos 6.2, Give a guide ? After installing phpbb on centos 6.2 I noticed that all folder should be chmod to 777 to work automod. If not automod fails to install the mod. I found suphp can overcome this problem. Right ? Thanks. Rating: 5
-
21st Jun 2012, 12:45 PM #2Member
-
22nd Jun 2012, 08:57 AM #3OPMember
Thanks for the link, will try...
---------- Post added 22nd Jun 2012 at 01:12 PM ---------- Previous post was 21st Jun 2012 at 10:08 PM ----------
I couldn't follow this part, please help.
Where I have to add "LoadModule suphp_module modules/mod_suphp.so"
Here ?
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
[....]
suPHP_Engine on suPHP_AddHandler application/x-httpd-php .php
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
Thanks.
---------- Post added at 02:27 PM ---------- Previous post was at 01:12 PM ----------
Server API sowing Apache 2.0 Handler
-
22nd Jun 2012, 07:09 PM #4Member
Hi,
In the <Directory /> section Add:
suPHP_Engine on
suPHP_AddHandler application/x-httpd-php .phpWhere I have to add "LoadModule suphp_module modules/mod_suphp.so"
Here ?
You can add this anywhere in /etc/httpd/conf.d/php.conf file. or you can also add this in .htaccess in your phpBB directory if you are using single website and want to apply this only on single website.
AddType application/x-httpd-php .php
-
23rd Jun 2012, 08:23 AM #5OPMember
Restarted apache already. Not working, I added
suPHP_UserGroup webroot webroot
And also I think I need to replace the entire /etc/httpd/conf.d/php.conf file with "AddType application/x-httpd-php .php" . Right ?
Error log
Code:[Fri Jun 22 13:37:40 2012] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations [Fri Jun 22 13:37:45 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:37:45 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:37:51 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:37:51 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:37:53 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:37:53 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:37:55 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:37:55 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:38:13 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:38:13 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:51:02 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:51:02 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:52:56 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:52:56 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:53:50 2012] [error] [client 101.63.144.113] Directory index forbidden by Options directive: /var/www/html/ [Fri Jun 22 13:53:51 2012] [error] [client 101.63.144.113] File does not exist: /var/www/html/favicon.ico [Fri Jun 22 13:53:51 2012] [error] [client 101.63.144.113] File does not exist: /var/www/html/favicon.ico [Fri Jun 22 13:53:52 2012] [error] [client 101.63.144.113] File does not exist: /var/www/html/favicon.ico [Fri Jun 22 13:56:50 2012] [error] [client 101.63.144.113] SoftException in Application.cpp:350: UID of script "/var/www/html/info.php" is smaller than min_uid [Fri Jun 22 13:56:50 2012] [error] [client 101.63.144.113] Premature end of script headers: info.php [Fri Jun 22 13:59:21 2012] [notice] caught SIGTERM, shutting down [Fri Jun 22 13:59:21 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Jun 22 13:59:21 2012] [notice] Digest: generating secret for digest authentication ... [Fri Jun 22 13:59:21 2012] [notice] Digest: done [Fri Jun 22 13:59:21 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.4 configured -- resuming normal operations [Fri Jun 22 13:59:26 2012] [notice] caught SIGTERM, shutting down [Fri Jun 22 13:59:27 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Jun 22 13:59:27 2012] [notice] Digest: generating secret for digest authentication ... [Fri Jun 22 13:59:27 2012] [notice] Digest: done [Fri Jun 22 13:59:27 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.4 configu [Sat Jun 23 10:29:40 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ucp.php?mode=register&sid=4e3c2a1ea397757fd78e4433c9432d5b [Sat Jun 23 10:29:40 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ucp.php?mode=register&sid=4e3c2a1ea397757fd78e4433c9432d5b [Sat Jun 23 10:29:41 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ucp.php?mode=register&sid=4e3c2a1ea397757fd78e4433c9432d5b [Sat Jun 23 10:30:34 2012] [error] [client 115.241.115.213] File does not exist: /var/www/html/favicon.ico [Sat Jun 23 10:30:37 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ucp.php?mode=login&sid=4e3c2a1ea397757fd78e4433c9432d5b [Sat Jun 23 10:30:44 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ [Sat Jun 23 10:31:10 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/index.php?sid=1c995ec329e81385b3136fac80dc4c69 [Sat Jun 23 10:31:46 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1781, referer: http://testforum456****/ucp.php?i=pm&mode=compose&u=54&sid=1c995ec329e81385b3136fac80dc4c69 [Sat Jun 23 10:31:46 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1781, referer: http://testforum456****/ucp.php?i=pm&mode=compose&u=54&sid=1c995ec329e81385b3136fac80dc4c69 [Sat Jun 23 10:31:46 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ucp.php?i=pm&mode=compose&u=54&sid=1c995ec329e81385b3136fac80dc4c69 [Sat Jun 23 10:31:46 2012] [error] [client 115.241.115.213] PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /var/www/html/includes/utf/utf_tools.php on line 1663, referer: http://testforum456****/ucp.php?i=pm&mode=compose&u=54&sid=1c995ec329e81385b3136fac80dc4c69
-
24th Jun 2012, 03:22 PM #6Member
Hi, There is no error i see against Apache in this log. all the error is your script error. PHP Strict Standards: Non-static method this is a bug in phpBB according to this topic http://tracker.phpbb.com/browse/PHPBB3-10615
-
25th Jun 2012, 05:58 AM #7OPMember
Okey, Thank you for responding...
-
25th Jun 2012, 06:17 PM #8Member
The error messages you stated in the previous post does indicate some issues within the suphp configuration file OR it may be installed properly but permissions on your files are incorrect.
Here is the guide to install SuPHP on a Plesk server, however it can also be implemented on a plain CentOS server.Linux System Administrator
Server Management at affordable cost.
linuxhostingsupport.net | MSN:madaboutlinux@hotmail.com
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
By SceneMan in forum Tutorials and GuidesReplies: 12Last Post: 23rd Jan 2012, 10:21 AM -
how to install ftp on centos
By -={MINDFREAK}=- in forum Technical Help Desk SupportReplies: 3Last Post: 12th Jun 2011, 04:50 PM -
[Hiring] Need PHP Expert (Guide) - Upgrading PHP / CentOS VPS
By ladygamer in forum Completed TransactionsReplies: 0Last Post: 10th Feb 2011, 09:44 AM -
Rapidleech install guide ?
By MyDarkTower in forum Tutorials and GuidesReplies: 8Last Post: 27th Oct 2010, 01:25 PM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...