Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Ampps 3.7 unable to configure PHP 7.1



Threaded Mode | Print  

 Ampps 3.7 unable to configure PHP 7.1, Extensions are not saved (3 Replies, Read 4709 times)
kosmiq
Group: Member
Post Group: Newbie
Posts: 5
Status:
So I updated Ampps 3.6 to 3.7 finally. Ran the instructions here: http://www.ampps.com/wiki/How_to_update_Ampps_Manually (but I did download http://files.ampps.com/Ampps-mac-3.7.7z instead of course).

Update went fine, all PHP versions work per se. But on PHP 7.1 extensions will not work. Restoring the default configuration for PHP 7.1 leaves me with an empty list of extensions, and changing any extension setting won't save.

Reproduce:
Upgrade to Ampps 3.7
  • Change PHP version to 7.1
  • Be amazed of all non-working MySQL dependent installations (like WordPress)
  • Configure PHP 7.1 and "Apply" any extension changes
  • Open the PHP 7.1 conf again and note that any selected extensions are unselected again.


Change PHP version to 7.0 and everything works (it works for 5.6 as well).

Running on a Macbook Pro 15 middle 2015 with MacOS Sierra 10.12.5.

Anyone else experienced this? Anyone else have a solution?
IP: --   

Ampps 3.7 unable to configure PHP 7.1
kosmiq
Group: Member
Post Group: Newbie
Posts: 5
Status:
Well I fixed it.

I started looking around and first I noticed that the path in Ampps/conf/php-7.1.ini was
extension_dir = "{$path}/php-7.1/lib/extensions/ext"

compared to PHP 7.0 where it is
extension_dir = "/Applications/AMPPS/php-7.0/lib/extensions/ext"

So I tried changing it but that did not help.

Then I noticed that the ownership for Ampps/conf/php-7.1.ini was only allowing system to read/write. My own user was not on the list as it was for Ampps/conf/php-7.0.ini.

So I took ownership of the file and made sure the permissions match between 7.0.ini and 7.1.ini. After that it started working. And when I restored the default config for PHP 7.1 extensions came alive and settings can now be saved.

So I guess something with permissions are not correctly set when running the terminal command for upgrading. Perhaps sudo is the culprit.
IP: --   

Ampps 3.7 unable to configure PHP 7.1
Guest
Group: Guest
Status:
I have the same issue. But I am going to perform a clean install now. Because changing PHP versions isn't working at all anymore for me...

Also your method before re-installing is not working for me.

Running: Ammps 3.7, Windows 10
IP: --   

Ampps 3.7 unable to configure PHP 7.1
Guest
Group: Guest
Status:
I can confirm that Re-installing (So not updating), will make it work again.

I can change versions now.
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 29, 2024, 7:18 am.

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