MAMP
Webbplats
Mamp.info Ladda ner MAMP MAMP.info BugsFörkortningar
- MAMP - Mac Apache MySQL PHP
Förkortning för
Citat
Manage websites locally
Domäner
MySQL upload file size limit
In the Resource Limits section increased "memory_limit" to 200M from 32M
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
memory_limit = 200M ; Maximum amount of memory a script may consume (8MB)
In the Data Handling section increased the "post_max_size" to 150M from 32M
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
; Maximum size of POST data that PHP will accept.
post_max_size = 150M
In File Uploads increased "upload_max_filesize" to 150M from 32M
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Maximum allowed size for uploaded files.
upload_max_filesize = 150M
/Applications/MAMP/bin/php/php5.6.2/bin/php
/private/etc/hosts
127.0.0.1 localhost
dscacheutil -flushcache
ps aux | grep "http"
/usr/sbin/httpd
Socket File
/Applications/MAMP/tmp/mysql/mysql.sock
Data Files
/Applications/MAMP/db/mysql/
Base Directory
/Applications/MAMP/Library/
Error Log
/Applications/MAMP/logs/mysql_error_log
Virtual hosts
/Applications/MAMP/conf/apache/httpd.conf
127.0.0.1 localhost
/Applications/MAMP/conf/apache/extra/httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "/Applications/MAMP/htdocs/folder"
ServerName example.com
</VirtualHost>
Om det krånglar
rm /Applications/MAMP/db/mysql56/ib_logfile*
Starta om
sudo /Applications/MAMP/Library/bin/apachectl restart
MAMP
One-click-solution for setting up your personal webserver.
MAMP PRO
Configure an unlimited number of virtual hosts, DynDNS, email…
Länkar
Logotyp
Djur
Liknande
- XAMPP
- LAMP
- NAMO
- WAMP