Re: [PHP] configuring php and apache

2002-01-29 Thread Neil Freeman

What problems/errors are you getting?

Place the following code into a .php file under htdocs:

?php

phpinfo();

?

and then enter something like http://localhost/xxx.php into your browser.

Neil

liz lynch wrote:

 hi all,
 i have installed php and apache on my home computer..i am running xp home edition.
 the problem is that the php and apache are not working together. what i have done so 
far:

 1. configured the httpd.conf file by adding the following lines:
 ScriptAlias /php/ c:/php/
 AddType application/x-httpd-php .php .phtml
 Action application/x-httpd-php /php/php.exe

 2.moved the php4ts.dll file to windows\system32note i do not have a directory 
called winnt

 3.configured the php.ini file(located in windows dir)so that:

 extension_dir = c:\windows\system32//points to where i located the 
php4ts.dll file

 doc_root = c:\program files\apache group\apache\htdocs//points to the document 
root file. i will be storing my files in the htdocs dirrectory.

 what am i doing wrong

 ***
  This message was virus checked with: SAVI 3.53 Jan 2002
  last updated 28th January 2002
 ***

--

 Email:  [EMAIL PROTECTED]
 [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] configuring php and apache

2002-01-29 Thread Neil Freeman

Oh yeah... extension_dir should also have a trailing '\' I believe.

Neil

liz lynch wrote:

 hi all,
 i have installed php and apache on my home computer..i am running xp home edition.
 the problem is that the php and apache are not working together. what i have done so 
far:

 1. configured the httpd.conf file by adding the following lines:
 ScriptAlias /php/ c:/php/
 AddType application/x-httpd-php .php .phtml
 Action application/x-httpd-php /php/php.exe

 2.moved the php4ts.dll file to windows\system32note i do not have a directory 
called winnt

 3.configured the php.ini file(located in windows dir)so that:

 extension_dir = c:\windows\system32//points to where i located the 
php4ts.dll file

 doc_root = c:\program files\apache group\apache\htdocs//points to the document 
root file. i will be storing my files in the htdocs dirrectory.

 what am i doing wrong

 ***
  This message was virus checked with: SAVI 3.53 Jan 2002
  last updated 28th January 2002
 ***

--

 Email:  [EMAIL PROTECTED]
 [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] configuring php and apache

2002-01-29 Thread Mike Maltese

Problems I see:

First, use forward slashes!

extension_dir = c:\windows\system32//points to where i located the
php4ts.dll file

This should be the folder that contains extension dll's. If you used the
installer it will be C:/php/extensions (no quotes) or wherever you
installed PHP.


doc_root = c:\program files\apache group\apache\htdocs

Same thing about forward slashes here.

Good luck!

- Original Message -
From: liz lynch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 3:00 AM
Subject: [PHP] configuring php and apache


hi all,
i have installed php and apache on my home computer..i am running xp home
edition.
the problem is that the php and apache are not working together. what i have
done so far:

1. configured the httpd.conf file by adding the following lines:
ScriptAlias /php/ c:/php/
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php /php/php.exe

2.moved the php4ts.dll file to windows\system32note i do not have a
directory called winnt

3.configured the php.ini file(located in windows dir)so that:

extension_dir = c:\windows\system32//points to where i located the
php4ts.dll file

doc_root = c:\program files\apache group\apache\htdocs//points to the
document root file. i will be storing my files in the htdocs dirrectory.


what am i doing wrong



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]