# Disables some modules (Acquia reporting module, Acquia varnish purge, and memcache.)ĭrush dis acquia_spi acquia_purge memcache -y ĭrush solr-vset -yes -id=acquia_search_server_1 apachesolr_read_only 1 # Sets the local Solr instance as the default # Commented out only needed if you are developing solr related features. I choose /Applications/MAMP/htdocs/private but it really could be anything.ĭrush vset file_private_path "/Applications/MAMP/htdocs/private" # You will have to create a folder for the private files. # If you don't have this drush plugin, you can just drush dl registry_rebuild and drush will download it into your. # Runs registry rebuild, not necessary for all sites, but comes in handy sometimes. Can't install memcached.so extension for MAMP's PHP 5.6.2 on OS X 10. But I can't find a way to install memcache.so on my MAMP. In the process I have successfully installed memcached and tested it. # Turns of CSS and JS preprocessing for theming. I am trying to make memcache work on MAMP 1.9. # Change to the new site folder and instruct drush to use the correct multisite So I decided that the easiest way to do this is with MAMP. Pv temppp.sql | mysql -usiteexample -psiteexample siteexample But I want to be able to run a PHP 5.2 instance locally as well. # The command below uses pipe viewer to see the progress of the db import # To install pipe viewer with Mac HomeBrew: Run "brew install pv" to get the latest version. To fix this problem, you can either quit the application preventing Apache from connecting to port 8888, or change the listening port in your MAMP configuration file. If this port is in use by another application, Apache won’t be able to start. # Unzip the compressed db dump to a temp file gunzip -c $LATESTFILE >temppp.sql By default, MAMP runs Apache on port 8888. Hi Guys i have a problem DB connection: could not find driver i must install my mamp new and i had update the yii-framework. # Store the name of the latest file that was added to the directory to a variable LATESTFILE=$ ( ls -t | head - 1 ) cd ~ /projects /siteexample /dbdumps /prod MAMP doesn't include the PHP C header files, so you need to link them in from the Apple Developer SDK folder. 5 How to setup memcache, in XAMPP mac osx lion. Extact the source & enter the memache-2.2.6 dir: tar xvfz memcache-2.2.6.tgz & cd memcache-2.2.6. The Memcached and igbinary PHP extensions are added to your PHP configuration when. # Switch to the directory where you saved the dbdump. This is the easiest way: pecl download memcache. Memcached is an in-memory key-value store for small chunks of arbitrary data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |