PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.win > Can't Configure PHP with Apache on Windows
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.win Web servers for MS Windows and NT.

Can't Configure PHP with Apache on Windows

Réponse
 
LinkBack Outils de la discussion
Vieux 28/09/2005, 19h43   #1
alegiit@yahoo.it
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Can't Configure PHP with Apache on Windows

Hi I have done everything as stated in the book, but when I want to
start Apache server Monitor I get the error The requested operation has
failled. I have installed MySQL first, then Apache, in order to
install PHP4, I have unzipped all of the files to a directory on C:/
then I have copied the php.ini file in WINDOWS, then I have copied
php4ts.dll into WINDOWS/system32. I have made amendments into the
conf.httpd as follows:

LoadModule php4_module C:/php/sapi/php4apache2.dll

plus:

AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps

Saved everything and when I start Apache Server I get the message "The
requested operation has failled"

Can someone , thank you very much!
Sincerely
Alessandro

  Réponse avec citation
Vieux 28/09/2005, 20h27   #2
Lee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't Configure PHP with Apache on Windows


<alegiit@yahoo.it> wrote in message
news:1127932997.351076.312860@g43g2000cwa.googlegr oups.com...
> Hi I have done everything as stated in the book, but when I want to
> start Apache server Monitor I get the error The requested operation has
> failled. I have installed MySQL first, then Apache, in order to
> install PHP4, I have unzipped all of the files to a directory on C:/
> then I have copied the php.ini file in WINDOWS, then I have copied
> php4ts.dll into WINDOWS/system32. I have made amendments into the
> conf.httpd as follows:
>
> LoadModule php4_module C:/php/sapi/php4apache2.dll



Place the php4ts.dll into c:\windows ... not system directory... just try
it.. I had no problem installing on mine even without moving dll files. Hope
this s


  Réponse avec citation
Vieux 28/09/2005, 22h31   #3
Nil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't Configure PHP with Apache on Windows

On 28 Sep 2005, alegiit@yahoo.it wrote in
news:1127932997.351076.312860@g43g2000cwa.googlegr oups.com:

> Hi I have done everything as stated in the book, but when I want
> to start Apache server Monitor I get the error The requested
> operation has failled.


Assuming this is Windows NT/2000/XP, check the application and system
logs for clues. Also the Apache error log.

I don't remember the exact details, but I remember that one or two of
the DLLs need to be in the path somewhere.
  Réponse avec citation
Vieux 17/10/2005, 15h17   #4
Lardy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't Configure PHP with Apache on Windows

When I did my installation I made some notes in case I ever had to do it
again. This is what worked for me, hope it s.


Installation of PHP 5.0.4 with Apache 2.0.53 on Windows Server 2003
-------------------------------------------------------------------

1. Download and install Apache web server 2.0.53

2. Download PHP [php-5.0.4-Win32.zip] and extract it to C:\PHP

3. Add C:\PHP to the Windows PATH environment variable

4. Rename php.ini-recommended to php.ini

5. Add the following lines to your Apache configuration file [httpd.conf],
and save.

#PHP Configuration Start
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php/"
#PHP Configuration End

6. Restart the Apache Web Server

-------------------------------------------------------------------
You now have a working Windows Apache installation with PHP.



Lardy.


<alegiit@yahoo.it> wrote in message
news:1127932997.351076.312860@g43g2000cwa.googlegr oups.com...
> Hi I have done everything as stated in the book, but when I want to
> start Apache server Monitor I get the error The requested operation has
> failled. I have installed MySQL first, then Apache, in order to
> install PHP4, I have unzipped all of the files to a directory on C:/
> then I have copied the php.ini file in WINDOWS, then I have copied
> php4ts.dll into WINDOWS/system32. I have made amendments into the
> conf.httpd as follows:
>
> LoadModule php4_module C:/php/sapi/php4apache2.dll
>
> plus:
>
> AddType application/x-httpd-php .php .phtml .html
> AddType application/x-httpd-php-source .phps
>
> Saved everything and when I start Apache Server I get the message "The
> requested operation has failled"
>
> Can someone , thank you very much!
> Sincerely
> Alessandro
>



  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 09h57.


É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,10380 seconds with 12 queries