Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I know this sounds like it's backwards, but please bear with me. I developed a site recently with Couch. It's up and running on the Web. I developed it in situ, directly on my client's server.

I now want to install the whole thing onto my local MAMP setup (on my Mac).

I followed the instructions in the documentation to the letter (I believe), but I am getting a strange message when I try and access Couch to install it : "MySQL extension missing from your host's PHP installation"

Here's what I did :
    Downloaded entire site, put it into my MAMP "htdocs" folder.
    Using phpMyAdmin, I created an empty database with the right name (couch).
    Using the "gen_dump.php" file, I created the "install_ex.php file", downloaded it and put it in my local Couch folder.
    Changed the "config.php" settings to work with MAMP (root/root and Pretty URLs=0).
    Tried to access localhost:8888/my_site/couch/index.php, and got the message quoted above.

All my other MAMP sites are working fine, so both mySQL and PHP are working properly.
Not sure what to do next. Can anyone help here? This is with Couch 1.4.7 by the way.
Thanks!
I searched for this error message in source files of couch and it was found only once, where PHP was asked about mysql
if( !extension_loaded('mysql') ){


I think, you should check something in your installation. I may sound dumb but without real acquaintance with MAMP on Mac I sense that newly created folder for the new website is not registered somehow as domain and therefore not served properly?
Maybe try to see if MYSQL is present in phpinfo(); output, if called from the new folder. (place phpinfo(); in test.php and run in browser)
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
OK guys, don't worry, I found the issue. It was my fault. My local MAMP was running PHP 7.0 instead of PHP 5.6. I switched it back, and am now seeing the Couch installation screens OK.

Ah that's beautiful. The install went fine. The site is working perfectly on my Mac. This CMS kicks serious ass! Bravo to KK!

Sorry to bother you.
3 posts Page 1 of 1