mamp

404 error for mod_rewrite using SSL and MAMP

I am building an app in Zend Framework at the moment and testing it all locally. I have Mamp Pro as my web server and I have a self-signed SSL which all seems to work. My problem comes when I try to do mod_rewrite - I just get 404 pages. The way I have things set up (which may not be the best way...) In Mamp I have 2 virtualhosts set...

MAMP php and forms "value" problem

Hi, im using MAMP on OSX 10.4.11 and while doing a form I came up with an issue: <?php $today = date("d.m.y"); echo "<div class=\"newpub\"> <form action=\"insert.php\" method=\"post\"> <span class=\"text\">Data</span><br><input type=\"text\" value=\"$today\" name=\"Date\" size=\"14\" height=\"1\"><br><br> <span class=\"text\">Co...

MAMP and CakePHP call to model issue

I asked this question on the CakePHP google-group but didn't find any resolution, so hopefully will have better luck here. I've been developing on CakePHP for a bit and decided to have a localhost version on MAMP so that I could demo my app to people without being dependent on an Internet connection. We have a couple of complex MySQL q...

Cakephp console (bake) on Mac OS with Mamp : database connection error

Hi I am trying to do the Simple Acl controlled Application tutorial in the cakephp cookbook. The idea is : Making Databases CREATE TABLE users ( id INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) NOT NULL UNIQUE, password CHAR(40) NOT NULL, group_id INT(11) NOT NULL, created DATETIME, modified DATETIME ); ...

debugging php on mac?

Hi All, was wondering what was the best way to debug PHP on my local machine. I use MAMP on mac os 10.5 thanks, Patrick ...

How do you upgrade MAMP's PHP to PHP 5.3 ?

Hey all, I haven't been able to find any resources on how to do this.. Anyone have any ideas or resources?! I've tried changing the ./configure options and I'm solving things one at a time but it seems like this method could take forever.. My current error is.. checking for jpeg_read_header in -ljpeg... no configure: error: Problem wi...

MAMP PHP config file help

When I modify the php.ini document found in Applications/MAMP/conf/php5/php.ini The changes are not reflected in the php info page in the MAMP interface WHY? ...

MAMP: How to install Memcached?

Hi Guys, I have tried to install memcached in MAMP - Snow Leopard 10.6.2 using this tutorial: Setup a Memcached-Enabled MAMP Sandbox Environment I finished with no errors the first to the last step: Bonus Section: Start and Stop Memcache with MAMP After that I restarted my MAMP widget in the dashboard and checked by phpinfo but the m...

MAMP + Custom Extensions

Is there a way to build custom extensions into MAMP? I am constantly getting very funny errors when, for example, trying to compile WDDX into the MAMP package. /Applications/MAMP/bin/php5/include/php/ext/wddx/wddx.c: In function 'php_wddx_pop_element': /Applications/MAMP/bin/php5/include/php/ext/wddx/wddx.c:979: error: 'zval' has no me...

Is there an free alternative to MAMP PRO?

NetBeans is recommending to use MAMP for Apache + MySQL + PHP on the Mac. There's a MAMP and a MAMP PRO. The MAMP is actually nothing more than a collection of open source libraries and stuff like PHP, MySQL, etc. in one big directory that goes to /Application/MAMP/. It comes with a little GUI to start/stop the server and to do some very...

PDO: If my host ist localhost:80, what do I have to put in here?

I got this example from the php site: <?php try { $dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass); foreach($dbh->query('SELECT * from FOO') as $row) { print_r($row); } $dbh = null; } catch (PDOException $e) { print "Error!: " . $e->getMessage() . "<br/>"; die(); } ?> I use MAMP on the m...

Ruby On Rails in MAMP mySQL Snow Leopard

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 ...

Installing PostGresQL & MySQL in Mac OS X running MAMP?

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 g...

PHP xmlrpc extension and MAMP

I am trying to get the xmlrpc extension to work for php5 in MAMP (1.8.4). I checked what version of PHP 5 was installed: $ /Applications/MAMP/bin/php5/bin/php -v PHP 5.2.11 (cli) (built: Dec 12 2009 13:19:08) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with Zend Extension Man...

How can I set up 'bake' with MAMP on OS X with projects in 'Sites'?

I'm trying to set up 'cake bake' on OS X. I'm using MAMP and every time I try to 'bake', I get this: -bash: cake: command not found I have the Apress Beginning CakePHP book, but the suggestions in that book aren't working for me. In the Apress, book, he suggests the following solution in .profile alias cake="php ~/Sites/blog/cake/con...

Issue with the doctrine-cli

I am having issues getting my database to build from my YAML file. Here is the error: ./scripts/doctrine-cli build-all-load build-all-load - Generated models successfully from YAML schema build-all-load - Couldn't locate driver named mysql build-all-load - Created tables successfully build-all-load - Data was successfully loaded It b...

Is there non-daemon FTP server application fot Mac OS? (like MAMP)

I'm finding an non-daemon, interactive-mode only, portable(moveable) FTP server for Mac OS X. Like MAMP. This will be used temporarily for local development only. Not for service. Just file listing and serving(download) features required. Complex features like account management or SSL are not required. This should be run as an UI appl...

Base logic of working with Source Control at localhost + Mercurial

I'm pretty new at Mercurial - actually new at source control. I have projects at localhost, which is ~/mamp/htdocs. I want to work all local. There is a point I'm confused about: I should keep repository at a different path than my htdocs I think, so I created "/reps/" folder and creating folders for each project under here, and copy a...

running php on mamp

I already installed MAMP in my macbook pro. I want to run a php. what can i do? ...

php error_log not getting updated on a MAMP stack

I have MAMP installed on my mac OSX 10.5, php 5.2.11, Apache 2 running phpinfo() from the webserver, shows:- error_log = /Applications/MAMP/logs/php_error_log log_errors = On display_errors = On ini as poining to /Applications/MAMP/conf/php5/php.ini Thinking that there might be a permissions issue. ...