I am wanting to experiment with modx on my current site. The installation instructions say to install all files in the root directory. The problem is one of the files is index.php. My homepage is already index.php. How do I install modx without overwriting my current site? Thanks.
-Steve
I’m afraid MODx needs index.php to work since it dispatces all requests through there. Your best bet is to put MODx in a subdirectory. It will work fine there and won’t interfere with your current site at all. Friendly URLs are a little trickier in a subdirectory (not much), but if you’re just playing around, you won’t need to turn them on.
Great thanks guys! I was not sure if it would still function inside of a sub-directory.
Quote from: steve.mullen at Oct 22, 2009, 06:40 PM
Great thanks guys! I was not sure if it would still function inside of a sub-directory.
It will definitely work fine, you’ll just have to do a little more typing to get to the site.
Basically, you just install XAMPP, put the MODx files in the htdocs directory (or one below it if you might have more than one install) and type:
http://localhost[/subdir]/install
in the browser address bar.
The XAMPP install is also fairly simple and will install PHP, MySQL, and an Apache server on your local machine.
Here’s the link for XAMPP:
http://www.apachefriends.org/en/xampp.html
Thanks Bob!
I ended up using your tutorial as well as the wiki to finally download and install Modx on localhost. It was great help.
Glad you got it working. Welcome to MODx.