New installation of PHP 5.0.4 on Windows 2003 server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi to all:

I have manually installed PHP 5.0.4 on a Windows 2003 server with IIS 6
installed, using ISAPI.

Working with the systems administrator, we set up web site named
phptest.  This points to the directory c:\php\www  where the .php and
.html pages are stored.

I am wanting to use PHP to inquiry/update the Windows Active Directory
(i.e. our LDAP server), therefore, I have uncommented
"extension=php_ldap.dll" in the php.ini file.

Other changes to the php.ini of which I moved into c:\windows:

doc_root = c:\php\www
   and
extension_dir = "c:\php\ext"

The problems are:  

1. LDAP library is not being loaded.
                

2. When index.php which contains: 

<html>
<h1>Test PHP install and LDAP load </h1>

<?php
phpinfo();
?>

runs, the LDAP library is not being shown BUT when I execute "php -i" at
a DOS command prompt, the OpenLDAP library is being loaded.

3.  Another thing I found different between the index.php and php -i
executions is:
         in the php -i the doc_root displays c:\php\www and
extension_dir displays c:\php\ext BUT
         in the index.php   doc_root displays No value and extension_dir
does not display the c:\php\ext value.

Does anyone know what I may have missed in installing PHP on the windows
2003 server?  Need to be able to use the LDAP calls.

Thanks for your assistance.

Walter Harris
NC School of the Arts
Office Phone 336 770-1454
Cell Phone 336 462-6668
-----Original Message-----
From: Taksam [mailto:taksam_tong@xxxxxxxxx] 
Sent: Wednesday, July 27, 2005 1:00 PM
To: php-windows@xxxxxxxxxxxxx; php-general@xxxxxxxxxxxxx
Subject: [PHP-WIN] can I use Apache v 2 with PHP?


Hello everybody: 



I finally installed Apache 1.3.3 and PHP 5.0.4 engine and made my first
PHP page and it works! thanks for your help! And didn't use an IDE, just
UltraEdit :) but, I WILL use and IDE someday anyway.



Now, my question is: can I use Apache version 2 with PHP? And, even if I
can use it in my development environment... is it safe to use Apache
2+PHP in a production environment?



Fist of all, thanks for your answers, I am new with PHP, but I've been
using Java for the last 5 years, so, it's very interesting to compare
both.



Tak (learning PHP in turbo-mode)


		
---------------------------------
 Start your day with Yahoo! - make it your home page 
---------------------------------------------- 
This message has been scanned for viruses and
dangerous content and is believed to be clean.
----------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux