mamp

How to push wordpress from mamp into hostgator

只谈情不闲聊 提交于 2019-12-04 02:38:56
问题 I have done a blog in mamp and would like to push into hostgator. Must i recreate everything in hostgator like Installing Wordpress on Hostgator. Is there any way i could just push my stuff straight into hostgator without redoing everything in hostgator. Need some suggestion.. Thanks.. 回答1: It's quite easy to deploy a local version of Wordpress to a live server. First of all, you are right, I would not bother installing a clean copy of Wordpress on your server, you'd then have to totally

Ruby On Rails in MAMP mySQL Snow Leopard

我怕爱的太早我们不能终老 提交于 2019-12-04 01:16:08
I'm trying to find step-by-step instructions to run Ruby on Rails on MAMP server and use MAMP's mySQL database. I am on Snow Leopard also. I have read Hivelogic's article about this but I really don't want to compile rails, ruby and mySQL. Anyone have any suggestions streetparade I can suggest this tutorial for you; Using Ruby MySQL Gem with MAMP 1.8.x on Snow Leopard It is very simple, just edit your socket to MAMP's mysql socket in your rail's /config/database.yml development: adapter: mysql2 encoding: utf8 reconnect: false database: myproject_development pool: 5 username: root password:

Enable errors in browser when parsing PHP-files

筅森魡賤 提交于 2019-12-03 23:04:17
I recently changed to a MacBook and now use the MAMP-stack for development locally. In my earlier development environment I always could see informative error-reports when I tried to access a PHP file through a web-browser and an error occurred. With the default installation of MAMP it seems that this feature is disabled, whenever I hit an error I can't see the cause of it, I can't even see a single line informing me that an error occurred. Not until I start to debug the code in a debugger I can see where the error occurred. Any idea how error reporting can be turned on? I tried: error

getting to phpmyadmin with mamp

守給你的承諾、 提交于 2019-12-03 22:03:55
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? If i go to localhost:8888/MAMP it gives me the MAMP screen, from which i can go to phpmadmin. If MAMP has MySQL Server and Apache Server running. You can go to phpMyAdmin via url http://localhost/phpMyAdmin/ Try this localhost:8888/MAMP/?language=English Click on phpMyAdmin tab and you have

storing data on a server from an app

佐手、 提交于 2019-12-03 21:52:48
How does one store data on a server from an iOS app? If I create, e.g. a JSON object, how can I send this to the server and save it on the server as the value from some Key? I am using MAMP at the moment and have seen examples of how to create the item on the server and get it to the phone, I would like to learn how to create objects on the device, send them to the server for storage. such as a JSON object and store it on the server as a value for e.g. a key with an ID. I would greatly appreciate any help with this. Have a look at NSUrlConnection . Using it you can synchronously &

“gem install mysql2” on Mac with MAMP 2.2

走远了吗. 提交于 2019-12-03 21:32:09
When trying to run a rails server in my current directory (which is a new rails project), it says that I need to install the mysql2 gem. At first, I had no idea what this meant... Then, I did some poking around, and finally decided to install the gem. However, I am getting this super pesky error (seeing as I just spent 2 hours trying to investigate, and solve another error). I am on the brink of giving up, but I really want to try rails. Please help! Currently, if I run sudo gem install mysql2 , or even as some people told me to do online, gem install mysql -- \ --with-mysql-config=

Symlinked MAMP Folder Causing 403 Forbidden

懵懂的女人 提交于 2019-12-03 18:53:19
I have a folder in my root MAMP directory, "site". I have that symlinked to a folder in ~/Documents/Dropbox/site, so whatever happens in "site" gets transferred to Dropbox. However, when I do this, I get a 403 forbidden error when trying to view localhost/site - is this a problem because I'm using PHP and I should fix php.ini, or is this an httpd.conf problem? In httpd.conf, I have AllowOverride set to None . Thanks for any answers in advance. Marc B There's also the FollowSymlinks option in Apache, which is generally disabled by default. You can enable it by doing Options +FollowSymlinks This

mac 下 mamp 配置虚拟主机步骤

十年热恋 提交于 2019-12-03 18:28:10
PRO用户请华丽飘过~ 先进入apache的配置文件httpd.conf,路径是/Applications/MAMP/conf/apache/httpd.conf,用文本编辑器打开,command+f查找一下‘vhosts’关键字,来到了这一行 #Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf 把前面的#号去掉,表示这句话生效,这句话的意思就是使虚拟地址的配置文件生效。 保存后,用文本编辑器打开 /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf,加入需要配置的虚拟地址,大概是这样的: 这里注意不要照着MAMP里面httpd-vhosts.conf的演示代码写,我试过那个不起作用,用下面的可以。 <VirtualHost *:80> DocumentRoot "/Applications/MAMP/htdocs/tp5/public" ServerName tp.cn ServerAlias tp.cn <Directory "/Applications/MAMP/htdocs/tp5/public"> Options Indexes FollowSymLinks AllowOverride All Order deny,allow Allow

APACHE needs port 80 - MAMP

£可爱£侵袭症+ 提交于 2019-12-03 16:32:45
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. when you have this problem just turn off Skype because Skype use port 80 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 Start Servers. Start windows command line and then run netstat

Installing and enabling Xdebug on MAMP PRO

痴心易碎 提交于 2019-12-03 16:29:59
I am trying to set up Xdebug on my MAMP PRO installation. I tried xdebug.org/wizard.php to get the correct Xdebug version with custom installation instructions but I got stuck. According to step 4 in the tailored installation instructions I should get the following output: Configuring for: ... Zend Module Api No: 20100525 Zend Extension Api No: 220100525 But my output reads as follows: Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Next I try the instructions at xdebug.org/docs/faq#custom-phpize because the tailored installation