mamp

httpd.conf virtual host not working

I've added this: <VirtualHost *:8888> ServerName dietron DocumentRoot /Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/htdocs <Directory /Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/htdocs> AllowOverride All Options All </Directory> php_value inclu...

Using the PHP CLI with MAMP

Does MAMP come with the PHP CLI installed? I am trying to run a script from the command line, but using a Mac, with MAMP, and not knowing much about PHP CLI is making it difficult. How should I set up my environment so that I can use the PHP CLI with MAMP? ...

ImageMagick: convert png fail via PHP and works via bash shell

I've got a very weird bug which I've yet to find a solution. UPDATE see solution below What I am trying to do is convert a full size picture into a 160x120 thumbnail. It works great with jpg and jpeg files of any size, but not with png. ImageMagick command: /opt/local/bin/convert '/WEBSERVER/images/img_0003-192-10.png' -thumbnail x32...

How come the unix locate command still shows files/folders that aren't there any more?

I recently moved my whole local web development area over to using MacPorts stuff, rather than using MAMP on my Mac. I've been getting into Python/Django and didn't really need MAMP any more. Thing is, I have uninstalled MAMP from the Applications folder, with the preferences file too, but how come when I run the 'locate MAMP' command i...

Strange issue -- PHP / ImageMagick / Ghostscript

Hi All, This question was close, but doesn't do the trick. I am trying to convert a pdf into a jpg (for thumbnailing). Here is the command I am running: convert -quality 100 -density 200x200 /path/file.pdf /path/file.jpg I have mamp pro 1.7.2,imagemagick, ghostscript all properly installed and working. This command works perfectly fr...

Trouble getting MAMP to work with PDO-MySQL

Problem: Doctrine test application isn't working because of driver issue. Setup: Mac OS X 10.5.7 (not server), MAMP 1.7.2, Doctrine 2.2.1, PHP 5.2.6 I am following the doctrine documentation to try to set up a development environment on my local machine. The output of running the page from the web (through MAMP) shows an empty screen (...

Collaborative Development Overview Diagram

I am going to be implementing a development environment for some young developers and I am looking for a diagram to describe the ideal programming environment. Basically what I am setting up is an environment that consists of the following pieces IDE (Eclipse) Local Development Environment (XAMPP/MAMP) Repository (SVN) Test Environmen...

php mail on MAMP

hi, I need to test some script using PHP's mail. I'd like to be able to finally get this working locally. I am using MAMP. Is there a way to do this without installing any third party software? I've done some searching on this but haven't found anything appealing. Thanks ...

Imagemagick not installing with MAMP

So I read this article on how to install Imagemagick with MAMP, and did exactly how it said, (sudo port install Imagemagick, everything installed okay, then change the envvars file), yet I still get this error when trying to run a script that uses it: Fatal error: Class 'Imagick' not found in /Applications/MAMP/htroots/active/includes/i...

MAMP & localhost email

how does one go about getting email to work in a default MAMP installation? not sure if this is relevant but im trying to send emails from a codeigniter app and whatever protocol i use (mail, sendmail, or smtp), emails never arrive anyone? ...

Proper group/permissions using MAMP site

I'm building a website using MAMP on OS10 Leopard. I'd like to be able to set an publicly accessible upload directory to 0775 and not 0777. I've tried a bunch of combinations in the "Permissions" panel in MAMP. I can get the site running under "www" group and 0775 works great for uploading, but then I cannot edit or delete the uploaded f...

mamp make the filenames case insensitive

in mamp which uses apache is there a way to make the files names filenames case insensitive? ...

how to backup your mamp pro mysql dbs?

while I find the apache portion of mamp pretty easy to backup, what is everyone using or how are you performing a scheduled backup of your mysql databases? It would be kinda annoying to export each DB one by one. thank you ...

how to connect mysql workbench with mamp pro?

what is the fix to connect the mysql workbench tool with the mamp pro mysql db? ...

setup an ftp server with mamp pro

I am currently using mamp pro on osx for local development and I want to mirror my mosso cloud setup as much as possible. has anyone setup an ftp server with their local installation of mamp pro using sites i.e. local.mydev.com through apache? hope everyone had a great holiday. ...

MAMP: Adding ODBC or SQL Server support

I need to talk to a remote SQL Server 2000 database. I use MAMP locally and I would like to continue using it. However, I'm lost as to what I need to do to add support for talking to this database from PHP. It looks like either the ODBC or SQL Server functions in PHP will work, but those modules aren't installed by default. Can someo...

Has anyone setup tomcat to run virtual hosts using mod_jk

I work in OSX primarily with mostly PHP. Normally I work locally using MAMP and virtual hosts setup in my httpd.conf so that I can point a browser to http://some-project and have as many projects as I need setup. We have a project coming up where we need to serve JSP pages and I would like to set up my local apache server to serve only...

Can't diagnose my MySQL root user problem

Hi all, I have a problem with the MySQL root user in My MySQL setup, and I just can't for the life of me work out how to fix it. It seems that I have somehow messed up the root user, and my access to databases is now very erratic. For reference, I'm using MAMP on OS X to provide the MySQL server. I'm not sure how much that matters thou...

Adding ODBC to MAMP

I've spent the last couple days trying to get ODBC installed and I am about to lose my mind, I'm way out of my element here. Please can some one help me before I fall to pieces. Here's what I'm trying: 1) Download 1.7.2 source code package found here (I'm using 1.7.2): http://www.mamp.info/en/downloads/index.html 2) CD into the php dir...

Removed MAMP from OS X, dyld still using MAMP libraries

When I try and use a populator or sphinx on a Ruby app I keep receiving dyld errors. I used to use MAMP on OS X Leopard but since I've upgraded to Snow Leopard and am now using standalone MySQL (10.5 64-bit). $ rake ts:index Would return dyld: Library not loaded: /Applications/MAMP/Library/lib/mysql/libmysqlclient.15.dylib Referenc...