After spending close to a week trying to make Drupal (and a few other PHP CMS/DMS applications) run on Windows XP Server here is how I finally managed to get everything working correctly (Drupal, 4.6.3, Apache 2.0.54, PHP 4.4.0, MSSQL 4.1.14, Windows XP Server ).
1) Use PHP4 -- PHP5 has out of the box just doesn't work with Drupal (or Mambo) on Windows XP Server (I tested on Linux -- works fine with PHP5).
2) If you are using MySql 4.1x you need to run the following command against the mysql (not your drupal db) database:
The procedure I followed is what has been prescribed on the drupal site and in the forums:
1. Copy over the files
2. Dump and recreate the database
3. Change the settings.php file to reflect the new database settings.
- 3rd party webserver; I only have a general user account with public_html and public_html/cgi-bin directories.
- PHP code can only be served from public_html/cgi-bin using a compiled php4.cgi binary.
- Non-executable content (eg. css, jpg, js etc.) cannot be served from the cgi-bin directory
- Server: Zeus
- OS: UNIX
Ok. I have installed Drupal it seems to work for the most part.
But I have run into the following error:
I get this error when I go from the content type section:
Fatal error: Only variables can be passed by reference in /Library/Apache2/htdocs/drupal/modules/node.module on line 713
And I get a similar error when I try and change the Primary and secondary links in the header:
Fatal error: Only variables can be passed by reference in /Library/Apache2/htdocs/drupal/modules/system.module on line 649