Re: PHP/Apache configuration for Win NT

From: Date: Tue, 21 Aug 2001 16:28:48 +0000
Subject: Re: PHP/Apache configuration for Win NT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63732@lists.php.net to get a copy of this message
You appear to have a typo in your httpd.conf: Action application/x-httpd-php /Php/php.exe should be as follows: (note the ") Action application/x-httpd-php "/Php/php.exe Hope that helps, Neil paul.eaton@globalgraphics.com wrote: > *************************************************************** > This message was virus checked with: SAVI 3.48 > last updated 14th August 2001 > *************************************************************** > > Hi, > > Here's the scenario, > > I've installed and am running mySQL on my machine > I've installed Apache and have ran it and seen the page in IE confirming correct > setup. > > I've installed PHP4 from a CGI binary distribution at the following location > > c:\Php\ > > and have been following a tutorial on WebMonkey in order to configure it. > > As instructed I have inserted the following lines in my httpd.conf file > > ScriptAlias /php/ "C:/Php/" > > AddType application/x-httpd-php .php .phtml .html > AddType application/x-httpd-php-source .phps > > Action application/x-httpd-php /Php/php.exe > > DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs" > > The tutorial also instructed me to move the php4ts.dll to the following place > > c:\Winnt\system > > which I have done > > After rebooting my machine I started IE and pointed it at the apache server > again. > This time it produced an error as follows (from the log) > > [Tue Aug 21 14:54:47 2001] [error] [client 172.16.18.149] File does not > exist: > c:/program files/apache group/apache/htdocs/php/php.exe/index.html > > As instructed I created the filephpinfo.php in the Document root and pointed the > browser at it. > > This yielded the following error message: > > [Tue Aug 21 14:54:53 2001] [error] [client 172.16.18.149] File does not > exist: > c:/program files/apache group/apache/htdocs/php/php.exe/phpinfo.php > > Can anyone tell me where I am going wrong here please? > > Any suggestions gratefully received. > > Thanks, > > Paul Eaton. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- -------------------------------- Email: neil.freeman@asa.co.uk neil_freeman@yahoo.com --------------------------------

« previous php.general (#63732) next »