Activity Stream
48,167 MEMBERS
6747 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Default 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

  2.   Sponsored Links

  3.     
    #2
    Member

  4.     
    #3
    Member
    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
    [....]
    And where I have to add
    suPHP_Engine on suPHP_AddHandler application/x-httpd-php .php
    Here ?
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    Where to add
    AddType application/x-httpd-php .php
    There is already a similar line in php.conf like,
    #AddType application/x-httpd-php-source .phps
    So I need to replace it ?
    Thanks.

    ---------- Post added at 02:27 PM ---------- Previous post was at 01:12 PM ----------

    Server API sowing Apache 2.0 Handler

  5.     
    #4
    Member
    Hi,

    In the <Directory /> section Add:

    suPHP_Engine on

    suPHP_AddHandler application/x-httpd-php .php
    Where I have to add "LoadModule suphp_module modules/mod_suphp.so"
    Here ?
    Yes,


    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
    make sure, restart apache after this and see the httpd logs for any errors.

  6.     
    #5
    Member
    Restarted apache already. Not working, I added
    suPHP_UserGroup webroot webroot
    to the <Directory /> section. Do I need to change the word webroot to something.

    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

  7.     
    #6
    Member
    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

  8.     
    #7
    Member
    Okey, Thank you for responding...

  9.     
    #8
    Member
    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:[email protected]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 23rd Jan 2012, 10:21 AM
  2. how to install ftp on centos
    By -={MINDFREAK}=- in forum Technical Help Desk Support
    Replies: 3
    Last Post: 12th Jun 2011, 04:50 PM
  3. [Hiring] Need PHP Expert (Guide) - Upgrading PHP / CentOS VPS
    By ladygamer in forum Completed Transactions
    Replies: 0
    Last Post: 10th Feb 2011, 09:44 AM
  4. Rapidleech install guide ?
    By MyDarkTower in forum Tutorials and Guides
    Replies: 8
    Last Post: 27th Oct 2010, 01:25 PM

Tags for this Thread

BE SOCIAL