Softaculous


Topic : PHP version won't change


1

Posted By: kegbuna on June 13, 2014, 2:41 pm
Hello,

I'm running AMPPS, which is very useful. However, I'm attempting to upgrade the PHP version, and when I change it on the panel, the services restart. However, going back into the AMPPS admin section shows PHP 5.3.28. I've tried manually moving php 5.4 into the php directory, restarting, and stuff like that but the PHP version never changes. It's weird cause I know it's using the /php/ directory.

Has anyone else run into this problem? I may be missing a step somewhere.

Posted By: kegbuna on June 13, 2014, 4:49 pm | Post: 1
I should add, I went to the PHP Info page and it shows version 5.5.12 (logs also reflect this). However, the AMPPS admin page and softaculous still detect php 5.3.28. It's very confusiong

Posted By: tidus on June 18, 2014, 7:15 am | Post: 2
Hi,

Admin Section will always detect PHP version 5.3.28 now, as Softaculous always works on PHP 5.3

But, if you check PHP Info you should get a proper current active PHP version.


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

Posted By: kegbuna on June 18, 2014, 2:12 pm | Post: 3
Great, thanks for the info. I have one concern though, certain scripts (such as Laravel) require PHP 5.4 or higher. Do I just manually create that project or can I use still use softaculous somehow?

Posted By: tidus on June 18, 2014, 2:19 pm | Post: 4
Hi,

You can switch to any PHP version. Softaculous will always work and will always be on PHP 5.3


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

Posted By: DAJD on June 23, 2014, 8:26 pm | Post: 5
Hi:

Very same issue. Fully understand how to change PHP versions and PHP info showing 5.5.12 running when checked from AMPPS Home section. However, it appears that installation scripts - in my instance Moodle 2.7 - are checking against/detecting PHP version used for the AMPPS Admin Section (PHP 5.3.28). Any thoughts as to how one might get around this? 
Many thanks.

Posted By: DAJD on June 23, 2014, 8:32 pm | Post: 6
Hi,

Should have pointed out that Moodle 2.7 requires PHP 5.4.4 at min. and the installation script comes to a juddering halt when it thinks 5.3.28 is running.


Posted By: tidus on June 24, 2014, 10:55 am | Post: 7
Quote From : DAJD June 23, 2014, 8:32 pm
Hi,

Should have pointed out that Moodle 2.7 requires PHP 5.4.4 at min. and the installation script comes to a juddering halt when it thinks 5.3.28 is running.



Hi,

Okay we will fix it.


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

Posted By: sram on June 26, 2014, 7:47 am | Post: 8
Hi, even i have the same problem, when i try to install moodle 2.7 into my localhost, it says "Required PHP version greater than equal to 5.4.4 AND found version is : 5.3.28", and when i change the version in ampps to 5.5 ot 5.4 it doesn't change and because of this i am unable to install and start my new project, please help me in this regard.



Posted By: spinozarabel on July 15, 2014, 9:01 am | Post: 9
Hello,

I have the exact same problem of Moodle 2.7 one click install not working due to wrong version of PHP detected. Further PHP5.5 refuses to be changed to only 5.4! I am running on WIndows 7.

Is this issue fixed already or still being fixed?

Thanks for your help.

Posted By: tidus on July 15, 2014, 9:51 am | Post: 10
Hi,

We have already fixed this. Please wait for the next version release of Softaculous in Ampps.

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

Posted By: Rift on July 17, 2014, 6:23 am | Post: 11
Can we get an expected release date? I'm having this issue too.

Thank, guys!

Posted By: luisk on July 22, 2014, 5:10 am | Post: 12
Hello,

any news about this?
I'm having the same issue.

Thanks!

Posted By: tidus on July 23, 2014, 7:54 am | Post: 13
Hi,

Please find the attached patch and replace it with Ampps/ampps/softaculous/enduser/main/functions.php. Keep a copy of current functions.php, just in case required.




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

Posted By: luisk on July 24, 2014, 11:37 pm | Post: 14
Hello, thanks so much for the response.

I'm getting this error now:

Laravel is not compatible with AMPPS.

Thanks.


Posted By: ketan on July 25, 2014, 6:39 am | Post: 15
Hi,

Which OS you are using?

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+

Posted By: luisk on July 25, 2014, 1:04 pm | Post: 16
Hi,

Windows 8.1

Posted By: tidus on July 25, 2014, 1:21 pm | Post: 17
Hi,

We have enabled Laravel on AMPPS version of Linux and Mac OS X today.

Laravel in Windows requires extra steps to install(programmatically), we are checking if its possible on windows to automate.

Will keep you updated with this.


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

Posted By: luisk on July 25, 2014, 1:56 pm | Post: 18
Ah ok, thank you very much!

