mamp

Installing the Pecl Oauth Module on MAMP OSX 10.6

*爱你&永不变心* 提交于 2019-12-12 01:33:45
问题 Ok, so after a day of messing about with various things such as Fink, Macports, Pecl, etc. I have managed to install the oauth.so module on OSX. However, I use MAMP locally, which I think uses its own version (i.e. in its own location) of PHP, and the module has installed to the main system version of PHP? So I have run the version of PECL from the MAMP folders: sudo /Applications/MAMP/bin/php5.2/bin/pecl install oauth But it seems to have installed it in the generic folder anyway ... Build

MAMP not connecting to localhost

六眼飞鱼酱① 提交于 2019-12-11 20:53:53
问题 Just updated MAMP to version 3.2.1 on Yosemite. Both Apache and MySQL servers are green but when I go to my localhost I keep getting: This webpage is not available ERR_NAME_NOT_RESOLVED in browser (Chrome). I’ve tried incognito browsing and Firefox with the same result, tried both the MAMP default port settings and ports 80 & 3306, tried a reinstall of MAMP and rolling back to previous install of MAMP; all without success. Can anyone suggest how to fix this…it’s starting to drive me crazy!

CORS with vue.js and laravel won't come to work

大憨熊 提交于 2019-12-11 19:29:16
问题 I hope you may help a laravel and vue.js newby. I am writing a little application where I need to call the weather api by darksky.net. Via php it works well. Now I want it more dynamically with vue.js. But if I make an api call via axios, I get the following message: Failed to load > https://api.darksky.net/forecast/myDarkSkyKey/37.8267,-122.4233: Response > to preflight request doesn't pass access control check: No 'Access-Control-> Allow-Origin' header is present on the requested resource.

yii, mamp, htaccess rewrite urls

孤街浪徒 提交于 2019-12-11 18:18:53
问题 I am trying to rewrite yii urls but with no luck. I have spent hours going through sites and come up with the same answer each time which doesn't work for me: http://www.yiiframework.com/doc/guide/1.1/en/topics.url#user-friendly-urls I would like to resolve the urls to basic paths e.g /index.php/site/index to / /index.php/ads and /index.php/ads/ to /ads /ads/details?ad=9 to /ads/9 The problem seems to be that the .htaccess has no effect. I am using: mamp pro on a mac with lion and the web

Manually remove host from MAMP PRO

女生的网名这么多〃 提交于 2019-12-11 18:01:06
问题 I've added a new host to MAMP PRO which I didn't put a disk location for and now MAMP won't start properly. I get the spinning loading icon next to MySQL and nothing next to Apache (not loading or the connected diamond). I've been through the methods to make sure no other instances of SQL are running (activity monitor and through terminal). I've convinced myself it's the new host without a disk location that's the problem - but because MAMP PRO doesn't allow any editing until it's loaded I

Uninstalling MAMP PRO from my mac

别说谁变了你拦得住时间么 提交于 2019-12-11 17:47:55
问题 I tried to download and set up MAMP on my Mac. When I went to launch, it said that a version of MAMP Pro was installed, and that there may be a conflict having both. I therefore tried to run the uninstall wizard for the MAMP Pro but it gave me an error message and said it had to abort. Is there another way to get MAMP pro off my computer? I tried dragging the folder to the trash and it said it couldn't be deleted. Thanks for your help. 回答1: Make sure you're on an administrator account.

Home Page Wordpress on Free MAMP does not work

坚强是说给别人听的谎言 提交于 2019-12-11 16:56:28
问题 I have installed MAMP (free version) on my Mac and I see the Start Page but I have a problem: I deployed wordpress but browser say unable to connect (basically I cannot see wordpress page in browser). In Document Root if I put a static html file I am able to see it in the browser. I am also able to see wordpress administrative pages and all other pages but home page. I have 8888 and 8889 for php and mysql ports. I do not know how to debug the issues. php, apache and mysql do not report any

Installing PostGresQL & MySQL in Mac OS X running MAMP?

百般思念 提交于 2019-12-11 14:49:52
问题 Well, I have MAMP installed on my Mac OS X, and I've got PostGres up and running, but am wondering how I can use it with PHP? I'm assuming that there's something I need to do where I compile PHP so that it can use both, but, I'm not sure how to do that if PHP has already been installed? Or, if there's something unique I need to do to get it work on the Mac in a MAMP environment? I'm really unfamiliar with installations ,etc., so, help / direction / links, etc., is greatly appreciated. I've

Memcached is installed on PHP 5.3.28 on MAMP 3.0.3, but not working

不打扰是莪最后的温柔 提交于 2019-12-11 13:00:11
问题 I have a Drupal site running on fresh MAMP PRO 3.0.3 install with the PHP version 5.3.28 on OS X Mavericks 10.9.2. I installed memcache with pecl install memcache and added the extension=memcache.so line in php.ini under the extensions section, but still Drupal shows multiple You must enable the PECL memcached or memcache extension to use memcache.inc. errors on top of the page. phpinfo() on the Drupal root directory tells me that the configuration file loaded is at: /Library/Application

How do I display content grabbed from external websites?

人盡茶涼 提交于 2019-12-11 12:58:20
问题 How do I grab pieces of content from external websites and display them on my website? (Similar to what an RSS feed or other aggregator does). For example, say I want to display items from another website's calendar: Other website: <h1>Here's our calendar:</h1> <div class="calendar_item"> <h2>Boston Marathon</h2> <p class="date">June 23, 2012</p> <p class="description">This marathon is 26.2 miles and lots of fun.</p> </div> <div class="calendar_item"> <h2>Irish Pub Crawl</h2> <p class="date"