Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : switching from MAMP to AMPPS for redis



Threaded Mode | Print  

 switching from MAMP to AMPPS for redis, PHP extensions (1 Replies, Read 22914 times)
cabusmichael
Group: Member
Post Group: Newbie
Posts: 1
Status:
Howdy y'all
  I have been using MAMP for a while without difficulty; until I began to follow a tutorial

Use Redis instead of MySQL for CodeIgniter Session Data

I want to use socket.io...but, it seems MAMP and PHP extensions are an impossibility...commands like phpize just don't work...

Would that command work in AMPPS?

How hard would it be to switch out a site from MAMP to AMPPS?

Thanks so much,

Michael
IP: --   

switching from MAMP to AMPPS for redis
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

phpize is working in Ampps. Just that phpize is not defined in the PATH, so you will have to use whole path instead of just phpize.

Using phpize in general in Ampps:
1. cd /src/of/php/extension
2. /Applications/AMPPS/php/bin/phpize
3. ./configure --help (Just to check the options, options are different for different PHP extension)
4. CPPFLAGS="-m32 -I/Applications/AMPPS/extra/include -I/any/other/inclue/path" CFLAGS="-m32" LDFLAGS="-L/Applications/AMPPS/extra/lib -L/any/other/lib/path" ./configure --option1=value1 --option2=value2
5. make
6. sudo make install

>> How hard would it be to switch out a site from MAMP to AMPPS?

There are three basic and important things to look after while shifting a site.

1. Copy the web root folder contents and place it into www directory of Ampps.
2. Using phpMyAdmin, shift the database from MAMP to AMPPS.
3. Now change the Absolute Paths and URLs used in the sites file according to Ampps. Generally it is in config file of the site, but it depends. Also check for the paths and urls in the database.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 11:40 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.053