![]() |
ispconfig3 on Debian7 problem with suphp
Hello,
I'm fighting with ispconfig (ISPConfig-3.0.4.6) & suphp for a moment... I'm starting from a fresh install of Debian testing (I know it's the testing branch) and I followed (as usually: this is at least my twentieth install on Debian stable) this tuto: http://www.howtoforge.com/perfect-se...ot-ispconfig-3 And I'm not abble to join the ispconfig panel... tail -f /var/log/suphp/suphp.log Code:
[Sun Dec 02 15:30:29 2012] [warn] Script "/usr/local/ispconfig/interface/web/index.php" resolving to "/usr/local/ispconfig/interface/web/index.php" not within configured docrootCode:
[Sun Dec 02 15:32:03 2012] [warn] Directory "/usr/local" is writeable by groupCode:
[Sun Dec 02 15:38:53 2012] [warn] Script "/usr/local/ispconfig/interface/web/js/scrigo.js.php" resolving to "/usr/local/ispconfig/interface/web/js/scrigo.js.php" not within configured docrootCode:
<Directory /usr/local/ispconfig>I'm not on the right way... If someone could give me some leads to follow, I would be very grateful! |
Hi,
I managed to arrange with suphp.conf (the one in the /etc/suphp directory). I just added a wildcard to the end of the path. I was forced to "chmoded" (755) /usr/local. I do not understand why in this installation I was forced to do this manipulations. I installed IspConfig dozens of times, and I never faced this problem. Remains the consequences of chmod 755 /usr/local: it is not the Debian way for a directory... I do not know what it will produce as a side effect... Remains in my logs hundreds of lines of this type, but it must be another problem... Code:
[Mon Dec 03 05:30:07 2012] [error] [client xx.xx.xx.xx] PHP Strict Standards: Non-static method SimplePie_Parse_Date::get() should not be called statically, assuming $this from incompatible context in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 10870, referer: https://mydomain.tld:8080/index.phpLaurent. |
The ispconfig interface should not be run with suphp. My guess is that suphp is enabled globally by accident on your server. Edit the suphp.conf file in /etc/apache2/mods-available and remove any addtype and addhandler lines that you find there. Then restart apache and undo the changes you described above.
Quote:
|
Hi Till,
Thank you very much for putting me on the right path, this is actually the configuration of the suphp module that was a problem in apache. Your mastery is impressive! :) Here is the suphp configuration in Wheezy (Debian 7) 0.7.1-3: Code:
<IfModule mod_suphp.c>Code:
<IfModule mod_suphp.c>I think we need to think about it when Wheezy will becomes stable... For the SimplePie_Misc problem: Quote:
Quote:
|
Hi,
I guess all you have to do on debian 7 is to change the lines: <FilesMatch "\.ph(p3?|tml)$"> SetHandler application/x-httpd-suphp </FilesMatch> suPHP_AddHandler application/x-httpd-suphp to: <FilesMatch "\.ph(p3?|tml)$"> # SetHandler application/x-httpd-suphp </FilesMatch> # suPHP_AddHandler application/x-httpd-suphp |
Hello Till,
That's what I first done; But I don't like to modify conf. It's more easy to use apt-get install libapache2-mod-suphp/stable Anyway, it will be a point to watch when wheezy will be stable (and when a lot a people will try to upgrade...). ;) Thanks a lot for your help. Laurent. |
Quote:
Quote:
|
You go hard! But you did not completely wrong.
About this error: [ERROR] SimplePie_Parse_Date :: get () etc. You have an idea or should I open another post? |
| All times are GMT +2. The time now is 23:18. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.