Hi,
I am using CPanel 11, iPanel 3.6.19 on CentOS5, Apache 2.2.11, Mod_Layout 5.1 & PHP 5.2.8
I wish to implement adverts on free hosting accounts whilst also using suPHP. After installing using Easy Apache, I set the PHP handler to 'suPHP' and all the advert pages that are in PHP no longer parse - instead are replaced with a couple of funny characters.
If I set to 'DSO' then the pages and adverts load properly - but obviously don't have the benefits of suPHP (especially preventing the running scripts as nobody). Setting to 'CGI' prevents the adverts from showing on PHP pages.
Has anyone had this and know of a way around it? Below are the apache logs for the different handlers.
Thanks
I changed the handler to suPHP, loaded a page with mod_layout adverts and then reverted it back to DSO. Below is the apache log for the time frame:
[Mon Jan 05 22:17:51 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:17:52 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:17:53 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Mon Jan 05 22:17:59 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:18:01 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:18:01 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Mon Jan 05 22:18:42 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:18:44 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:18:44 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 05 22:18:51 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:18:52 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:18:53 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 configured -- resuming normal operations
And here I changed it to CGI and loaded a couple of pages afterwards.
[Tue Jan 06 14:09:04 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 14:09:05 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Jan 06 14:09:06 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Tue Jan 06 14:09:06 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 14:09:07 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Jan 06 14:09:08 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
I am using CPanel 11, iPanel 3.6.19 on CentOS5, Apache 2.2.11, Mod_Layout 5.1 & PHP 5.2.8
I wish to implement adverts on free hosting accounts whilst also using suPHP. After installing using Easy Apache, I set the PHP handler to 'suPHP' and all the advert pages that are in PHP no longer parse - instead are replaced with a couple of funny characters.
If I set to 'DSO' then the pages and adverts load properly - but obviously don't have the benefits of suPHP (especially preventing the running scripts as nobody). Setting to 'CGI' prevents the adverts from showing on PHP pages.
Has anyone had this and know of a way around it? Below are the apache logs for the different handlers.
Thanks
I changed the handler to suPHP, loaded a page with mod_layout adverts and then reverted it back to DSO. Below is the apache log for the time frame:
[Mon Jan 05 22:17:51 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:17:52 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:17:53 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Mon Jan 05 22:17:59 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:18:01 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:18:01 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Mon Jan 05 22:18:42 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:18:44 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:18:44 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 05 22:18:51 2009] [notice] caught SIGTERM, shutting down
[Mon Jan 05 22:18:52 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Jan 05 22:18:53 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 configured -- resuming normal operations
And here I changed it to CGI and loaded a couple of pages afterwards.
[Tue Jan 06 14:09:04 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 14:09:05 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Jan 06 14:09:06 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Tue Jan 06 14:09:06 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 14:09:07 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Jan 06 14:09:08 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations