This forum is no longer active. Please post your questions to our new community site

Forums MAMPStack

PHP extension mysqli

Subscribe to PHP extension mysqli 18 post(s), 5 voice(s)

 
Avatar pfoomer 16 post(s)

I am trying to run a third party app , using latest MAMP.

It requires the mysqli extension, however there is no extension directory in php tree.

is mysqli compile in PHP, how may I check?

Tks

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Sorry, this feature should be enable during the PHP compilation and the current version of MAMP Stack does not include it. We will try to include in the next version.

Cheers.

 
Avatar pfoomer 16 post(s)

Hi

I have downloaded the latest MAMPStack (1.1.3), but it appears mysqli extension is not present?.

Please can you confirm this?

Tks

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Sorry mysqli was not included in this version, my apologizes. We have only updated PHP to 5.2.10 for this version and we have been working to release the new VMWare images. We will try to add mysqli extension for the next version.

Cheers.

 
Avatar PKHunter 18 post(s)

How can I recompile PHP myself? I want to include both the mysqli and the pgsql components from PHP. Any advice? I cannot wait until you grapple with VMWare and all that. So would appreciate any pointers. Thanks.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

If the new Stack pass all our tests, we will release a new version tomorrow with mysqli extension enabled.

Cheers.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

We have just released the 1.1-4 version of MAMPStack which includes the mysqli extension. Sorry for the delay. Enjoy!

 
Avatar gd 56 post(s)

Hi, I have used MAMP 1.1.2 for a while. How can I upgrade to 1.1.4 without installing all the applications and contents?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Sorry, BitNami Stacks does not support upgrades currently. You should install (in a different folder to preserve your old data) and copy the apps and restore the databases manually.

Cheers.

 
Avatar pfoomer 16 post(s)

Hi

Thanks for including mysqli in the latest 1.1.14 version

Persephone

 
Avatar gd 56 post(s)

Hi, beltran,

You mean that after I install the new version, I can copy the apps to the new folder and restore the databases. I do not need to the app’s modules for installation.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

It is not necessary but you must copy the new Stack in the same path that the previous one. It is also necessary to copy the configuration file /apache2/conf/httpd.conf.

Cheers.

 
Avatar gd 56 post(s)

Hi, beltran,

I tried but it seems something get wrong. I export all databases in MySQL and import it to the new system. I get an error message when the process reaches the information_schema database. When I try to use the new system through the web site I get messages of cannot connect the database in wordpress and Joomla. Any suggestions?

 
Avatar victoria Administrator 134 post(s)

Hi gd,

MAMPStack 1.1-2 included the same version of MySQl so copy the old databases to the new one should work. Can you try copying directly the contain of the old data folder in the mysql directory in the new one? Notice that instead of copying the folder ‘data’ you should copy the folder inside: the mysql folder and the bitnami_xxx folders (bitnami_wordpress, bitnami_joomla). Please let us know if this work for you.

Cheers,

Victoria.

 
Avatar gd 56 post(s)

Hi, Victoria,

I have tried your solution but it fails.

Let me clarify which steps I peform:

1. Rename the current working MAMPStack to a backup name.
2. Install the new version of MAMPStack into the same directory of the original MAMPStack.
3. Copy the /apache2/conf/httpd.conf from the old MAMPStack to the new MAMpStack.
4. Copy the Wordpress and the Joomla from the old APPS to the new APPS of the new MAMPStack.
5. Copy all the old databases(bitnami_joomla, bitnami_wordpress), MySQL and some other personal databases under ole MAMP to the new MAMP
6. Restart the system and try to connect to the Wordpress website but it only ask me to perform the installation. Joomla is in the state of the beginning with no user information.

Any suggestion?

 
Avatar victoria Administrator 134 post(s)

Hi,

Did you also use the same port configuration? From the phpMyAdmin web application (http://localhost:8080/phpmyadmin) can you see the databases you copied? When I have a chance I’ll try to reproduce the steps and see if it works for me.

 
Avatar victoria Administrator 134 post(s)

Hi gd,

I’ve tested this with Joomla! and it works for me. Have you made it works?

 
Avatar gd 56 post(s)

Hi, thanks for your effort.

I have used the same port configuration. I shall try the test again to see what the problem lies.

Forums MAMPStack