Current time: 11-24-2024, 04:45 AM Hello There, Guest! (LoginRegister)


Post Reply 
Gentoo Installation
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #15
RE: Gentoo Installation
(10-22-2008 08:59 AM)Kev Wrote:  Hi, here is another Kevin using isp-control with gentoo Smile

First: nice howto so far, I'm just trying to install RC6 on my openVZ gentoo machine.(inside of a guest)
I found a package for the pearl lib, do you mean:
Code:
dev-perl/Net-LibIDN [ Masked ]
      Latest version available: 0.11
      Latest version installed: [ Not Installed ]
      Size of files: 13 kB
      Homepage:      http://search.cpan.org/search?query=Net-LibIDN&mode=dist
      Description:   Perl bindings for GNU Libidn
      License:       || ( Artistic GPL-2 )
I think that should do the work without downloading and compiling manually.
edit:
I've just found another thing, in the article is:
Code:
Apache doesn't by default put 'index.php' in the DirectoryIndex list, so we need to modify /etc/apache2/conf.d/00_default_settings.conf to change:
But it should be:
Code:
Apache doesn't by default put 'index.php' in the DirectoryIndex list, so we need to modify /etc/apache2/modules.d/00_default_settings.conf to change:
edit2:
there is written:
Code:
edit /etc/proftpd/proftpd.conf comment out line 68. and uncomment everything after and including line 118 and also change 119 to ON
But the line numbers doesn't seem to be correct anymore. Code/Config examble with the lines to modify will be useful to avoid this in the future.

Other problems:
admin.myhost will not show the login interface, instead of that it prints out the index.php file. It seems that the fcgid will not send the php file to the php interpreter. Any idea why? Do I need to enable something that is not mentioned in the howto to get fastcgi php support working?

Thanks for any response!

Kev


Kevin,

Thanks for the feedback. I got the first round of edits done a few days back, but forgot to post back to this thread.

As for the 2nd round, make sure you have php compiled with fastcgi support, make sure your conf.d/apache2 file has -D FCGID in the options, make sure you have mod_fcgid installed, restart apache. If that doesn't work still, then there is likely something wrong with the module configuration, or with the vhost.

Here is my current 20_mod_fcgid.conf (maybe i need to update the howto).

Code:
<IfDefine FCGID>
  LoadModule fcgid_module modules/mod_fcgid.so
  SocketPath /var/run/fcgidsock
  SharememPath /var/run/fcgid_shm

  AddHandler fcgid-script .php .php5
  IPCConnectTimeout 90
  IdleTimeout 3600
  ProcessLifeTime 7200
  MaxProcessCount 100
  DefaultMinClassProcessCount 3
  DefaultMaxClassProcessCount 10
  IPCCommTimeout 300
  BusyTimeout 300
  MaxRequestsPerProcess 500
  ZombieScanInterval 5
</IfDefine>


Here is the key section from my 00_master.conf

Code:
...
<IfModule suexec_module>
           SuexecUserGroup vu10000 vu10000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
...


Post back and let me know if that helps, if not then i'll take a closer look at any changes i've made in those two apache conf files.

Thanks again,
Pgentoo
10-24-2008 03:54 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Gentoo Installation - kevin666 - 03-04-2008, 06:06 PM
RE: Gentoo Installation - gOOvER - 03-04-2008, 06:13 PM
RE: Gentoo Installation - kevin666 - 03-04-2008, 06:29 PM
RE: Gentoo Installation - Zothos - 03-05-2008, 01:59 AM
RE: Gentoo Installation - Zothos - 03-05-2008, 04:38 AM
RE: Gentoo Installation - kevin666 - 03-05-2008, 06:04 AM
RE: Gentoo Installation - Zothos - 03-06-2008, 04:06 AM
RE: Gentoo Installation - kevin666 - 03-14-2008, 06:24 PM
RE: Gentoo Installation - gOOvER - 03-06-2008, 05:07 AM
RE: Gentoo Installation - Zothos - 03-06-2008, 05:12 AM
RE: Gentoo Installation - gOOvER - 03-06-2008, 05:48 AM
RE: Gentoo Installation - pgentoo - 08-10-2008, 06:32 AM
RE: Gentoo Installation - kevin666 - 08-10-2008, 09:28 AM
RE: Gentoo Installation - Kev - 10-22-2008, 08:59 AM
RE: Gentoo Installation - pgentoo - 10-24-2008 03:54 AM
RE: Gentoo Installation - Kev - 10-28-2008, 08:44 AM
RE: Gentoo Installation - pgentoo - 10-28-2008, 08:59 AM
RE: Gentoo Installation - Kev - 10-28-2008, 09:12 AM
RE: Gentoo Installation - biologist - 03-15-2009, 11:49 PM
RE: Gentoo Installation - pgentoo - 03-16-2009, 08:43 AM
RE: Gentoo Installation - biologist - 03-16-2009, 08:46 AM
RE: Gentoo Installation - pgentoo - 03-22-2009, 04:12 AM
RE: Gentoo Installation - biologist - 03-22-2009, 04:20 AM
RE: Gentoo Installation - pgentoo - 03-23-2009, 04:20 PM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)