Welcome Guest. Please Login or Register  


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



Threaded Mode | Print  

 php 7 not working (5 Replies, Read 47092 times)
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I cannot change for php7  , when I do it and restart Apache it never starts
IP: --   

php 7 not working
neweragon2
Group: Member
Post Group: Newbie
Posts: 1
Status:
same prob
IP: --   

php 7 not working
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
actually we cannot test in real conditions on localhost
we need Apache 2.4 and PHP7

is there any support here ?
IP: --   

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: --   

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!
BTW: I got the wise bright idea to turn my second (test) computer into a Linux box. I am a long term Windows user but just got an iMac and Macbook so I wanted to add Linux into the mix and be cross-platform from a hardware basis rather fooling with Virtual Desktops...so I will configure my much faster gaming computer sitting around collecting dust as a bare bones with a new install Windows OS for a test computer for my Windows apps. Ampps will be the first and probably the only software installed.

If all goes well with setup and configurations it may very web deployed as the official Ampps server for all my computers in the network. Great for emulating real world editing conditions like Wordpress at the host (I.e. GoDaddy, etc) rather on the same local machine. Something I do with WAMP and my testing apple and android mobile devices through the network connecting directly to WAMP (by setting device IP's in the host file) and opening a website to get true mobile responsive design and usability results (editable even at device level providing there is an app the reads source files) rather using browser emulation.

Hope you get PHP7 up and running...plan on using it as well. Together we will figure it out. Just wanted to be clear since I did suggest the second computer thing  :angel:


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

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!
Quote From : Navee December 6, 2016, 12:16 pm
If all goes well...it may very well be deployed as the official Ampps server...


Sorry for all the posts but I cannot locate the (edit) button and I could not take 'well be' auto-corrected to 'web'


-----------------------
The worst installation to support is when a user installs the application to the Desktop!
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, 2:36 am.

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