PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Trouble setting httpd.conf, I need
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Trouble setting httpd.conf, I need

Réponse
 
LinkBack Outils de la discussion
Vieux 13/03/2008, 15h45   #1
Willian Schubert Baldasso
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Trouble setting httpd.conf, I need


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


I'm using PHP 5.2.5 and "d:\winappl\php" is in PATH environment.

What's wrong? where can I discuss my trouble?

Tks!


Willian Schubert Baldasso
Administrador de Redes
Campinas/SP - Brasil

e-mail: redesistema@gmail.com
msn messenger: redesistema@gmail.com
skype: redesistema

  Réponse avec citation
Vieux 13/03/2008, 17h31   #2
Daniel Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Trouble setting httpd.conf, I need

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 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
  Réponse avec citation
Vieux 13/03/2008, 18h23   #3
Willian Schubert Baldasso
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Trouble setting httpd.conf, I need

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...ws.apache2.php and notes under
http://www.php.net/manual/en/install...che2.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...che2.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


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 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

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09379 seconds with 11 queries