Home
DevCentral
Search
Configure Global Search
Log In
Transactions
D279
Change Details
Change Details
Old
New
Diff
**To test the configuration** Run a script with `phpinfo()`: ```name=test-php7.cgi,lang⁼php #!/opt/php/bin/php-cgi <?php phpinfo(); ``` ``` $ ./test-php7.cgi | grep force_redirect <tr><td class="e">cgi.force_redirect</td><td class="v">0</td><td class="v">0</td></tr> ``` **To test the Makefile** Install it, then see it created a new (identical) file: ``` $ md5 /opt/php/lib/php.ini MD5 (/opt/php/lib/php.ini) = b7d3799f3992a4f3a49d209080bdf363 $ cd /home/dereckson/dev/nasqueron/ops/operations/roles/shellserver/PHP7/ $ make install install -m 0644 files/php.ini /opt/php/lib/ $ md5 /opt/php/lib/php.ini MD5 (/opt/php/lib/php.ini) = b7d3799f3992a4f3a49d209080bdf363 $ ls -lhU /opt/php/lib/php.ini -rw-r--r-- 1 root wheel 616B Feb 10 02:14 /opt/php/lib/php.ini ```
**To test the configuration** Run a script with `phpinfo()`: ```lang=php,name=test-php7.cgi #!/opt/php/bin/php-cgi <?php phpinfo(); ``` ``` $ ./test-php7.cgi | grep force_redirect <tr><td class="e">cgi.force_redirect</td><td class="v">0</td><td class="v">0</td></tr> ``` **To test the Makefile** Install it, then see it created a new (identical) file: ``` $ md5 /opt/php/lib/php.ini MD5 (/opt/php/lib/php.ini) = b7d3799f3992a4f3a49d209080bdf363 $ cd /home/dereckson/dev/nasqueron/ops/operations/roles/shellserver/PHP7/ $ make install install -m 0644 files/php.ini /opt/php/lib/ $ md5 /opt/php/lib/php.ini MD5 (/opt/php/lib/php.ini) = b7d3799f3992a4f3a49d209080bdf363 $ ls -lhU /opt/php/lib/php.ini -rw-r--r-- 1 root wheel 616B Feb 10 02:14 /opt/php/lib/php.ini ```
**To test the configuration** Run a script with `phpinfo()`:
```
```lang=php,
name=test-php7.cgi
,lang⁼php
#!/opt/php/bin/php-cgi <?php phpinfo(); ``` ``` $ ./test-php7.cgi | grep force_redirect <tr><td class="e">cgi.force_redirect</td><td class="v">0</td><td class="v">0</td></tr> ``` **To test the Makefile** Install it, then see it created a new (identical) file: ``` $ md5 /opt/php/lib/php.ini MD5 (/opt/php/lib/php.ini) = b7d3799f3992a4f3a49d209080bdf363 $ cd /home/dereckson/dev/nasqueron/ops/operations/roles/shellserver/PHP7/ $ make install install -m 0644 files/php.ini /opt/php/lib/ $ md5 /opt/php/lib/php.ini MD5 (/opt/php/lib/php.ini) = b7d3799f3992a4f3a49d209080bdf363 $ ls -lhU /opt/php/lib/php.ini -rw-r--r-- 1 root wheel 616B Feb 10 02:14 /opt/php/lib/php.ini ```
Continue