diff --git a/downloads-get-instructions.php b/downloads-get-instructions.php index 768600cee..ac232001e 100644 --- a/downloads-get-instructions.php +++ b/downloads-get-instructions.php @@ -25,31 +25,31 @@ if ($_GET['os'] === 'osx') {
On the OSX command line shell, enter:
-+brew install php{$version} -
To enable PHP in Apache add the following to httpd.conf and restart Apache:
-+LoadModule php_module \$HOMEBREW_PREFIX/opt/php/lib/httpd/modules/libphp.so <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> -
Finally, check DirectoryIndex includes index.php
-+DirectoryIndex index.php index.html -
The php.ini and php-fpm.ini file can be found in:
-+\$HOMEBREW_PREFIX/etc/php/{$versionDir}/ -
On the command line shell, enter:
-+sudo apt-get update sudo apt-get install php -
On the command line shell, enter:
-+sudo apt -y install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt install php{$version} -
diff --git a/styles/theme-base.css b/styles/theme-base.css index c28b2a138..96fdf06fa 100644 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -508,6 +508,41 @@ div.classsynopsisinfo_comment { margin-top:1.5rem; } +.phpcode { + background-color: #FFF; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); + border-radius: 0 0 2px 2px; + overflow-x: auto; + display: flex; + align-items: center; + width: 100%; + height: 100%; + padding: 0 1.5rem; + box-sizing: border-box; + margin: 0; +} + +.instructions { + margin-bottom: 2rem; +} + +.instructions p { + margin: 1rem 0; +} + +.instructions-form { + display: flex; + flex-direction: column; + gap: .75rem; + margin-bottom: 2rem; +} + +.instructions-label { + display: flex; + align-items: center; + gap: 8px; +} + .warn { padding: .75rem 1rem; margin: 1.5rem 0 1.5rem 1.5rem;