Page MenuHomePhabricator

failed to open stream: No such file or directory
Closed, ResolvedPublic


Author: neil

Having seemingly performed a successful install (installation result page
below) I get the following result when I access my wiki url (as per url
field above):

Warning: Unknown
ge): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed
opening 'e:\domains\t\\user\htdocs\wiki\index.php
\Main_Page' for inclusion (include_path='.;c:\php4\pear') in Unknown on
line 0

The url reported in the browser (IE6SP2) has changed to:

The output of the installation was:

• PHP 4.3.2: ok
• PHP server API is isapi; unknown; using pretty URLs
(index.php/Page_Title), if you have trouble change this in
• Have XML / Latin1-UTF-8 conversion support.
• PHP is configured with no memory_limit.
• Have zlib support; enabling output compression.
• Neither Turck MMCache nor eAccelerator are installed, can't use
object caching functions
• GNU diff3 not found.
• Couldn't find GD library or ImageMagick; image thumbnailing
• Installation directory:
• Script URI path: /wiki
• Warning: $wgSecretKey key is insecure, generated with mt_rand().
Consider changing it manually.
• PHP is linked with old MySQL client libraries. If you are using a
MySQL 4.1 server and have problems connecting to the database, see for help.
• Trying to connect to MySQL on as root...
o MySQL error 1045: Access denied for user: 'root@'
(Using password: NO)
• Trying regular user... ok.
• Connected to 4.0.25-standard; enabling MySQL 4 enhancements
• Warning: $wgSecretKey key is insecure, generated with mt_rand().
Consider changing it manually.
• Database reynol4 exists
• Creating tables... using MySQL 3/4 table defs... done.
• Initializing data...
• Created sysop account admin.
• Initialising "MediaWiki" namespace...
• Clearing message cache...Done.
• Creating LocalSettings.php...
Installation successful! Move the config/LocalSettings.php file into the
parent directory, then follow this link to your wiki.

I can confirm that I moved the LocalSettings.php file to the parent
directory (moved, not copied)

I hope you can help. I'm keen to get this working.

Kind Regards

Version: 1.5.x
Severity: blocker
OS: Windows Server 2003
Platform: PC



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:58 PM
bzimport set Reference to bz4082.
bzimport added a subscriber: Unknown Object (MLST).

neil wrote:

According to the setup outpu - as per above - PHP server API is ISAPI so
pretty URLs were enabled. Have noe changed to ugly URLs and it works!

Within LocalSettings.php...

If using PHP as a CGI module, use the ugly URLs

$wgArticlePath = "$wgScript?title=$1";