mamp

Updating MAMP to PHP 5.4.8

匿名 (未验证) 提交于 2019-12-03 08:50:26
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I used this guide How do you upgrade MAMP's PHP to PHP 5.3 ? to update my PHP-Version on MAMP but it does not work. I'm not sure if I did everything right. I downloaded php 5.4.8 und put the folder into MAMP -> conf and renamed it to php5.4.8 to make it even with the other PHP Folders in there. Than I followed the guide, but got the following error: Binarys-MacBook-Air:~ BinaryCoder$ cd /Applications/MAMP/conf/php5.4.8 Binarys-MacBook-Air:php5.4.8 BinaryCoder$ ./configure --with-mysql=/Applications/MAMP/Library --with-apxs2=/Applications

MAMP Mysql Error - Failed to open log

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've been working with a MAMP installation for several weeks now, and when I started it up today it would not start. No mysql process was running so I checked the error log which shows the following when I start the server: 130826 14:19:55 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql 130826 14:19:55 [Warning] You have forced lower_case_table_names to 0 through a command-line option, even though your file system '/Applications/MAMP/db/mysql/' is case insensitive. This means that you can corrupt a MyISAM

MAMP / PHP.INI: “date.timezone” setting in phpinfo() shows “no value” even though the value is set in php.ini

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Greetings to StackOverflow gurus! Here's the issue I'm struggling with. I run phpinfo() in MAMP, and the resulting table shows "no value" in both columns of the date.timezone row. Additionally, the page displays the following: Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier

Use SSL with MAMP PRO 4

泄露秘密 提交于 2019-12-03 08:36:43
Since I've updated to chrome 63, my sites in localhost are redirected to https, so I decided to use SSL with MAMP PRO but I can't make it work, chrome says Your connection is not private. In the SSL panel of MAMP, I generated the certificate and set its path for the key and certificate, however I don't know what I should do for "Certificate chain file (Apache only)" I hit the same issue recently and found a solution that works for me on macOS. As you've already highlighted, this issue started with a Chrome update which is forcing SSL on localhost *.dev URLs . To get around it you need to add

getting to phpmyadmin with mamp

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using MAMP, and trying to get to phpmyadmin. loaclhost/phpmyadmin isn't working.. the sql light is green so it is enabled. I have changed the Document Root to /Users/troycosentino/Sites/easyuniv/ and when i open the start page from MAMP it is a page created by apple it looks like, not MAMP. Any ideas? 回答1: If i go to localhost:8888/MAMP it gives me the MAMP screen, from which i can go to phpmadmin. 回答2: If MAMP has MySQL Server and Apache Server running. You can go to phpMyAdmin via url http://localhost/phpMyAdmin/ 回答3: Try this

Dropbox API and PHP

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am gelling following error while trying to read file content which is residing in a subfolder rather than a parent folder. Fatal error: Uncaught exception 'Exception' with message 'Invalid signature. Expected signature base string: GET&https%3A%2F%2Fapi-content.dropbox.com%2F1%2Ffiles%2Fdropbox%2FProjects%2FMAC%2520Error.rtf&oauth_consumer_key%3Dbdagb07uu6zq827%26oauth_nonce%3D46d063d5815a0972d63cf72359c0349f%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1324449973%26oauth_token%3D7f2cr9kppqo2hxz%26oauth_version%3D1.0 (Status

APACHE needs port 80 - MAMP

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to run MAMP on my Windows 8.1 pc, but when I start the servers, it says: 'APACHE' needs open port '80' which is already being used by another service or application. Please reconfigure 'APACHE' to use free port. Changing the port to something else doesn't help. 回答1: when you have this problem just turn off Skype because Skype use port 80 回答2: I used kampageddon's answer and it worked. Just follow the following steps: Run MAMP Click Preferences On Preference window click Ports While on Ports change Apache & Nginx Port to 8080. click ok

Can i use MAMP (MySQL) or XAMPP (MySQL) with Ruby on Rails 3?

拜拜、爱过 提交于 2019-12-03 07:38:45
Can i use MAMP (MySQL) or XAMPP (MySQL) with Ruby on Rails 3? i installed MySQL from MYSQL.com and had so much trouble that i like to use the MAMP/XAMPP Mysql. Is Anyone doing this? Also what configurations do i need to make to do this. I'm new to RoR. Thank you in advance ;-) Yes, I use it, this is my config in database.yml development: adapter: mysql2 database: app username: app_user password: app_password socket: /Applications/MAMP/tmp/mysql/mysql.sock host: localhost pool: 5 timeout: 5000 encoding: utf8 I'm not sure if it's the only thing to changed, you maybe must to copy MySQL header

MAMP MySQL not recognizing my.cnf values in OSX

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Trying to go UTF8 permanently and can't get MAMP's install of MySQL to recognize my.cnf values. MAMP Version 2.0.5 (2.0.5) MySQL 5.5.9 my.cnf file: [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] default-character-set=utf8 default-collation=utf8_general_ci collation_server=utf8_general_ci character_set_server=utf8 init-connect='SET NAMES utf8' Location of file: /Applications/MAMP/Library/Conf/ MySQL varibles on startup: mysql> show variables where variable_name LIKE '%char%' OR variable_name LIKE '%colla%'; +-

Where is the source code for built-in php functions located? [closed]

前提是你 提交于 2019-12-03 07:20:29
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I have a local server installed on my Mac (MAMP). Where I can find the PHP functions in my computer? What is the path to the functions folder? For instance, rand() , time() , isset() , explode() . I would like to see the code to learn from it. 回答1: You can download the PHP source