Delete the # from #LoadModule php7_module libexec/apache2/libphp7.so.Press Ctrl+W which will bring up a search.Open Terminal and type sudo nano /etc/apache2/nf and press enter.Thankfully High Sierra already comes with PHP 7.1!!!
PHP VIEWER FOR MAC UPGRADE
This caused users to get annoyed because it didn’t come with PHP 7, so you’d have to go through extra work to upgrade from PHP 5 to PHP 7.
PHP VIEWER FOR MAC MAC
Before High Sierra (version 10.13), Mac came with PHP 5 installed.
PHP VIEWER FOR MAC INSTALL
Mac already comes with PHP, so you don’t need to install it from PHP.net.
I can't figure out what's different, though. Somehow, the way the viewer is invoked from the menu makes it work. On the other hand, if I use the "Show Character Viewer" command from the Input menu, double clicking a character there will insert it into my text. However, if I double click a character in the palette, it doesn't insert that character into my text. That works very well to make the palette show or hide. I use the following, which I set up as a service so I could assign a keyboard shortcut to it: on isRunning(applicationName) tell application "System Events" set appNameIsRunning to exists ¬ (processes where name is applicationName) end tell return appNameIsRunningend isRunningon run if isRunning("CharacterPalette") then tell application "CharacterPalette" to quit else - tell application "CharacterPalette" to activate tell application "Finder" to open item "System:Library:Input Methods:CharacterPalette.app" of the startup disk end if return inputend run property KeyboardViewerIsRunning : ""try tell application "System Events" if ((count (every process whose name is "KeyboardViewer")) is 0) then tell application "Finder" open item ":System:Library:Input Methods:KeyboardViewer.app" of the startup disk end tell set KeyboardViewerIsRunning to false else set KeyboardViewerIsRunning to true end if end tell if (KeyboardViewerIsRunning) then tell application "KeyboardViewer" to quit else tell application "KeyboardViewer" to activate end ifon error msg number errNum displayError(msg, errNum) quitend try- Error Messaging on displayError(msg, errNum) set msg to styleMsg(msg) display dialog "\"Cannot toggle KeyboardViewer\" " & msg & " Error number " & errNum & "."end displayErroron styleMsg(msg) set firstLetter to character 1 of msg considering case if firstLetter is not in "abcdefghijklmnopqrstuvwxyz" then set firstLetter to makelower(firstLetter) end considering if length of msg > 1 then set msgRemainder to text 2 thru (length of msg) of msg end if set msg to firstLetter & msgRemainder return msgend styleMsgon makelower(theText) set newText to "" repeat with i from 1 to (length of theText) set newText to newText & lower(character i of theText) end repeat return newTextend makeloweron lower(_letter) considering case set m圜har to offset of _letter in "ABCDEFGHIJKLMNOPQRSTUVWXYZ" if m圜har > 0 then return character m圜har of "abcdefghijklmnopqrstuvwxyz" else return _letter end if end consideringend lower Save it as an app to ~/Library/Scripts and assign it a keyboard shortcut using your favorite global shortcuts utility. Keyboard Viewer: Get this script tell application "Finder"open item "System:Library:Components:ponent: Contents:SharedSupport:KeyboardViewerServer.app" of the startup diskend tell Character Palette: Get this script tell application "Finder"open item "System:Library:Components:ponent: Contents:SharedSupport:CharPaletteServer" of the startup diskend tellOnce the scripts are created, you can put them in your Dock, Sidebar, assign a hot key (via your favorite third-party tool), etc. If you don't like using the Input Menu (System Preferences: International: Input Menu tab) to activate the Keyboard Viewer and Character Palette, here are two AppleScripts that do the same thing: