Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

UNRAID's PHP

Featured Replies

This may be a simple question, but one I cannot answer.

 

How can I serve up UNRAID's phpinfo() command on chrome?

 

Also can I install php extensions to UNRAID's php?

Edited by sgt_spike

  • Community Expert

You could create a file called something like 'info.php' containing

<?PHP
echo phpinfo(INFO_ALL);
?>

and place it into /usr/local/emhttp and then use a URL of the form   servername/info.php.   Note, however, that this would not survive a reboot as that location is only in RAM.

 

No idea about installing php extensions.   However even if you succeed then they would need re-applying after every reboot.

 

Perhaps you should mention what it is you are trying to achieve as someone may then have a suggestion.

  • Author
1 hour ago, itimpi said:

You could create a file called something like 'info.php' containing


<?PHP
echo phpinfo(INFO_ALL);
?>

and place it into /usr/local/emhttp and then use a URL of the form   servername/info.php.   Note, however, that this would not survive a reboot as that location is only in RAM.

 

No idea about installing php extensions.   However even if you succeed then they would need re-applying after every reboot.

 

Perhaps you should mention what it is you are trying to achieve as someone may then have a suggestion.

I was wanting to install composer to be able to use their packages.  In doing so, PHP needs phar extension and the iconv extension install for composer to install correctly

  • Community Expert

OK.

 

key point is that nothing you install will survive a reboot, so you need to work out the command sequence required and then need to run it on every boot.    You can use something like the User Scripts plugin to help with running Scripts when the Array first starts.

  • Author
12 minutes ago, itimpi said:

OK.

 

key point is that nothing you install will survive a reboot, so you need to work out the command sequence required and then need to run it on every boot.    You can use something like the User Scripts plugin to help with running Scripts when the Array first starts.

composer does have a docker that might be better to use, however I'm not sure how to set it up on my own

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.