You can use this project as substitute of phpinfo().
- Run the command
npm install
- Edit the
appConfig.js
file - Change the path of
Homepage
inpackage.json
(it has to contain the subdir where the entire project is stored, eg. http://www.google.com/info) public/server.php
will be the server that will provide php information to this apppublic/.htaccess
will make the router works (apache2). If you change thesubdir
variable in appConfig.js you have to change the last line in .htaccess (RewriteRule ^ /info/index.html [L]
)- Run the command
npm run build
to build the project - Create a directory on your
public_html/
called info (this is the subdir variable) and copy all the files you will find in thebuild/
directory into it - If you want you can decomment the first 3 lines in .htaccess and change the IP, that will allow only the same IP to access the directory