Re: configuring php and apache
| From: | Neil Freeman | Date: | Tue, 29 Jan 2002 11:35:16 +0000 |
| Subject: | Re: configuring php and apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82550@lists.php.net to get a copy of this message | ||
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\system32....note 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: neil.freeman@asa.co.uk
neil_freeman@yahoo.com
--------------------------------