Posted By: Dukeman on August 4, 2014, 10:02 pm | Post: 19
Hello, I am new on here and trying to get a website going but can't seem to install it from Ampps.  I get MySQL errors and wrong version of software.  I am trying to install on my local computer to build a site before putting it on the web.  I also got an error about textfile could not be found, can anyone help me please?
Thank you


Quote From : tidus July 23, 2014, 7:54 am
Hi,

Please find the attached patch and replace it with Ampps/ampps/softaculous/enduser/main/functions.php. Keep a copy of current functions.php, just in case required.



Posted By: Dukeman on August 4, 2014, 10:13 pm | Post: 20
Hello, I have installed Windows 8.1 but can't seem to get the software toinstall without errors.  On a local machine, is the installation located in the Ampps directory or somewhere else.  I don't see the attachment as mentioned above for the patch for ampps I guess.


Posted By: Dukeman on August 4, 2014, 10:14 pm | Post: 21
Hello, I have installed Windows 8.1 but can't seem to get the software toinstall without errors.  On a local machine, is the installation located in the Ampps directory or somewhere else.  I don't see the attachment as mentioned above for the patch for ampps I guess.


Posted By: Rift on August 4, 2014, 10:31 pm | Post: 22
Quote From : Dukeman August 4, 2014, 10:14 pm
Hello, I have installed Windows 8.1 but can't seem to get the software toinstall without errors.  On a local machine, is the installation located in the Ampps directory or somewhere else.  I don't see the attachment as mentioned above for the patch for ampps I guess.



Make a new thread about installation problems. Your problem is off-topic to this thread.

You're probably just having a problem installing it all.

Posted By: kegbuna on August 5, 2014, 1:18 am | Post: 23
I think I'd recommend just going with npm and composer, especially on windows. There are packages you may need so you may as well get used to the command line tools.

Posted By: Dukeman on August 5, 2014, 1:49 am | Post: 24
Thanks for the replies. I will do some reading and figure this out.Cheers

Posted By: ketan on August 5, 2014, 6:48 am | Post: 25
Quote From : Dukeman August 4, 2014, 10:14 pm
Hello, I have installed Windows 8.1 but can't seem to get the software toinstall without errors.  On a local machine, is the installation located in the Ampps directory or somewhere else.  I don't see the attachment as mentioned above for the patch for ampps I guess.



To see/download the attachment, you have to login first. After you are logged in, check again the same post,
http://www.softaculous.com/board/index.php?tid=5517&title=PHP_version_won%27t_change#p20579

Let us know if you still facing the same problem.


-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+

Posted By: alonsocarballo on May 15, 2015, 9:32 am | Post: 26
Just wanted to reply here in case someone is still looking for the answer on how to change the PHP version because it took me more time than I care for to solve this.

1. Download the functions.php file and place it in the folder as suggested above.

2. This is key. If you open AMPPS and go to PHP>Change PHP Version and nothing happens and the application seems to freeze, this means that the PHP version window has opened on another monitor, just not the one you're looking at. You might have to open your monitor configuration panel and change your current monitor as secondary or if you have two monitors, keep them identified as they currently are but change the order around. This is hard to explain, but it works.

Posted By: edub9 on October 8, 2015, 3:23 pm | Post: 27
Quote From : tidus July 23, 2014, 7:54 am
Hi,

Please find the attached patch and replace it with Ampps/ampps/softaculous/enduser/main/functions.php. Keep a copy of current functions.php, just in case required.




I followed your instructions and I still cannot change versions?

I get the following error when trying to update phpmyadmin

The following errors were found :
           
  • Required PHP version greater than equal to 5.5.0 AND found version is : 5.3.29
You will be Upgrading to : phpMyAdmin, Version  : 4.5.0.2
Win 8.1  using AMPPS 4.6.3

Posted By: nikhil89 on October 9, 2015, 10:26 am | Post: 28
Hi,

First Stop Apache and MySQL service from the AMPPS Control Center.

In order to change PHP version please go to AMPPS Control Center -> PHP -> Change PHP Version -> Select the PHP 5.5 and Select 'Apply'

Now start the Apache and MySQL service.

After changing the above version try to upgrade phpMyAdmin and you should not face the above issue.

Please let us know if you need any further assistance.

Posted By: edub9 on October 9, 2015, 3:46 pm | Post: 29
Quote From : nikhil89 October 9, 2015, 10:26 am
Hi,

First Stop Apache and MySQL service from the AMPPS Control Center.

In order to change PHP version please go to AMPPS Control Center -> PHP -> Change PHP Version -> Select the PHP 5.5 and Select 'Apply'

Now start the Apache and MySQL service.

After changing the above version try to upgrade phpMyAdmin and you should not face the above issue.

Please let us know if you need any further assistance.



Thanks! That worked perfectly!

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.