diff --git a/admin_manual/configuration_files/external_storage/local.rst b/admin_manual/configuration_files/external_storage/local.rst index 3abdf386d..064fa82d7 100644 --- a/admin_manual/configuration_files/external_storage/local.rst +++ b/admin_manual/configuration_files/external_storage/local.rst @@ -15,8 +15,8 @@ are on Ubuntu Linux:: sudo -u www-data chown -R www-data:www-data /localdir sudo -u www-data chmod -R 0750 /localdir -See :ref:`label-setting-strong-perms` for information on finding your HTTP -user with ``phpinfo``. +See :ref:`label-setting-strong-perms` for information on correct file permissions, +and find your HTTP user :ref:`label-phpinfo`. In the **Folder name** field enter the folder name that you want to appear on your ownCloud Files page. diff --git a/admin_manual/configuration_server/performance_tuning.rst b/admin_manual/configuration_server/performance_tuning.rst index fe22edcdf..badd6813e 100644 --- a/admin_manual/configuration_server/performance_tuning.rst +++ b/admin_manual/configuration_server/performance_tuning.rst @@ -11,28 +11,6 @@ deploying them on production servers. If you wish to add tips to this page, please put them in the relevant section. If there isn't an appropriate section then start a new one. -PHP Version and Information ---------------------------- - -You will need to know your PHP version and configurations. To do this, create a -plain-text file named **phpinfo.php** and place it in your Web root, for -example ``/var/www/html/phpinfo.php``. (Your Web root may be in a different -location; your Linux distribution documentation will tell you where.) This file -contains just this line:: - - - -Open this file in a Web browser by pointing your browser to -``localhost/phpinfo.php``: - -.. figure:: ../images/phpinfo.png - -Your PHP version is at the top, and the rest of the page contains abundant -system information such as active modules, active `.ini` files, and much more. -When you are finished reviewing your information you must delete -``phpinfo.php``, or move it outside of your Web directory, because it is a -security risk to expose such sensitive data. - ownCloud Server Tuning ---------------------- @@ -65,7 +43,7 @@ PHP safe mode ^^^^^^^^^^^^^ PHP safe mode has to be turned off. It is deprecated and has been removed in -newer PHP versions. Verify its status with ``phpinfo``, and look for +newer PHP versions. Verify its status with :ref:`label-phpinfo`, and look for ``safe_mode on/off``. If it is on, then add this line to ``php.ini`` to turn it off:: diff --git a/admin_manual/installation/installation_wizard.rst b/admin_manual/installation/installation_wizard.rst index 0bb464b28..3b92766a6 100644 --- a/admin_manual/installation/installation_wizard.rst +++ b/admin_manual/installation/installation_wizard.rst @@ -123,14 +123,7 @@ configure ownCloud, create, modify and delete your data files, and install apps via the ownCloud Web interface. You can find your HTTP user in your HTTP server configuration files. Or you can -use ``phpinfo``. To do this, create a plain text file with -the following line in it:: - - - -Name it ``phpinfo.php`` and place it in your Web root, and then -open it in a Web browser, for example ``http://localhost/phpinfo.php``. Look -for the **User/Group** line. +use :ref:`label-phpinfo` (Look for the **User/Group** line). * The HTTP user and group in Debian/Ubuntu is ``www-data``. * The HTTP user and group in Fedora/CentOS is ``apache``. diff --git a/admin_manual/installation/php_54_installation.rst b/admin_manual/installation/php_54_installation.rst index 75f280ac7..7ef38a507 100644 --- a/admin_manual/installation/php_54_installation.rst +++ b/admin_manual/installation/php_54_installation.rst @@ -40,9 +40,8 @@ Then restart Apache:: service httpd restart -Verify with ``phpinfo`` that your Apache server is using PHP 5.4 and loading -the correct modules; see -https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/performance_tuning.html#php-version-and-information to learn how to use ``phpinfo``. +Verify with :ref:`label-phpinfo` that your Apache server is using PHP 5.4 and loading +the correct modules. CentOS 6 -------- @@ -75,8 +74,5 @@ Finally, restart Apache:: service httpd restart -Verify with ``phpinfo`` that your Apache server is using PHP 5.4 and loading -the correct modules; see -https://doc.owncloud.com/server/8.1/admin_manual/configuration_server/ -performance_tuning.html#php-version-and-information to learn how to use -``phpinfo``. +Verify with :ref:`label-phpinfo` that your Apache server is using PHP 5.4 and loading +the correct modules. diff --git a/admin_manual/installation/source_installation.rst b/admin_manual/installation/source_installation.rst index c4b776b21..547a679e8 100644 --- a/admin_manual/installation/source_installation.rst +++ b/admin_manual/installation/source_installation.rst @@ -335,7 +335,7 @@ correct locations. Please keep in mind that it is possible to create different settings for ``php-cli`` and ``php-fpm``, and for different domains and Web sites. -The best way to check your settings is with ``phpinfo()``. +The best way to check your settings is with :ref:`label-phpinfo`. **Maximum upload size** diff --git a/admin_manual/issues/index.rst b/admin_manual/issues/index.rst index f34b7846e..4a6263c53 100644 --- a/admin_manual/issues/index.rst +++ b/admin_manual/issues/index.rst @@ -77,8 +77,8 @@ the `Firebug extension `_. .. _label-phpinfo: -phpinfo -^^^^^^^ +PHP Version and Information +^^^^^^^^^^^^^^^^^^^^^^^^^^^ You will need to know your PHP version and configurations. To do this, create a plain-text file named **phpinfo.php** and place it in your Web root, for @@ -88,14 +88,16 @@ contains just this line:: -Open this file in a Web browser. e.g. ``http://localhost/phpinfo``. Your PHP -version is at the top, and the rest of the page contains abundant system -information such as active modules, active `.ini` files, and much more. When -you -are finished reviewing your information you must delete ``phpinfo.php``, or -move -it outside of your Web directory, because it is a security risk to expose such -sensitive data. +Open this file in a Web browser by pointing your browser to +``localhost/phpinfo.php``: + +.. figure:: ../images/phpinfo.png + +Your PHP version is at the top, and the rest of the page contains abundant +system information such as active modules, active `.ini` files, and much more. +When you are finished reviewing your information you must delete +``phpinfo.php``, or move it outside of your Web directory, because it is a +security risk to expose such sensitive data. Debugging Sync Issues ^^^^^^^^^^^^^^^^^^^^^