Current time: 11-27-2024, 09:02 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[erledigt] falsche php.ini bei nur einer Domain
Author Message
namdab Offline
Junior Member
*

Posts: 32
Joined: Apr 2009
Reputation: 0
Post: #3
RE: falsche php.ini bei nur einer Domain
Hier den vHost auszug aus der /etc/apache2/sites-enabled/@ispcp.conf

Code:
# httpd [domain.tld] dmn entry BEGIN.
<VirtualHost 213.202.247.145:80>

    <IfModule suexec_module>
           SuexecUserGroup vu20XX vu20XX
    </IfModule>

    ServerAdmin     webmaster@domain.tld
    DocumentRoot    /var/www/virtual/domain.tld/htdocs

    ServerName      domain.tld
    ServerAlias     www.domain.tld domain.tld *.domain.tld

    Alias /errors   /var/www/virtual/domain.tld/errors/

    RedirectMatch permanent ^/ftp([\/]?)                http://admin.domain2.tld/ftp/
    RedirectMatch permanent ^/pma([\/]?)                http://admin.domain2.tld/pma/
    RedirectMatch permanent ^/webmail([\/]?)    http://admin.domain2.tld/webmail/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser domain.tld
    </IfModule>

    # httpd awstats support BEGIN.

   # httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/cgi-bin/
    <Directory /var/www/virtual/domain.tld/cgi-bin>
AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    <Directory /var/www/virtual/domain.tld/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu20XX -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/domain.tld/
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory /var/www/virtual/domain.tld/htdocs>
            FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
</Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    Include /etc/apache2/ispcp/domain.tld.conf

</VirtualHost>
# httpd [domain.tld] dmn entry END.

# httpd [domain.tld] dmn group entry END.

ich hoffe mal das es die richtigen Infos sind die du gefordert hast.

Kannst du mir vielleicht sagen wo genau der Pfad zu der zu ladenen php.ini der jeweiligen Webseite eingetragen ist?
Würds dann einfach manuell eintragen.
Danke schön.
08-28-2009 06:20 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: falsche php.ini bei nur einer Domain - namdab - 08-28-2009 06:20 AM

Forum Jump:


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