Re: Trouble setting httpd.conf, I need help
| From: | Willian Schubert Baldasso | Date: | Thu, 13 Mar 2008 16:23:32 +0000 |
| Subject: | Re: Trouble setting httpd.conf, I need help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271519@lists.php.net to get a copy of this message | ||
Oh, yes, I have a D: drive anda my php is in D:\Winappl folder
I'm trying use PHP x Apache folowing the instruction under
http://www.php.net/manual/en/install.windows.apache2.php
and notes under
http://www.php.net/manual/en/install.windows.apache2.php#81318
I tried change backslashes to forward slashes in the file paths but Apache
service does'n work too.
If I remark these lines I can start Apache without any problem, but with
file httpd.conf changed like PHP install instructions tells me to do I can
start it.
at http://www.php.net/manual/en/install.windows.apache2.php#81567
we can see
some people wrote difrences way to configure httpd.conf
Willian Schubert Baldasso
Administrador de Redes
Campinas/SP - Brasil
e-mail: redesistema@gmail.com
msn messenger: redesistema@gmail.com
skype: redesistema
----- Original Message -----
From: "Daniel Brown" <parasane@gmail.com>
To: "Willian Schubert Baldasso" <redesistema@gmail.com>
Cc: <php-general@lists.php.net>
Sent: Thursday, March 13, 2008 12:31 PM
Subject: Re: [PHP] Trouble setting httpd.conf, I need help
sorry for the offlist reply, Willian,
Do you really have a d drive ? and those files really exist ?
if yes, try changing the backslashes to forward slashes in the file paths.
Just a guess, though.
On 3/13/08, Willian Schubert Baldasso <redesistema@gmail.com> wrote:
On Thu, Mar 13, 2008 at 9:45 AM, Willian Schubert Baldasso
<redesistema@gmail.com> wrote:
>
> My Apache 2.2.8 doen't start with these lines below:
>
> # load the php main library to avoid dll hell
> Loadfile "d:\winappl\php\php5ts.dll"
>
> # load the sapi so that apache can use php
> LoadModule php5_module "d:\winappl\php\php5apache2_2.dll"
>
> # set the php.ini location so that you don't have to waste time guessing
> where it is
> PHPIniDir "d:\winappl\php"
>
> # Hook the php file extensions, notice that Addtype is NOT USED, since
> that's just stupid
> AddHandler application/x-httpd-php .php
> AddHandler application/x-httpd-php-source .phps
The way you've worded that, it sounds like you're saying that the
httpd.conf file doesn't begin with that information.
You can ask for help here or on the Apache lists, but to get
started, you're going to need to explain the issue a bit better. What
error messages are you getting, if any? Do all of the files exist?
Are you actually on a Windows box?
--
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283