I’m having a problem setting up virtual hosts using the Xampp lite package, in order to build a local development version of sites on my windows XP computer. I can get textpattern to run if I set up Apache and MySql myself. But I’m trying to get the server running ‘propperly,’ so I can develop other sites as well.
I’ve read many different articles, one specifically on how to set up xampp for textpattern. I’m still running into walls. Any help would be appreciated.
Heres the setup info:
Virtual hosts set-up in httpd.conf:
Options Indexes FollowSymLinks ExecCGI
Options Indexes FollowSymLinks
#Override default restrictive access control setting for Apache 2.2
Allow from All
The resulting effect on the xampp lite setup is:
DNS setup in Host doc:
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 22.214.171.124 rhino.acme.com # source server
# 126.96.36.199 x.acme.com # x client host
, which hosts an un installed version of textpattern (site root) returns:
Warning: include(/home/path/to/textpattern/dir/publish.php) [function.include]: failed to open stream: No such file or directory in C:\xampplite\htdocs\testing\testpattern\index.php on line 27
Warning: include() [function.include]: Failed opening '/home/path/to/textpattern/dir/publish.php' for inclusion (include_path='.;C:\xampplite\php\pear\') in C:\xampplite\htdocs\testing\testpattern\index.php on line 27
Fatal error: Call to undefined function textpattern() in C:\xampplite\htdocs\testing\testpattern\index.php on line 28
(install root) returns:
What the hell have I done wrong, xampp was meant to be the easy option, I should have know better. I’m only a lowly designer so try and use small words.