php-windows Digest 1 Apr 2002 15:15:38 -0000 Issue 1072

Topics (messages 12858 through 12859):

Error - (include_path='c:\php4\pear') in Unknown on line 0
        12858 by: Aleem

Configuring securely in IIS5
        12859 by: Eric Gentry

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I am getting the wierdest PHP error. I couldn't find anything on the web
regarding this error. The exact error is as follows:

[01-Apr-2002 02:45:41] PHP Warning:  Failed opening
'/apache/htdocs/php.php' for inclusion (include_path='c:\php4\pear') in
Unknown on line 0

I have put up online copies of my httpd.conf and php.ini files up at:

http://one.com.pk/tmp/httpd.conf.txt
http://one.com.pk/tmp/php.ini

I'm on a Win2K machine, running PHP v4.1.2. I was running 4.0.6 and then
ran the windows installer version of 4.1.2 but when that failed I got
the zipped version, and installed fresh in c:\php

I'm running Apache 1.3.42 and even installed the latest MDA Components
(2.7 RTM)

The error occurs even on a simple php page with the following: <?
phpinfo() ?> ( http://one.com.pk/php.php )

The page appears blank and logs an error to the log file as pasted on
top of this mail. I have thus far tried all variations in the install
guide, copied php4ts and others from php/dll into the system32 folder,
copied the php.ini in system32, etc. I don’t understand why it's giving
me the same error even after a fresh install (I had the Zend Scripting
Engine installed before installing 4.1.2 but that shouldn't have left
any legacy files either because I complete remoed the php folder and
installed over... my guess is it has something to do with apache)

tia,
Aleem

--- End Message ---
--- Begin Message ---
I have been able to install php and get it running on our test server
running IIS5. Everything is going fine, but now I am beginning to ponder
the question, how do I secure this when it goes live?

I have read through the installation documentation, and read the
security
chapter of the php manual that I downloaded from the php.net website.

Various queries to Google have been unproductive, so I thought I may
check
here.

Now, I am not talking about script internals security (that will be
handled
more by our development team), just mainly how to configure php on the
server so that I don't have people tearing the darn thing down when this
site goes live. We are using the ISAPI module.

I have seen numerous tidbits on Apache, but we are going to be using
IIS.

Can anyone point me to a book, FAQ, examples, anything to set me on the
way?

Thanks a ton


--- End Message ---

Reply via email to