User Tools

Site Tools


nginx_php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nginx_php [2023/01/28 20:51] – [Configuration Files] adminnginx_php [2023/01/28 21:10] (current) – [Finish] admin
Line 165: Line 165:
 service nginx restart && service php${PHP_VER}-fpm restart service nginx restart && service php${PHP_VER}-fpm restart
 </code> </code>
 +
 +Test with these commands:
 +<code>
 +cd /home/${DOMAIN}/www
 +cat >phpinfo.php <<EOF
 +<?php
 +phpinfo( );
 +?>
 +EOF
 +</code>
 +Now bring up a browser and go to http://YOUR_DOMAIN/phpinfo.php.
 +
 +Where YOUR_DOMAIN is the value you set into ${DOMAIN} earlier.
 +
 This is somewhat tested.  This is somewhat tested. 
  
nginx_php.1674935470.txt.gz · Last modified: 2023/01/28 20:51 by admin