mamp

How can I install Perl's DBI on Mac OS X so Apache can find it?

I'm trying to setup a Perl development environment on my Mac laptop and have been having a really hard time getting it working. I thought I had everything configured correctly but when I try to run a sample script it is reporting errors with the DBI module and can't access the DB. Here is what is reported in the Apache error logs: [Fri...

How can I use Django with MySQL in MAMP stack?

Hi all, I have difficulty especially in installing MySQLdb module (MySQL-python-1.2.3c1), to connect to the MySQL in MAMP stack. I've done a number of things such as copying the mysql include directory and library (including plugin) from a fresh installation of mysql (version 5.1.47) to the one inside MAMP (version 5.1.37). Now, the M...

php code works with mamp but not on ubuntu server

Hello, I have start looking at a twitter php library http://github.com/abraham/twitteroauth, but i can't get it to work on my ubuntu server, but on my mac, with mamp it works without any problems. This is the code that don't won't to work on my server, but in mamp. Yes i have edit config file <?php /* Start session and load library. ...

Is using AMP software like WAMP, MAMP, XAMPP a good idea?

I know that softwares like WAMP, XAMPP save a lot of difficult configuration time. But, besides this, Is this a good idea? I, on the other would like to stick to traditional method and install each component seperately and use them. ...

How to use erubis with mamp

i found out erubis, the "fast, secure, and very extensible implementation of eRuby", now after install through gem install erubis, my question is how to run in on mac? especially on mamp? i been no luck finding answer on google so anyone know how? ...

trouble with ruby passenger

when i paste this code in MAMP's httpd.conf: LoadModule passenger_module /Volumes/Private/ajsie/.rvm/gems/ruby-1.9.1-p378/gems/passenger-2.2.14/ext/apache2/mod_passenger.so PassengerRoot /Volumes/Private/ajsie/.rvm/gems/ruby-1.9.1-p378/gems/passenger-2.2.14 PassengerRuby /Volumes/Private/ajsie/.rvm/rubies/ruby-1.9.1-p378/bin/ruby then...

Web App fails when moved to production environment. Which server permissions do I need?

I have developed a small web app. This app allows users to upload images. It also produces text files with the names of those images (the names are stored and retrieved to/from an MySQL Database.) I have developed this app using MAMP. To create the uploaded image files I use the PHP function imagejpeg('my/path/name.jpg') and to de...

XAMPP, MAMP, MySQL, PDO - A deadly combination?

Hey folks, Previously I've worked on a Symfony project (MySQL PDO based) with XAMPP, with no problems. Since then, I've moved to MAMP - I prefer this - but have hit a snag with my database connection. I've created a test.php like this: <?php try { $dbh = new PDO('mysql:host=localhost;dbname=xxx;port=8889', 'xxx', 'xxx'); fore...

MacPorts / Terminal: `Unrecognized action "sudo"`

I'm trying to install Image Magick on MAMP. And I'm seriously out of my depth. I've installed MacPorts, and opened the terminal. I've typed in sudo port -v selfupdate per the instructions on http://www.macports.org/install.php#pkg But the response I get from the Terminal is Unrecognized action "sudo" I've googled and googled, but can'...

Problems installing PEAR MDB2 with MAMP

I've installed a copy of MAMP on my macbook so I can run my php/mysql based website locally. The MAMP package itself seems to work fine but I needed the PEAR MDB2 Package. I did the following to install pear install MDB2 pear install MDB2_Driver_mysql pear channel-update pear.php.net All apparently worked and if I try again, they s...

MAMP and joomla related query

I had installed MAMP on my Macbook but i forgot the password. How to create new installation of MAMP. I dont mind deleting the database. How to integrate joomla with MAMP? Which are the best bulletein boards for joomla? ...

MAP tag links not working on MAMP localhost

Hello I have a html map tag in use for part of a clients site. On their production server it works fine. However on MAMP, for some reason the linked areas indicate a clickable link, but when actually used, there is no attempt made to load the page. code: <map name="counties"> <area shape="poly" coords="119,368,119,374,116,383,125,3...

xdebug not loading. not found in phpinfo() after apache restart

Hi folks, I've been scouring every resource I could find, but came up empty. I get the dreaded "Waiting for Connection" message in NetBeans 6.9 when I start a debug session. After much reading, most folks are able to get phpinfo() to display that it loaded the xdebug module. Not so with me. I downloaded the source through SVN using this...

How to configure MAMP to serve perl CGI scripts (NOT localhost!)

I'm using MAMP-pro to serve my domain to the outside world. I'm not a very experienced sys-admin, though I've slogged my way through a few basic things. I know what apache is, and I can read-most-of but not generate-without-guide related .conf files. I've got a perl script which I've tested from the command line and it works (outputs ...

How does MAMP know to look in /opt for web applications?

I've installed a PHP web application that's in /opt/webapp name. However, I'd like to be able to tell MAMP pull the PHP files from something like /username/localdevversion/. The problem is that I can't figure out what tells MAMP to look for PHP files in /opt. I've looked in /Applications/MAMP/conf/apache/httpd.conf and /Applications/MAM...

how to change mime types in MAMP

I'm developing a website that has a HTML5 video. It looks like when ogg files are served with other mime types than video/ogg firefox flips. I've updated the mime.types file inside the mamp/apache/config folder and have restarted the MAMP server multiple times, but ogg files are still served with plain/text context-type. Can someone po...

MAMP php includes

I'm not a php developer but I'm fiddling with MAMP. I've installed MAMP and my php include() calls aren't working. [13-Jul-2010 19:23:30] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '1' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php:/Applications/MAMP/htdocs/mt_sand...

MAMP: local-environment … connecting to ftp won't work?

hey guys, i love working with mamp ( i have the pro version). i'm currently trying to connect to a ftp server and list the files up there. however the connection is successful but it won't list the files. $contents = ftp_nlist($conn_id, $path); returns bool(false) however the script is working if i run it on my real webserver. is th...

mod_wsgi problem with MAMP

I make mod_wsgi is like following $./configure --with-python=/Library/Frameworks/Python.framework/Versions/2.7/bin/python --with-apxs=/usr/local/apache2/bin/apxs checking Apache version... 2.0.63 configure: creating ./config.status config.status: creating Makefile $sudo make $sudo make install and then I cop...

MAMP Pro + Espionage folder encryption = 403 error?

I'm using MAMP PRO on my OS X 10.6 with Espionage to encrypt my ~/Sites folder (where MAMP is pulling my virtual hosts from). I'm having trouble having MAMP's Apache follow the symlink that Espionage automatically creates to /Volumes/EspionageMounts/lee/3042560432 (I believe this changes all the time, so cannot be static). My 'Sites' f...