« MACOSX » : différence entre les versions

Ligne 122 : Ligne 122 :
  brew services restart mariadb  
  brew services restart mariadb  
  si il y a de nombreuses bases et de tables il faut augmenter limit.maxfiles du mac
  si il y a de nombreuses bases et de tables il faut augmenter limit.maxfiles du mac
- create /Library/LaunchDaemons/limit.maxfiles.plist
<pre>
<pre>
create /Library/LaunchDaemons/limit.maxfiles.plist
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
          "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<plist version="1.0">
   <dict>
   <dict>
Ligne 146 : Ligne 146 :
</plist>
</plist>
</pre>
</pre>
 
- create /Library/LaunchDaemons/limit.maxproc.plist
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
      <string>limit.maxproc</string>
    <key>ProgramArguments</key>
      <array>
        <string>launchctl</string>
        <string>limit</string>
        <string>maxproc</string>
        <string>2048</string>
        <string>2048</string>
      </array>
    <key>RunAtLoad</key>
      <true />
    <key>ServiceIPC</key>
      <false />
  </dict>
</plist>
</pre>
* PHP
* PHP
  brew services restart php72
  brew services restart php72