Installing MediaWiKi on ISPC

Discussion in 'Installation/Configuration' started by Morons, Jun 12, 2007.

  1. Morons

    Morons Member

    I have installed mediawiki by means of
    Code:
    apt-get install mediawiki
    on my ISPConfig server but have some problems running the website.
    In the file /etc/apache2/conf.d/mediawiki1.7.conf i have
    Code:
    Alias /mediawiki /var/lib/mediawiki1.7
    
    <Directory /var/lib/mediawiki1.7/>
            Options +FollowSymLinks
            AllowOverride All
            order allow,deny
            allow from all
    </Directory>
    
    # some directories must be protected
    <Directory /var/lib/mediawiki1.7/config>
            Options -FollowSymLinks
            AllowOverride None
    </Directory>
    <Directory /var/lib/mediawiki1.7/upload>
            Options -FollowSymLinks
            AllowOverride None
    </Directory>
    Therefore my logic sais ALL my webs should see this http://domain.tld/mediawiki URL but only those that have PHP Scripts: ON and PHP Safe Mode: ON will be able to use it. Nope I get
    Code:
    Warning: Unknown: open_basedir restriction in effect. File(/var/lib/mediawiki1.7/index.php) is not within the allowed path(s): (/var/www/web2/) in Unknown on line 0
    Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    Fatal error: Unknown: Failed opening required '/var/lib/mediawiki1.7/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
    instead - messing around I sometime get the content of the php page displayed instead of the php executed!
    Can someone help me out of m misery with some knowledge please.:cool:
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You must switch off PHP Safe Mode for your web sites.
     

Share This Page