<blockquote><font class="small">Posté à l'origine par Tomy:</font><hr />
Voila, ... j'ai un ami (sur PC) qui veux faire tourner chez moi (en local) un site en PHP.
Il doit juste changer un truc dans le fichier php.ini (Il utilise EasyPHP sous Win).
Je trouve ou ce type de fichier sous Mac OSX ?
Thx
[/QUOTE]
<font class="small">Code:</font><hr /><pre>
"Where is the php.ini file?"
There is none included in the package.If you need one, just create it
as /usr/local/lib/php.ini, including the intermediate lib
directory if that doesn't exist already:
sudo mkdir -p /usr/local/lib
sudo touch /usr/local/lib/php.ini
Most people asking for this seem to be interested in sending e-mails from within PHP.
PHP on Mac OS X uses the built-in sendmail program to do this, but sendmail
refuses to run with the default file system permissions
as shipped by Apple for security reasons.
Sometimes it's enough to run this command to fix the permissions:
sudo chmod g-w /
Note that you'll have to repeat this after every Mac OS X update as Apple
likes to reset the permissions with every update installer...
After OS X Update 10.1.5 it might also be necessary to do this:
sudo chown smmsp:smmsp /var/spool/clientmqueue
This and this (for Jaguar) article might help too to get sendmail running. </pre><hr />
Source:
http://www.entropy.ch/