The resume of my works is here:
http://www.opensurf.it/mediawiki_installation.txt




2009/11/6 Raffaele Recalcati <[email protected]>:
> So I did this curious test with wget.
> wget stops downloading the php exactly at 4096byte.
> I really don't know why.
> Downloading is not correct because wget uses https and so downloading
> means that the php answers me with an html page, but this pages stops
> at 4096 byte.
>
> I have insert some more messages, but they don't appear in html!!!!!
>
> if ($conf->diff3)
>        print "<li>Found GNU diff3: <tt>$conf->diff3</tt>.</li>";
> else
>        print "<li>GNU diff3 not found.</li>";
> print "prova\n";
> print "prova1\n";
>
>
>
> wget http://www.opensurf.it/w/index.php
> --2009-11-06 07:57:18--  http://www.opensurf.it/w/index.php
> Resolving www.opensurf.it... 195.182.210.166
> Connecting to www.opensurf.it|195.182.210.166|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 769 [text/html]
> Saving to: `index.php'
>
> 100%[=====================================================>] 769
>  --.-K/s   in 0s
>
> 2009-11-06 07:57:19 (73.4 MB/s) - `index.php' saved [769/769]
>
> recalc...@recalcati-laptop:/tmp$ rm index.php
> recalc...@recalcati-laptop:/tmp$ wget 
> http://www.opensurf.it/w/config/index.php
> --2009-11-06 07:57:30--  http://www.opensurf.it/w/config/index.php
> Resolving www.opensurf.it... 195.182.210.166
> Connecting to www.opensurf.it|195.182.210.166|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 41367 (40K) [text/html]
> Saving to: `index.php'
>
>  9% [====>                                                 ] 4,096
>  --.-K/s   in 0.02s
>
> 2009-11-06 07:57:31 (229 KB/s) - Connection closed at byte 4096. Retrying.
>
> --2009-11-06 07:57:32--  (try: 2)  http://www.opensurf.it/w/config/index.php
> Connecting to www.opensurf.it|195.182.210.166|:80... connected.
> HTTP request sent, awaiting response... 206 Partial Content
> Length: 41367 (40K), 37271 (36K) remaining [text/html]
> Saving to: `index.php'
>
>  9% [+++++                                                 ] 4,096
>  --.-K/s   in 0s
>
> 2009-11-06 07:57:32 (0.00 B/s) - Connection closed at byte 4096. Retrying.
>
>
> -----------------
>
>
>
> 2009/11/6 Raffaele Recalcati <[email protected]>:
>> This is the source code of html.
>> Very strange its end!
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" dir="ltr">
>> <head>
>>        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
>>        <meta name="robots" content="noindex,nofollow"/>
>>        <title>MediaWiki 1.15.1 Installation</title>
>>        <style type="text/css">
>>
>>               �...@import "../skins/monobook/main.css";
>>
>>                .env-check {
>>                        font-size: 90%;
>>                        margin: 1em 0 1em 2.5em;
>>                }
>>
>>                .config-section {
>>                        margin-top: 2em;
>>                }
>>
>>                .config-section label.column {
>>                        clear: left;
>>                        font-weight: bold;
>>                        width: 13em;
>>                        float: left;
>>                        text-align: right;
>>                        padding-right: 1em;
>>                        padding-top: .2em;
>>                }
>>
>>                .config-input {
>>                        clear: left;
>>                        zoom: 100%; /* IE hack */
>>                }
>>
>>                .config-section .config-desc {
>>                        clear: left;
>>                        margin: 0 0 2em 18em;
>>                        padding-top: 1em;
>>                        font-size: 85%;
>>                }
>>
>>                .iput-text, .iput-password {
>>                        width: 14em;
>>                        margin-right: 1em;
>>                }
>>
>>                .error {
>>                        color: red;
>>                        background-color: #fff;
>>                        font-weight: bold;
>>                        left: 1em;
>>                        font-size: 100%;
>>                }
>>
>>                .error-top {
>>                        color: red;
>>                        background-color: #FFF0F0;
>>                        border: 2px solid red;
>>                        font-size: 130%;
>>                        font-weight: bold;
>>                        padding: 1em 1.5em;
>>                        margin: 2em 0 1em;
>>                }
>>
>>                ul.plain {
>>                        list-style-type: none;
>>                        list-style-image: none;
>>                        float: left;
>>                        margin: 0;
>>                        padding: 0;
>>                }
>>
>>                .btn-install {
>>                        font-weight: bold;
>>                        font-size: 110%;
>>                        padding: .2em .3em;
>>                }
>>
>>                .license {
>>                        font-size: 85%;
>>                        padding-top: 3em;
>>                }
>>
>>                span.success-message {
>>                        font-weight: bold;
>>                        font-size: 110%;
>>                        color: green;
>>                }
>>                .success-box {
>>                        font-size: 130%;
>>                }
>>
>>        </style>
>>        <script type="text/javascript">
>>        <!--
>>        function hideall() {
>>
>>                var i = document.getElementById('mysql'); if (i) 
>> i.style.display='none';
>>                var i = document.getElementById('postgres'); if (i) 
>> i.style.display='none';
>>                var i = document.getElementById('sqlite'); if (i) 
>> i.style.display='none';
>>                var i = document.getElementById('mssql'); if (i) 
>> i.style.display='none';
>>                var i = document.getElementById('ibm_db2'); if (i) 
>> i.style.display='none';
>>        }
>>        function toggleDBarea(id,defaultroot) {
>>                hideall();
>>                var dbarea = document.getElementById(id);
>>                if (dbarea) dbarea.style.display = (dbarea.style.display == 
>> 'none')
>> ? 'block' : 'none';
>>                var db = document.getElementById('RootUser');
>>                if (defaultroot) {
>>                        if (id == 'mysql') { db.value = 'root';}
>>                        if (id == 'postgres') { db.value = 'postgres';}
>>                        if (id == 'sqlite') { db.value = '';}
>>                        if (id == 'mssql') { db.value = 'administrator';}
>>                        if (id == 'ibm_db2') { db.value = 'db2admin';}
>>                }
>>        }
>>        // -->
>>        </script>
>> </head>
>>
>> <body>
>> <div id="globalWrapper">
>> <div id="column-content">
>> <div id="content">
>> <div id="bodyContent">
>>
>> <h1>MediaWiki 1.15.1 Installation</h1>
>>
>>
>> <ul>
>>        <li>
>>                <b>Don't forget security updates!</b> Keep an eye on the
>>                <a 
>> href="http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce";>low-traffic
>>                release announcements mailing list</a>.
>>        </li>
>>
>> </ul>
>>
>>
>> <h2>Checking environment...</h2>
>> <p><em>Please include all of the lines below when reporting
>> installation problems.</em></p>
>> <ul class="env-check">
>> <li>PHP 5.2.6 installed</li>
>> <li>Found database drivers for:  MySQL  PostgreSQL  SQLite</li>
>>        <li><b class='error'>Warning:</b> <strong>PHP's
>>        <a href='http://www.php.net/features.safe-mode'>safe mode</a> is
>> active.</strong>
>>
>>        You may have problems caused by this, particularly if using image 
>> uploads.
>>        </li>
>>        <li>PHP server API is apache2handler; ok, using pretty URLs
>> (<tt>index.php/Page_Title</tt>)</li>
>> <li>Have XML / Latin1-UTF-8 conversion support.</li>
>> <li>Session save path
>> (<tt>/var/www/vhosts/opensurf.it/httpdocs/w/tmp</tt>) appears to be
>> valid.</li><li>PHP's <tt>memory_limit</tt> is 32M. </li>
>>
>> <li>Couldn't find <a href="http://turck-mmcache.sourceforge.net";>Turck
>> MMCache</a>,
>>                <a 
>> href="http://eaccelerator.sourceforge.net";>eAccelerator</a>,
>>                <a href="http://www.php.net/apc";>APC</a> or <a
>> href="http://trac.lighttpd.net/xcache/";>XCache</a>;
>>                cannot use these for object caching.</li><li>GNU diff3 not 
>> found.</li>
>>
>>
>>
>>
>> 2009/11/5 Raffaele Recalcati <[email protected]>:
>>> http://www.opensurf.it/w/config/index.php
>>> it is better.
>>> now tmp is ok.
>>>
>>> but it doesn't go to the end of config check.
>>>
>>> last week I had modified
>>> install-utils.inc
>>> like this:
>>> function mw_get_session_save_path() {
>>> //      $path = ini_get( 'session.save_path' );
>>> //      $path = substr( $path, strrpos( $path, ';' ) );
>>>        $path = '/var/www/vhosts/opensurf.it/httpdocs/media/tmp';
>>>        return $path;
>>> }
>>>
>>> to obtain the same result in the correct way that your has told me to do 
>>> now,
>>> but after it I had the problem that my print are not complete.
>>> I mean that if I comment the print "GNU diff3 not found" in the php
>>> code I can see the next ....
>>> If I comment next one I can see the next ...
>>> and so on.
>>> Something about /ul    ?
>>>
>>>
>>>
>>>
>>> 2009/11/5 Platonides <[email protected]>:
>>>> Raffaele Recalcati wrote:
>>>>> Checked the requirements using phpinfo
>>>>> http://www.opensurf.it/_phpinfo.php
>>>>> ------------------
>>>>> PHP Version 5.2.6  instead of recommended 5.1
>>>>> PCRE: ok
>>>>> SPL: ok
>>>>>
>>>>> Loaded all mediawiki 1.15.1 in /w/ dir using gftp
>>>>> Set, by gftp, config dir to chmod 777
>>>>> I have this result  http://www.opensurf.it/w
>>>>>
>>>>> The /tmp dir is not in a correct place, because my user on the server
>>>>> has not write permisison on the server.
>>>>> I think $IP is the absolute path on the server, but someone told me is
>>>>> written automatically.
>>>>> I need an help because I really like to install on my server the
>>>>> mediawiki, but I'm blocked.
>>>>>
>>>>> Thx
>>>>
>>>>
>>>> Your original error message is:
>>>> Warning: Your session.save_path value (/tmp) appears to be invalid or is
>>>> not writable. PHP needs to be able to save data to this location for
>>>> correct session operation.
>>>>
>>>> The problem is not being unable to write on /tmp, but being unable to
>>>> write on /tmp *and having that configured as the session path*.
>>>>
>>>> Not being able to write on the session path, your users won't be able to
>>>> keep logged in.
>>>> This is a configuration problem of php and I recommend you bring the
>>>> issue to the server administrator.
>>>>
>>>> You may be able to work around that adding ini_set( 'session.save_path',
>>>> '/var/www/vhosts/opensurf.it/httpdocs/media/tmp'); at the top of index.php
>>>>
>>>> The problem is probably due to an interaction of /tmp with php safe mode
>>>> (a configuration option discouraged even by the php team).
>>>> In case sessions do work, we the detection on mediawiki should be fixed.
>>>>
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> [email protected]
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>
>>
>

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to