{"id":1453,"date":"2011-06-03T10:04:57","date_gmt":"2011-06-03T08:04:57","guid":{"rendered":"http:\/\/blog.unelink.es\/?p=1453"},"modified":"2018-08-06T09:41:48","modified_gmt":"2018-08-06T07:41:48","slug":"crear-un-archivo-phpinfo","status":"publish","type":"post","link":"https:\/\/hosting.airetech.es\/blog\/wiki\/php\/crear-un-archivo-phpinfo\/","title":{"rendered":"Crear un archivo phpinfo"},"content":{"rendered":"<p>Existe una funci\u00f3n en php llamada <a href=\"https:\/\/secure.php.net\/manual\/es\/function.phpinfo.php\" target=\"_blank\">phpinfo()<\/a>. Dicha funci\u00f3n imprime toda la configuraci\u00f3n de su archivo php.ini formateada y nos permite conocer la configuraci\u00f3n actual del servidor y para un dominio en concreto y todas las librerias y configuraciones adicionales.<\/p>\n<p>Para obtener dicha informaci\u00f3n, podemos crear un documento php con el siguiente contenido.<\/p>\n<pre>&lt;?php\r\nphpinfo();\r\n?&gt;<\/pre>\n<p>Obtendreis desde el navegador informaci\u00f3n parecida a la siguiente im\u00e1gen:<\/p>\n<p><a href=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2011\/06\/phpinfo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1454 aligncenter\" title=\"phpinfo\" src=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2011\/06\/phpinfo.jpg\" alt=\"\" width=\"650\" height=\"557\" srcset=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2011\/06\/phpinfo.jpg 400w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2011\/06\/phpinfo-300x257.jpg 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Existe una funci\u00f3n en php llamada phpinfo(). Dicha funci\u00f3n imprime toda la configuraci\u00f3n de su archivo php.ini formateada y nos permite conocer la configuraci\u00f3n actual del servidor y para un dominio en concreto y todas las librerias y configuraciones adicionales. Para obtener dicha informaci\u00f3n, podemos crear un documento php con el siguiente contenido. &lt;?php phpinfo(); ?&gt; Obtendreis desde el navegador&nbsp;<a href=\"https:\/\/hosting.airetech.es\/blog\/wiki\/php\/crear-un-archivo-phpinfo\/\" class=\"read-more\">Seguir leyendo<\/a>","protected":false},"author":1,"featured_media":1454,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-1453","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","cat-39-id"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/1453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/comments?post=1453"}],"version-history":[{"count":8,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/1453\/revisions"}],"predecessor-version":[{"id":7156,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/1453\/revisions\/7156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media\/1454"}],"wp:attachment":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media?parent=1453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/categories?post=1453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/tags?post=1453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}