RE: [PHP] Configuring again
| From: | Andrew Braund | Date: | Sat, 02 Sep 2000 06:30:28 +0000 |
| Subject: | RE: [PHP] Configuring again | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14912@lists.php.net to get a copy of this message | ||
> James Moore wrote:
>
> > > HTTP.CONF
> > > ScriptAlias /php/ "G:/Program Files/php/"
> > > AddType application/x-httpd-php .php
> > > AddType application/x-httpd-php .phtml
> > > AddType application/x-httpd-php-source .phps
> > > Action application/x-httpd-php "/php/php.exe"
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Make sure this is in section 2 where there are loads of
> other addtypes
> > etc... There is normally an Addtype compressed/g-zip or
> somthing similar
> > (search for zip) just chuck it under that.
> >
> > > PHP.INI (paths) You wouldn't believe how many times I
> have changed these
> > > going through the archive.
> > > include_path =G:\Program Files\Apache Group\Apache\htdocs
> > > doc_root = G:\Program Files\Apache Group\Apache\conf\httpd.conf
This doesn't look right to me... it says that the root of php pages is
the Apache configuration file!
In the standard php.ini-dist file it has;
include_path= ; UNIX: "/path1:/path2" Windows: "\path1;\path2"
doc_root = ; the root of the php pages, used only if nonempty
user_dir = ; the directory under which php opens the script using
/~username, used only if nonempty
I just leave these exactly as is ie no value and it all works fine.
Might be worth a go.
Good Luck
Andrew Braund