Eléphanteau du PHP |
13 Messages
05 déc. 2006, 15:30
Bonjour

,
Enfin je viens de trouver la solution à mon problème.
En fait au niveau de ma configuration apache et php, y a pas de problème.
Le problème venait des droits du service APACHE, car il est ouvert avec le compte "Système local".
Ce compte à tout les droits en local mais pas sur le réseau.
Donc il faut changer le mode de connexion.
Je comprends pourquoi Apache dans Easyphp fonctionne car il ne démarre pas comme service, il hérite des droits de la session.
Messagedu document APACHE :
By default, all Apache services are registered to run as the system user (the LocalSystem account). The LocalSystem account has no privileges to your network via any Windows-secured mechanism, including the file system, named pipes, DCOM, or secure RPC. It has, however, wide privileges locally.
Solution du document Apache :
You may want to create a separate account for running Apache service(s). Especially, if you have to access network resources via Apache, this is strongly recommended.
1. Create a normal domain user account, and be sure to memorize its password.
2. Grant the newly-created user a privilege of Log on as a service and Act as part of the operating system. On Windows NT 4.0 these privileges are granted via User Manager for Domains, but on Windows 2000 and XP you probably want to use Group Policy for propagating these settings. You can also manually set these via the Local Security Policy MMC snap-in.
3. Confirm that the created account is a member of the Users group.
4. Grant the account read and execute (RX) rights to all document and script folders (htdocs and cgi-bin for example).
5. Grant the account change (RWXD) rights to the Apache logs directory.
6. Grant the account read and execute (RX) rights to the Apache.exe binary executable.
Voilà si vous voulez plus de précisions me contacter.
Et merci de votre aide.
