Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Bugs > Topic : php 7 not working



Normal Mode | Print  

php 7 not working
Navee
Group: Member
Post Group: Newbie
Posts: 7
Status:

The worst installation to support is when a user installs the application to the Desktop!
Greetings, I am unsure of the structure of the AMPPS stack just yet because I am currently working on a project in WAMP and don't want to break and working flow until I am done, but it cannot be that different. There has to be an PHP version directory located in the ampps/bin/php/php(version) in use or something very much like this.

Again I am not sure of how ampps does it but there should also be a .conf (configuration type file of the sort!) Understand that I am not advising you to do this, but as a programmer I would just set it manually although from a tutorial I watched on AMPPS there appears to be a UI to set it.

In WAMP I just copy the .conf file to the version of PHP I want to use or update it to a newer version from a binary download from php.net...and also add/copy the phpForApache.ini and php.ini files to the php version directory I want to use and update the 'extension_dir' path to extension_dir = "C:/wamp/bin/php/php7.0.8/ext" Note: that is IF this apps directory is similar but somewhere there is a way to do this manually. In programming there always is...just have to know which files to edit with Administrative Rights.

This includes installing PECL Libraries such as oAuth library used to communicate with Facebook, Twitter, LinkedIn...ya know the new log in with Facebook protocol instead of signing up the old fashion way.

AGAIN, I am not saying try any of this if you are unfamiliar with updating php versions manually. Don't break your application and need to re-install it, but it should not be that big of an issue until you start editing ini files incorrectly or move them out of their current directory instead of making a copy (as the same filename) as suggested to the desired php version directory. I.e. 3 files, the config, and both ini's as described.

Hopefully an official and certified Ampps moderator will assist. If I actually knew the application installation structure I am sure I would be able to figure it out unless the instructions Microsoft like and are compiled in a DLL, but the Apache, PHP and MySQL are open source stacks so it shouldn't be a problem.

My professional programming advice is to have second cheap computer capable of holding a modern OS of at least Windows 7. Install application there and have a go and manual configurations to learn how to work with things under the hood of the UI. If it breaks at least lol you know what NOT to do on your main system...but always have a second testing computer for the purpose of learning software and catching viruses, infections from malware and bugs there instead of your main workstation computer.

Install and application called DeepFreeze by Faronics on your test machine and NEVER worry about destroying anything because a reboot sets it back to normal no matter how many infections or malicious folder and registry corruptions you get.

Be wise mates and see if you can locate the PHP directory because your 'extension_dir' in the .ini might not be set to the version you want to use.


-----------------------
The worst installation to support is when a user installs the application to the Desktop!
IP: --   


Threads
 erickb   php 7 not working (5 Replies, Read 48027 times)
    |--  neweragon2   same prob   on November 24, 2016, 4:03 am
    |--  erickb   actually we cannot...   on November 24, 2016, 6:29 am
    |--  Navee   Greetings, I am...   on December 6, 2016, 11:52 am
    |--  Navee   BTW: I got...   on December 6, 2016, 12:16 pm
    |--  Navee   If all goes...   on December 6, 2016, 12:25 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 20, 2024, 8:00 am.

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