Posted by johnfugazi on February 2, 2007 at 4:04pm
I am evaluating both Plone and Drupal. My main goal is single sign-on for an Active Directory environment. I know that Drupal with IIS can do it with WebAuth module. If anyone knows a way to get Plone to do this, please let me know.
On with the install of Drupal...
Installing Drupal 5.1, PHP 5.2 and MySQL 5.0.2 on IIS environment
- Install IIS (I am using Windows XP)
- Go to "Control Panel" and then "Add or Remove Programs"
- Click the "Add/Remove Windows Components" button
- Click "Internet Information Services"
- Click the "Next" button to install (you might need your Windows CD)
- http://ftp.osuosl.org/pub/drupal/files/projects/drupal-5.1.tar.gz
- http://us2.php.net/get/php-5.2.0-Win32.zip/from/this/mirror
- http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.27-win32.zip/from...
***Note: This is not the installer.
- In c:\Inetpub\wwwroot\Drupal", create another folder called "files".
- Clicking "Start" and then right-click "My Computer" and select "Properties"
- Select the "Advanced" tab
- Click the "Environment Variables" button at the lower left.
- When the "Environment Variables" window opens, go to the second text box and scroll down until you see "Path". Select "Path" and click the "Edit" button.
- In the "Variable Value" text box, go to the end and type ";C:\PHP5"
***Note: do not forget the semicolon at the beginning
- On line 93, change the mysql statement to your database settings you just created.
- When you have saved the file, right-click the "settings.php", select "Properties" and change it to "Read-Only".
- Copy from "c:\PHP5" – "libmysql.dll", "php5ts.dll" and "php.ini-recommended" to "c:\windows"
- Go to "c:\windows" and rename "php.ini-recommended" to "php.ini"
- Edit "php.ini" located in "c:\windows"
- Go to line 520 and change it to read
extension_dir = "c:\php5\ext" - Change line 709 and 713 to fit your SMTP server and user (remove the semicolon in front to uncomment).
- Uncomment lines 631, 639 and 651 (remove the semicolon in front to uncomment). The extensions should be for "php_mbstring.dll", "php_gd2.dll" and "php_mysql.dll".
- Save and exit the file.
- "Filter Properties" window will open. Type "PHP" for the filter name and browse "C:\PHP5\" for the executable. Should read "C:\PHP5\php5isapi.dll"
- After clicking the "OK" button, select the "Home Directory" tab. Toward the bottom change the "Execution Permissions" to read "Scripts and Executables"
- Click the "Configuration..." button and a window called "Application Configuration" will open. Click the "Add" button. In the "Executable" field, browse to find "php5isapi.dll" again ("C:\PHP5\php5isapi.dll"). In the "Extension" type ".php" (do not forget the period "."). If the "OK" button is grayed out, just click in the "Executable" box and back to the "Extension" box until it shows up. This is a Windows problem. http://support.microsoft.com/kb/317948
- Click "OK" to each of the windows until you are back to the "Computer Management" window.
<?php
phpinfo();
?>- http://localhost/test.php
- This should bring up your php information. If you scroll down, you should see a MySQL, GD and MBString section that we added.
This should be it. Have fun.