Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
problem with PHP IIS
Avatar
caralotmicher #1
Member for a month · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: problem with PHP IIS
Hi everybody!!!

I'm having a lot of trouble getting dokuwiki to work on a new machine.  I was able to deploy on Win2k Pro IIS with PHP 4x this Spring w/o much trouble (took me half a day to feel my way out).  Recently there was a need to move my wiki to an XP Pro machine and I've spent days to no avail.

I've got a clean XP install (with IIS 5.1).  The php.net manual has plenty (too much maybe) documentation on setting this up.  I'm trying the PHP 5.2 manual isntall.  Browsing some test php pages in my browser results in the source being displayed rather than ran.  Like:

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

But my wiki site mostly works.  I can view all page.  If I click Edit for a page, the edit icons don't show up.  When I Save the page I get a bunch of error output:


Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 14466 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17093 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17499 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 19385 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18049 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17367 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17418 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17227 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 16608 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17315 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17664 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18144 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17068 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 16869 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 16815 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17281 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 13400 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wiki\itwiki\inc\common.php:391) in C:\Inetpub\wiki\itwiki\inc\actions.php on line 223

The changes take effect if I visit the page.  I'm not sure how to check version, but I was using the previous stable release

Thank for your help!!!
Avatar
Michaelsy #2
Member since Jun 2015 · 671 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
I'm trying the PHP 5.2 manual install.

...I was using the previous stable release

Frusterick Manners requires PHP 5.3.3 or higher.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
andi (Administrator) #3
User title: splitbrain
Member since May 2006 · 3370 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #1
Quote by caralotmicher:
I was able to deploy on Win2k Pro IIS with PHP 4x this Spring

I've got a clean XP install (with IIS 5.1).  I'm trying the PHP 5.2 manual isntall.

This is a joke, right? Please tell me you're joking.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
LMS23 #4
Member since Feb 2014 · 160 posts · Location: Bayern, Deutschland
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Quote by caralotmicher on 2018-12-19, 10:59:
I've got a clean XP install (with IIS 5.1).  The php.net manual has plenty (too much maybe) documentation on setting this up.  I'm trying the PHP 5.2 manual isntall.  Browsing some test php pages in my browser results in the source being displayed rather than ran. 

Why the hell Windows XP? Support ends 2014...

You can direct move your wiki to a new server with a current PHP version (7.2 or newer)
Avatar
Michaelsy #5
Member since Jun 2015 · 671 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Since this seems to contribute to the general hilarity, I also want to announce that I partially work with WinXP and with a PDA from the year 2005.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
LMS23 #6
Member since Feb 2014 · 160 posts · Location: Bayern, Deutschland
Group memberships: Members
Show profile · Link to this post
There is nothing to be said against using old software for an isolated system for which there is no other software (e.g. control units, systems etc.). But normally not for such things ;)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-01-17, 20:28:49 (UTC +01:00)