Thanks for the response.
I did realize that however, the Mediawiki issue seemed to be creating
the "php" issues...
Finally after a lot of digging I managed to figure what the problem was
and here is the solution:
The first thing was to disable to "Cache" from LocalSettings.php:
## Shared memory settings
#$wgMainCacheType = CACHE_ACCEL;
#$wgMemCachedServers = array();
This utilizes the apc.so module and since it isn't available for php 5.6
shouldn't be activated. The apc.so errors go away after commenting this out!
The second thing I found was that I needed to set this:
require_once( "$IP/skins/Vector/Vector.php" );
in LocalSettings.php otherwise the skin wasn't found unlike previously??
The sqlite issues are just due to the wrong version of php being used:
php53-sqlite-5.3.29_2 The sqlite shared extension for php
php56-pdo_sqlite-5.6.4_1 The pdo_sqlite shared extension for php
php56-sqlite3-5.6.4_1 The sqlite3 shared extension for php
no more sqlite port for php56, so will need to be removed however,
sqlite3 just needed to be switched from php53-sqlite3 over to php56-sqlite3.
Now all works fine :-)
Regards,
Kaya
On 01/18/2015 08:13 PM, Max Semenik wrote:
That's a problem with your PHP.
On Sun, Jan 18, 2015 at 7:51 AM, Kaya Saman <kayasaman(a)gmail.com> wrote:
Hi,
I've been trying to upgrade from 1.22 to 1.24 however, it seems that the
new version is trying to do a "fresh" install?
I have followed the "official" guide:
http://www.mediawiki.org/wiki/
Manual:Upgrading
and also in the meantime upgraded from php 5.3 to 5.6, base is on Nginx.
If I try to run the php update script I get these errors:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20131226-zts/apc.so' - Cannot open
"/usr/local/lib/php/20131226-zts/apc.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20131226-zts/sqlite3.so' - Cannot open
"/usr/local/lib/php/20131226-zts/sqlite3.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20131226-zts/sqlite.so' - Cannot open
"/usr/local/lib/php/20131226-zts/sqlite.so" in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
PHP Warning: Module 'pgsql' already loaded in Unknown on line 0
PHP Warning: Module 'gettext' already loaded in Unknown on line 0
PHP Warning: Module 'curl' already loaded in Unknown on line 0
PHP Warning: Module 'exif' already loaded in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'imap' already loaded in Unknown on line 0
PHP Warning: Module 'openssl' already loaded in Unknown on line 0
PHP Warning: Module 'intl' already loaded in Unknown on line 0
PHP Notice: Use of undefined constant NS_MediaWiki - assumed
'NS_MediaWiki' in /usr/local/www/www/LocalSettings.php on line 162
Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed
debugging information.
I should be able to sort out the sqlite issues but apc.so doesn't work
with php version 5.5 or 5.6 and so I'm not entirely sure what needs them..
then there's the NS_Mediawiki issue too.
Any help or suggestions would be highly appreciated.
Many thanks.
Kaya
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l