<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-911205025247203057</id><updated>2025-04-05T21:57:53.643+02:00</updated><category term="PHP"/><category term="Servidor"/><category term="Wordpress"/><category term="Jquery"/><category term="Linux"/><category term="Apache"/><category term="Ubuntu server"/><category term="Validaciones"/><category term="formularios"/><category term="validate"/><category term="CSS3"/><category term="JavaScript"/><category term="Permisos"/><category term="CSS"/><category term="Firewall Linux"/><category term="HTML5"/><category term="Imágenes"/><category term="IpTables"/><category term="caracteres especiales"/><category term="Android"/><category term="Blueprint Css"/><category term="DDNS"/><category term="Fecha"/><category term="Framework"/><category term="Google"/><category term="HTML"/><category term="Links"/><category term="MySQL"/><category term="Programación web"/><category term="Reflexiones"/><category term="Servidor Web"/><category term="Subversion"/><category term="Tortoise"/><category term="Twitter"/><category term="User Agent"/><category term="mysql server"/><category term="symfony"/><category term="$_server"/><category term=".htaccess"/><category term="404"/><category term="API"/><category term="Acortador"/><category term="Anterior"/><category term="Artículos"/><category term="Asturix People"/><category term="Blogger"/><category term="Comandos Linux"/><category term="Complementos Firefox"/><category term="Crear web"/><category term="DNI"/><category term="DynDns"/><category term="Enlaces"/><category term="Error"/><category term="Estadísticas"/><category term="FirefoxOS"/><category term="Fraude"/><category term="Fuentes"/><category term="Funciones"/><category term="Gmail"/><category term="Goo.gl"/><category term="Grub"/><category term="Gráficas"/><category term="IIS"/><category term="Keepass"/><category term="LAMPP"/><category term="PHP JavaScripr"/><category term="PhpSysInfo"/><category term="Prestashop"/><category term="Puerto 80"/><category term="Ranking Navegadores"/><category term="RestFull"/><category term="Router"/><category term="SMC"/><category term="SSH Linux"/><category term="Servicios Linux"/><category term="Siguiente"/><category term="Symfony2"/><category term="Tildes"/><category term="Tutoriiales"/><category term="USB"/><category term="Ubuntu"/><category term="Ventana"/><category term="Versiones"/><category term="Virtual Host"/><category term="Webmin"/><category term="Xampp"/><category term="acentos"/><category term="buddyPress"/><category term="centos"/><category term="chat"/><category term="checkbox"/><category term="comandos"/><category term="cuenta bancaria"/><category term="email"/><category term="fichero host"/><category term="gtalk"/><category term="herramientas"/><category term="incluide"/><category term="input"/><category term="móviles"/><category term="navegadores"/><category term="ofuscar"/><category term="padding"/><category term="parametros"/><category term="permalink"/><category term="plugin"/><category term="repositorio"/><category term="request_uri"/><category term="textarea"/><category term="upgrade PHP"/><category term="usuario mysql"/><category term="variables"/><category term="web"/><category term="windows"/><category term="winscp"/><category term="ñ"/><title type='text'>XandruSoft Web Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>147</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-8856851661087910414</id><published>2022-02-19T15:44:00.000+01:00</published><updated>2022-02-19T15:44:00.474+01:00</updated><title type='text'>Deprecations: Add an explicit @return annotation to suppress this message in codeception</title><content type='html'>&lt;span class=&quot;dropcaps&quot;&gt;El mensaje viene mostrado no por el propio Codeception, sino por &quot;phpunit-bridge&quot;, así que simplemente, eliminando este paquete, se eliminan estos mensajes ;)&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/8856851661087910414/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2022/02/deprecations-add-explicit-return.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8856851661087910414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8856851661087910414'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2022/02/deprecations-add-explicit-return.html' title='Deprecations: Add an explicit @return annotation to suppress this message in codeception'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-724024884844324212</id><published>2020-03-01T21:06:00.003+01:00</published><updated>2020-03-02T17:22:46.463+01:00</updated><title type='text'>Extensiones Visual Code Studio para Symfony 4</title><content type='html'>&lt;span class=&quot;dropcaps&quot;&gt;V&lt;/span&gt;isual Code Studio es uno de los mejores IDE para Mac y Windows que, además, lo podemos utilizar sin necesidad de comprar ninguna licencia.&lt;br /&gt;
&lt;br /&gt;
Desarrollar en Symfony 4 con Visual Code Studio es una de las mejores opciones, siempre y cuando se configuren las extensiones adecuadas.&lt;br /&gt;
&lt;br /&gt;
A continuación te dejo una lista de las extensiones que utilizo para facilitar la vida en el día a día:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Docker&lt;/li&gt;
&lt;li&gt;EsLint&lt;/li&gt;
&lt;li&gt;PHP Intelephense&lt;/li&gt;
&lt;li&gt;Symfony Console&lt;/li&gt;
&lt;li&gt;Symfony for VSCode&lt;/li&gt;
&lt;li&gt;Symfony snippets&lt;/li&gt;
&lt;li&gt;Twig Language&lt;/li&gt;
&lt;li&gt;EditorConfig&lt;/li&gt;
&lt;li&gt;PHP Mess Detector&lt;/li&gt;
&lt;li&gt;PHP DocBlocker&lt;/li&gt;
&lt;li&gt;PHP Namespace Resolver&lt;/li&gt;
&lt;li&gt;Better PHPUnit&lt;/li&gt;
&lt;li&gt;PHP Debug&lt;/li&gt;
&lt;li&gt;GitLens&lt;/li&gt;
&lt;li&gt;Markdown All in One&lt;/li&gt;
&lt;li&gt;Twig Language 2 extension&lt;/li&gt;
&lt;li&gt;VSCode Essentials&amp;nbsp;&lt;/li&gt;
&lt;br /&gt;&lt;/ul&gt;
&lt;div&gt;
¿Utilizas alguna otra que te haya solucionado el problema? Compártela con el resto!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/724024884844324212/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2020/03/extensiones-visual-code-studio-para.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/724024884844324212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/724024884844324212'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2020/03/extensiones-visual-code-studio-para.html' title='Extensiones Visual Code Studio para Symfony 4'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-708865475207988635</id><published>2019-04-09T22:40:00.000+02:00</published><updated>2019-04-09T22:40:11.293+02:00</updated><title type='text'>Cómo conocer el espacio disponible en Linux y qué directorios ocupan más espacio</title><content type='html'>&lt;span class=&quot;dropcaps&quot;&gt;C&lt;/span&gt;onocer el espacio del disco en Linux

Para conocer el tamaño de cada directorio ejecutamos

du -sh -- *

Conocer el tamaño de cada archivo

du -h

Conocer el tamaño y el espacio disponible en los distintos discos

df -h
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/708865475207988635/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2019/04/como-conocer-el-espacio-disponible-en.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/708865475207988635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/708865475207988635'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2019/04/como-conocer-el-espacio-disponible-en.html' title='Cómo conocer el espacio disponible en Linux y qué directorios ocupan más espacio'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-7823943620624527048</id><published>2017-05-09T09:51:00.001+02:00</published><updated>2017-05-09T09:51:15.881+02:00</updated><title type='text'>Activar y usar Let&#39;s Encript en Plesk con Centos</title><content type='html'>Una de las nuevas y flamantes funcionalidades incluidas en Plesk es la instalación de certificados con Let&#39;s Encrypt. Estos certificados son gratuitos y, lo más importante, se queda a verde en el navegador.&lt;br /&gt;
&lt;br /&gt;
Si accedemos a nuestra página por https://dominio.com podremos ver que, si no tenemos ningún certificado activo, aparece en rojo.&lt;br /&gt;
&lt;br /&gt;
Podemos comprobar el estado del certificado en la siguiente dirección &lt;a href=&quot;https://www.digicert.com/help/&quot;&gt;https://www.digicert.com/help/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Tras realizar la instalación de la extensión de forma correcta en Plesk, el problema a la hora de instalar el certificado con Let&#39;s Encript desde Plesk es que no instalaba ningún certificado ni muestra ningún mensaje de error.&lt;br /&gt;
&lt;br /&gt;
Para ver los detalles del problema, ejecutaremos la instalación del certificado a través de línea de comandos&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;/usr/sbin/plesk bin extension --exec letsencrypt cli.php -d domain.com --letsencrypt-plesk:plesk-secure-panel --email email@domain.com&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
El error que nos proporciona es el siguiente:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;Executing /usr/local/psa/admin/plib/modules/letsencrypt/scripts/cli.php failed: filemng failed: filemng: Error occurred during /bin/mkdir command.&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Apuntando a que es un problema de permisos, simplemente ejecutando la siguiente instrucción restauraremos los permisos y ya podremos ejecutar el instalador de forma correcta&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;/usr/local/psa/bin/repair --restore-vhosts-permissions&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
En mi caso, el problema viene de mover directorios entre diferentes espacios de Plesk, lo que origina directorios con distintos permisos dentro de un mismo espacio.&lt;br /&gt;
&lt;br /&gt;
Y con esto tendremos listo y disponible la gestión de certificados con Let&#39;s Encrypt sobre Plesk.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/7823943620624527048/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/activar-y-usar-lets-encript-en-plesk.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7823943620624527048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7823943620624527048'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/activar-y-usar-lets-encript-en-plesk.html' title='Activar y usar Let&#39;s Encript en Plesk con Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-3376422759490580276</id><published>2017-05-08T14:54:00.001+02:00</published><updated>2017-05-08T15:20:54.284+02:00</updated><title type='text'>Allowed memory size Mac / Linux</title><content type='html'>Error:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217728 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 22 &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Solución:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; php -d memory_limit=-1 /usr/local/bin/composer install --verbose --profile   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Solución 2:&lt;br /&gt;
&lt;br /&gt;
Utilizamos este código para ver el límite de memoria&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; php -r &quot;echo ini_get(&#39;memory_limit&#39;).PHP_EOL;&quot;&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
y en php.ini modificamos por esto:&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;memory_limit = -1&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/3376422759490580276/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/allowed-memory-size-mac.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/3376422759490580276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/3376422759490580276'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/allowed-memory-size-mac.html' title='Allowed memory size Mac / Linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11512893239117447902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-8679880666485255096</id><published>2017-05-08T10:54:00.001+02:00</published><updated>2017-05-08T11:19:02.533+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade PHP"/><title type='text'>Actualizar php 5.6 a 7 centos 6 con plesk y remi</title><content type='html'>Uno de los principales problemas y dolores de cabeza cuando gestionamos un VPS o un servidor es instalar y actualizar correctamente todos los servicios y componentes.&lt;br /&gt;
&lt;br /&gt;
Para actualizar la versión de PHP, de PHP5.6 a PHP 7 en un Centos en el que tenemos instalado Plesk, debemos ejecutar los siguientes comandos:&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Descargar el repositorio&amp;nbsp;&lt;/b&gt;&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;
Activar el repositorio&amp;nbsp;&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;yum install yum-utils
yum-config-manager --enable remi-php71&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;
Actualizar el PHP&lt;/h3&gt;
&lt;div&gt;
Este punto es crítico y no nos servirá únicamente con hacer un update. Como tenemos plesk y necesita los paquetes de mysql, debemos hacer un &lt;i&gt;workarround &lt;/i&gt;para poder instalarlo correctamente, con los siguientes comandos&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;# yum shell
&amp;gt; install php-pecl-mysql
&amp;gt; update
&amp;gt; run&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;
Comprobar la versión de PHP&lt;/h3&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 646.469px;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;php -v&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
Por último, necesitamos habilitar la gestión de PHP7 en nuestro &lt;b&gt;Plesk&lt;/b&gt;, para ello vamos al actualizador de componentes dentro del &lt;b&gt;Plesk&lt;/b&gt;&amp;nbsp;(https://IP:8447/add_components.html)&amp;nbsp;y seleccionamos instalar sobre PHP7.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVzChJirG-EVUO-2z0mMPcOfWiGL9WpQ-uLJfq-jb6epNqGm33bSVb1fh1rVg4ZQReOIHsqr_sd4aPsFsMQVARPDIucEjGKu82WJzxGEcR_VUtUKAKE2iSfD2ZqSpbDiVEjnAiLCR2RLQ/s1600/plesk_php_7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVzChJirG-EVUO-2z0mMPcOfWiGL9WpQ-uLJfq-jb6epNqGm33bSVb1fh1rVg4ZQReOIHsqr_sd4aPsFsMQVARPDIucEjGKu82WJzxGEcR_VUtUKAKE2iSfD2ZqSpbDiVEjnAiLCR2RLQ/s1600/plesk_php_7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Pinchamos en el botón Instalar del final de la página y, tras realizar la instalación de forma automática, estará listo.&lt;br /&gt;
&lt;br /&gt;
(Aunque no lo he probado, también se podría hacer por consola con el siguiente comando)&lt;br /&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 646.469px;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;plesk sbin autoinstaller --select-release-id PLESK_12_5_30  --install-component php7.0&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Ya sólo nos queda ir al dominio que queremos utilizar (dentro del Plesk) y cambiar la versión de PHP a la 7.</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/8679880666485255096/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/actualizar-php-56-7-centos-6-con-plesk.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8679880666485255096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8679880666485255096'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/actualizar-php-56-7-centos-6-con-plesk.html' title='Actualizar php 5.6 a 7 centos 6 con plesk y remi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVzChJirG-EVUO-2z0mMPcOfWiGL9WpQ-uLJfq-jb6epNqGm33bSVb1fh1rVg4ZQReOIHsqr_sd4aPsFsMQVARPDIucEjGKu82WJzxGEcR_VUtUKAKE2iSfD2ZqSpbDiVEjnAiLCR2RLQ/s72-c/plesk_php_7.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-7581630788897206070</id><published>2017-05-03T18:08:00.000+02:00</published><updated>2017-05-03T20:20:20.804+02:00</updated><title type='text'>Desplegar proyecto symfony en producción</title><content type='html'>Para desplegar un proyecto Symfony en su versión 3.X se deben realizar los siguientes pasos

Instalar el proyecto y completar su configuración
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;composer install
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Limpiar la caché de producción
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;bin/console cache:clear --env=prod
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Dar permisos a los directorios de logs y cache
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;chmod -R 777 var/logs/
chmod -R 777 var/cache
chmod -R 777 var/sessions/
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/7581630788897206070/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/desplegar-proyecto-symfony-en-produccion.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7581630788897206070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7581630788897206070'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/desplegar-proyecto-symfony-en-produccion.html' title='Desplegar proyecto symfony en producción'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-457280808692604412</id><published>2017-05-01T11:35:00.000+02:00</published><updated>2017-05-01T11:35:23.118+02:00</updated><title type='text'>Actualizar todas las versiones de Plesk</title><content type='html'>Primero nos descargamos el instalador&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;  wget http://autoinstall.plesk.com/plesk-installer  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Le damos permisos&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; chmod +x plesk-installer  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Y lo ejecutamos&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;  ./plesk-installer --all-versions   
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Ahora ya podemos seleccionar la opción que quieras instalar, en mi caso Plesk 12.5.30&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicqJnuXnOf2Dt32IexRf9ZBc1EVWYCtxP2Ae8Ovvigry1Gk99_YMBG8won1PjFDUonZaVOUD6rYfH3B2rmCNiHPuZeN-wmmbt8E2eH88tMGYJ_-H8eMIkMlhI4ChRq5xOkpmY7IEK4yoQ/s1600/Captura+de+pantalla+2017-04-26+a+las+16.59.04.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicqJnuXnOf2Dt32IexRf9ZBc1EVWYCtxP2Ae8Ovvigry1Gk99_YMBG8won1PjFDUonZaVOUD6rYfH3B2rmCNiHPuZeN-wmmbt8E2eH88tMGYJ_-H8eMIkMlhI4ChRq5xOkpmY7IEK4yoQ/s320/Captura+de+pantalla+2017-04-26+a+las+16.59.04.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/457280808692604412/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/actualizar-todas-las-versiones-de-plesk.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/457280808692604412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/457280808692604412'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/05/actualizar-todas-las-versiones-de-plesk.html' title='Actualizar todas las versiones de Plesk'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11512893239117447902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicqJnuXnOf2Dt32IexRf9ZBc1EVWYCtxP2Ae8Ovvigry1Gk99_YMBG8won1PjFDUonZaVOUD6rYfH3B2rmCNiHPuZeN-wmmbt8E2eH88tMGYJ_-H8eMIkMlhI4ChRq5xOkpmY7IEK4yoQ/s72-c/Captura+de+pantalla+2017-04-26+a+las+16.59.04.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-2247987096676367620</id><published>2017-04-29T09:32:00.000+02:00</published><updated>2017-04-29T09:32:01.635+02:00</updated><title type='text'>Formatear el código de nuestro blog</title><content type='html'>Para formatear el código como habéis visto en mis anteriores posts utilizo esta plantilla:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: &amp;lt;br /&amp;gt;black; word-wrap: normal;&quot;&gt; &amp;lt;pre style=&quot;font-family:arial;font-size:12px;border:1px dashed 
#CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-
image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAL8KO8IdHYe5MUHbJjKtZrWPeB38BMjt3MKuX3zrCdbh8Mmm6N9pI5gvLlcFFvuw1ajmomLXnhWYztSMDmwzMAQWZ6pX3wBZyxbhEqtPcPtYTHIIIaFUgDjOjWE3jxdmwhyphenhyphenABL9EPLV40/s320/codebg.gif);padding:0px;color:#00 
0000;text-align:left;line-height:20px;&quot;&amp;gt;&amp;lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&amp;gt; +++++INSERTAR CÓDIGO+++++   
 &amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Debéis reemplazar el texto: +++++INSERTAR CÓDIGO+++++ por vuestro código</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/2247987096676367620/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/formatear-el-codigo-de-nuestro-blog.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2247987096676367620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2247987096676367620'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/formatear-el-codigo-de-nuestro-blog.html' title='Formatear el código de nuestro blog'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11512893239117447902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-2505620476035853757</id><published>2017-04-28T12:11:00.000+02:00</published><updated>2017-04-28T12:11:00.186+02:00</updated><title type='text'>Listar Bundles en symfony</title><content type='html'>&lt;h3&gt;
Symfony 3&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; php bin/console config:dump-reference  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Symfony 2&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; php app/console config:dump-reference  
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/2505620476035853757/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/listar-bundles-en-symfony.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2505620476035853757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2505620476035853757'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/listar-bundles-en-symfony.html' title='Listar Bundles en symfony'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11512893239117447902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-5002088496388121139</id><published>2017-04-27T11:32:00.000+02:00</published><updated>2017-04-27T11:32:08.179+02:00</updated><title type='text'> WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!</title><content type='html'>Intentando acceder por ssh de la siguiente manera
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # ssh usuario@ip  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Me aparecia el siguiente error
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
 @  WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!   @  
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!  
 Someone could be eavesdropping on you right now (man-in-the-middle attack)!  
 It is also possible that a host key has just been changed.  
 The fingerprint for the RSA key sent by the remote host is  
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.  
 Please contact your system administrator.  
 Add correct host key in /user/home/.ssh/known_hosts to get rid of this message.  
 Offending RSA key in /user/home/.ssh/known_hosts:4  
 RSA host key for XXX.XXX.XXX.XXX has changed and you have requested strict checking.  
 Host key verification failed.  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Porque?&lt;br /&gt;
&lt;br /&gt;
El aviso WARNING es un aviso del cliente, por lo que el servidor esta bien.&lt;br /&gt;
&lt;br /&gt;
Solución:&lt;br /&gt;
&lt;br /&gt;
Eliminar la carpeta&amp;nbsp;/user/home/.ssh/&lt;br /&gt;
&lt;br /&gt;
Y ya me podía conectar de forma normal con&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 646.469px;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt; # ssh usuario@ip  
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/5002088496388121139/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/warning-remote-host-identification-has.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5002088496388121139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5002088496388121139'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/warning-remote-host-identification-has.html' title=' WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11512893239117447902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-605484857724260796</id><published>2017-04-27T10:09:00.000+02:00</published><updated>2017-04-27T10:09:01.477+02:00</updated><title type='text'> Actualizar a la versión 7.0.18 de php en Centos 6 </title><content type='html'>Primero miramos la versión de php que tenemos instalada&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # php -v  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Listamos todos los paquetes php instalados&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # yum list installed php*  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Y filtramos por la versión php 7&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # yum list available php* | grep php7  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Eliminamos todas las versiones de PHP&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # yum remove php*  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
E instalamos php 7&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # yum install php70w php70w-cli php70w-common php70w-gd php70w-mbstring php70w-mysql php70w-pdo php70w-xml  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
La versión de PHP 7 puede tener variantes que dependan de instalar las funciones de JSON dependiendo del servidor&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # yum install php70u php70u-cli php70u-common php70u-gd php70u-mbstring php70u-mysqlnd php70u-pdo php70u-xml php70u-json  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Para finalizar comprobamos que se ha instalado correctamente ✅&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # php -v  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/605484857724260796/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/actualizar-la-version-7018-de-php-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/605484857724260796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/605484857724260796'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2017/04/actualizar-la-version-7018-de-php-en.html' title=' Actualizar a la versión 7.0.18 de php en Centos 6 '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11512893239117447902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-4770054580543426496</id><published>2016-05-07T13:43:00.001+02:00</published><updated>2016-05-07T13:43:05.540+02:00</updated><title type='text'>Problema mostrar plantillas WordPress 4.5, algunas partes no se muestran</title><content type='html'>&lt;span class=&quot;dropcaps&quot;&gt;Tras la actualización de WordPress a la versión 4.5 han surgido distintos problemas con algunas plantillas.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;dropcaps&quot;&gt;&lt;br /&gt;&lt;/span&gt;
En nuestro caso, se trata de un problema a la hora de interpretar el condicional&lt;br /&gt;
&lt;br /&gt;
if( !$detect-&amp;gt;isMobile() &amp;amp;&amp;amp; ot_get_option(&#39;ut_animate_sections&#39; , &#39;on&#39;) == &#39;on&#39; ) :&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $css .= &#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .js #main-content section .section-content,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .js #main-content section .section-header-holder {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; opacity:0;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; endif;&lt;br /&gt;
&lt;br /&gt;
dentro de ut-custom-css.php&lt;br /&gt;
&lt;br /&gt;
La solución, simplemente pasa por comentar dicho código</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/4770054580543426496/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2016/05/problema-mostrar-plantillas-wordpress.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/4770054580543426496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/4770054580543426496'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2016/05/problema-mostrar-plantillas-wordpress.html' title='Problema mostrar plantillas WordPress 4.5, algunas partes no se muestran'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-2524837289885136604</id><published>2016-04-19T18:27:00.000+02:00</published><updated>2016-04-19T18:27:51.404+02:00</updated><title type='text'>Problema al iniciar mysql en XAMPP</title><content type='html'>&lt;b&gt;Este es un problema que me ha ocurrido recientemente y es que, desde el XAMPP Manager, al intentar iniciar el servicio Mysql, siempre se paraba.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Podemos intentar iniciar el servicio desde el terminal con el siguiente comando:&lt;br /&gt;








&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;$sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;Si con él nos da un error tal que:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;Starting MySQL&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;








&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;..................................................................................................... ERROR! The server quit without updating PID file (/Applications/XAMPP/xamppfiles/var/mysql/MacBook.local.pid).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;La solución pasa por matar todos los procesos mysql:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;







&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;$ sudo killall mysqld&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/2524837289885136604/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2016/04/problema-al-iniciar-mysql-en-xampp.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2524837289885136604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2524837289885136604'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2016/04/problema-al-iniciar-mysql-en-xampp.html' title='Problema al iniciar mysql en XAMPP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-6193743734994130276</id><published>2016-03-06T20:04:00.000+01:00</published><updated>2016-03-06T20:04:37.323+01:00</updated><title type='text'>Comandos para utilizar FOSUserBundle con Symfony</title><content type='html'>&lt;b&gt;Alguno de los comandos que más utilizamos a la hora de trabajar con&amp;nbsp;FOSUserBundle son los siguientes:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Crear un usuario de FOSUserBundle&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
php app/console fos:user:create username email@gmail.com pruebas
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
Para activar y desactivar un usuario de FOSUserBundle&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
php app/console fos:user:activate testuser
php app/console fos:user:deactivate testuser
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
Cambiar los permisos (role) de un usuario FOSUserBundle&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
php app/console fos:user:promote testuser ROLE_ADMIN
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/6193743734994130276/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2016/03/comandos-para-utilizar-fosuserbundle.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/6193743734994130276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/6193743734994130276'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2016/03/comandos-para-utilizar-fosuserbundle.html' title='Comandos para utilizar FOSUserBundle con Symfony'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-8283982666443803850</id><published>2016-03-06T19:33:00.001+01:00</published><updated>2016-03-06T19:33:17.631+01:00</updated><title type='text'>Error Symfony [Symfony\Component\Debug\Exception\ContextErrorException] Warning: date_default_timezone_get():</title><content type='html'>&lt;b&gt;Cuando estamos trabajando con una versión superior a Symfony 2.7, aunque con versiones anteriores no nos haya sucedido, puede que nos dé el siguiente error:&amp;nbsp;[Symfony\Component\Debug\Exception\ContextErrorException] Warning: date_default_timezone_get():&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Simplemente (simple y tan complicado) se trata de un problema al detectar el timezone del php.ini.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Lo primero que debemos hacer es revisar que tenemos definido correctamente el timezone en nuestro php.ini&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En caso de que parezca tengamos bien configurado el php.ini y continúe el problema, podemos solucionarlo forzando su definición en Appkernel, a través del constructor, tal como se indica a continaución:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;
class AppKernel extends Kernel
{
    public function __construct($environment, $debug)
    {
        date_default_timezone_set(&#39;Europe/London&#39;);
        parent::__construct($environment, $debug);
    }

    public function registerBundles()
    {
        $bundles = array(
            ....
        );
    }

    ....
}
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/8283982666443803850/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2016/03/error-symfony-symfonycomponentdebugexce.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8283982666443803850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8283982666443803850'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2016/03/error-symfony-symfonycomponentdebugexce.html' title='Error Symfony [Symfony\Component\Debug\Exception\ContextErrorException] Warning: date_default_timezone_get():'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-8946239157566213106</id><published>2016-01-12T10:32:00.002+01:00</published><updated>2016-01-12T10:44:48.625+01:00</updated><title type='text'>No te queda espacio de almacenamiento. Eliminar espacio en Gmail y Google Drive</title><content type='html'>Uno de los servicios de email más utilizados por todos los usuarios es Gmail. En principio es un servicio gratuito que nos permite sincronizar todas nuestras cuentas externas y poder enviar y recibir correo, utilizar filtros... en mi opinión es sin duda un &quot;must&quot; de la productividad. Pero, por defecto, la mayoría de nosotros no solemos borrar los emails antiguos ni hacer ningún tipo de limpieza. Cuando trabajamos con el resto de servicios que nos ofrece Google (Google Drive o Google Photos) debemos tener en cuenta que el almacenamiento total de estos servicios es limitado (al menos el gratuito) a &lt;b&gt;15GB&lt;/b&gt;. Nos pueden parecer bastantes, pero cuando trabajamos regularmente con ellos, tarde o temprano &lt;b&gt;se acabarán&lt;/b&gt; y no tendremos otra opción que preocuparnos por &lt;b&gt;liberar espacio que ya no utilizamo&lt;/b&gt;s.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWjWdh6BT1MIhdMbvbFxtCOqArnvcMK0k9i_Yr1WZoJ5u1F_JBblL6Ogyf16sCzbbwArZ38hpy__am4weGHNg5izN7DmS-9AL9cneuaAk0Z9wStceYm5teFf6_wn1LBfp8b3uBNCGacYc/s1600/drive_storage_full.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;38&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWjWdh6BT1MIhdMbvbFxtCOqArnvcMK0k9i_Yr1WZoJ5u1F_JBblL6Ogyf16sCzbbwArZ38hpy__am4weGHNg5izN7DmS-9AL9cneuaAk0Z9wStceYm5teFf6_wn1LBfp8b3uBNCGacYc/s400/drive_storage_full.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Lo primero que debemos hacer es comprobar cuánto espacio tenemos ocupado en cada servicio. La verdad es que Google nos ofrece un sin fin de herramientas y utilidades para todo lo que imaginemos, aunque a veces no es sencillo de encontrarlas. En este caso, dispone de una página en la que nos muestra de forma muy visual &lt;a href=&quot;https://www.google.com/settings/storage&quot; target=&quot;_blank&quot;&gt;cuánto espacio estamos utilizando en cada servicio de Google&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzQ8AEE98870mjcNr-QHR0xrdptKxAsktsXJBziRrNJ0XEKPNo1RzA5tQuo8mcH5Hgs6UQFBhhwGRWd6eRLmEZsE4Q4hIObPPvq_GO7bTBoYjWjG5mU2rRMg5vRXYC1Pk6LzsNprB72VM/s1600/drive_storage.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzQ8AEE98870mjcNr-QHR0xrdptKxAsktsXJBziRrNJ0XEKPNo1RzA5tQuo8mcH5Hgs6UQFBhhwGRWd6eRLmEZsE4Q4hIObPPvq_GO7bTBoYjWjG5mU2rRMg5vRXYC1Pk6LzsNprB72VM/s400/drive_storage.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Como podéis ver, en mi caso, Gmail está almacenando 6GB, mucho más de lo que nunca habría podido imaginar. Así que, vayamos eliminado espacio por partes.&lt;/div&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Nota:&lt;/b&gt;&lt;/u&gt; Documentos, hojas de cálculo, diapositivas, presentaciones, dibujos de Google, etc.
y archivos compartidos contigo no se tendrán en cuenta en el límite de espacio.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;
Eliminar espacio en Gmail. Vaciando Gmail.&lt;/h4&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Lógicamente, el espacio utilizado en Gmail se corresponde con los archivos adjuntos que enviamos o recibimos en los emails. Aunque el máximo que tamaño de archivo que nos permite enviar Gmail es de 20MB, miles de archivos llegan a ocupar mucho, pero que mucho espacio.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
No nos vamos a volver locos recorriendo nuestra bandeja email a email cuando Gmail nos permite utilizar filtros de búsqueda. En este caso, lo que nos interesa es obtener los emails que ocupan ciertos megas, para ello, simplemente introducimos en la barra de búsqueda el siguiente filtro para obtener los emails que ocupan más de 10MB de espacio:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;larger:10m&amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Simplemente eliminando estos emails seguro que obtendremos un espacio extra importante.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Recuerda, por último, ir a la papelera, seleccionar todos los emails y ejecutar &quot;Eliminar definitivamente&quot;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/8946239157566213106/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2016/01/no-te-queda-espacio-de-almacenamiento.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8946239157566213106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/8946239157566213106'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2016/01/no-te-queda-espacio-de-almacenamiento.html' title='No te queda espacio de almacenamiento. Eliminar espacio en Gmail y Google Drive'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWjWdh6BT1MIhdMbvbFxtCOqArnvcMK0k9i_Yr1WZoJ5u1F_JBblL6Ogyf16sCzbbwArZ38hpy__am4weGHNg5izN7DmS-9AL9cneuaAk0Z9wStceYm5teFf6_wn1LBfp8b3uBNCGacYc/s72-c/drive_storage_full.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-5440352524124241338</id><published>2015-12-26T11:45:00.000+01:00</published><updated>2015-12-26T11:45:03.725+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress"/><title type='text'>Como añadir un link a la configuración del un plugin Wordpress</title><content type='html'>La mayoría de los plugins, tras su instalación, nos proporcionan un link a la página de configuración o settings. Cuando estamos creando nuestro propio plugin, es muy interesante que también nosotros incluyamos dicho link. 

Para incluir el link a la página de configuración de nuestro plugin de Wordpress simplemente debemos incluir la siguiente función:


&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;

&lt;code&gt;&lt;/code&gt;
&lt;pre&gt;&lt;code&gt;function your_plugin_settings_link($links) {
    $settings_link = &#39;&lt;a href=&quot;https://www.blogger.com/options-general.php?page=your_plugin.php&quot;&gt;Settings&lt;/a&gt;&#39;;
    array_unshift($links, $settings_link);
    return $links;
}

$plugin = plugin_basename(__FILE__);
add_filter(&quot;plugin_action_links_$plugin&quot;, &#39;your_plugin_settings_link&#39; );
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/5440352524124241338/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2015/12/como-anadir-un-link-la-configuracion.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5440352524124241338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5440352524124241338'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2015/12/como-anadir-un-link-la-configuracion.html' title='Como añadir un link a la configuración del un plugin Wordpress'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-6374019038671034024</id><published>2015-01-31T23:30:00.002+01:00</published><updated>2015-01-31T23:37:24.081+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="permalink"/><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress"/><title type='text'>Problema permalink wordpress error 404</title><content type='html'>&lt;span class=&quot;dropcaps&quot;&gt;U&lt;/span&gt;tilizar permalinks personalizados en Wordpress es una de las mejores prácticas, sobre todo para el SEO y para la usabilidad de nuestro blog, pero a veces, al intentar activarlos, el sistema nos devuelve un error 404. Para solicionarlo, simplemente debemos modificar el archivo .htaccess o en vhost (ambas configuraciones son posibles e incluso, a nivel de rendimiento, en el vhost es más óptimo) con las siguientes instrucciones:

&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
DirectoryIndex /index.php

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/6374019038671034024/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2015/01/problema-permalink-wordpress-error-404.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/6374019038671034024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/6374019038671034024'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2015/01/problema-permalink-wordpress-error-404.html' title='Problema permalink wordpress error 404'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-5757119086164846851</id><published>2014-04-10T14:31:00.000+02:00</published><updated>2014-04-10T15:00:29.317+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Symfony2"/><title type='text'>Comandos útiles en Synfony2</title><content type='html'>&lt;span class=&quot;imgini_vert&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguhisKdOvZteIGpFa4capOROO7JlkHUi5eF8bJ66xKNo84iSgBiaZDxLL8zsZvw0OoErud6Ck8xYdbtZGxv4ODHjq7w_3bXGDTmfoDqCWEKBZ-Vv6lLh4fMsURi6znphPyurqX4s40zpo/s320/symfony_black_03.png&quot; height=&quot;143&quot; width=&quot;143&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;dropcaps&quot;&gt;D&lt;/span&gt;urante el desarrollo de un proyecto con Symfony2, existen una serie de comandos que son utilizados comúnmente.&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
Aquí te dejamos una lista con lo que nosotros más utilizamos:&lt;br /&gt;
&lt;br /&gt;
Limpiar la cache en el entorno de producción
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console cache:clear --env=prod --no-debug&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Actualizar el archivo composer.phar (importante en distintos sistemas o cuando hace más de un mes que no actualizamos el composer)
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php composer.phar self-update&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Actualizar el archivo composer.json
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php composer.phar update&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Eliminar la base de datos
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:database:drop --force&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Actualizar la base de datos
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:database:create&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Crear las entidades de la base de datos
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:schema:create&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Ver las instrucciones se ejecutarán en la base de datos tras actualizar las entities del proyecto
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:schema:update --dump-sql&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Ejecutar las instrucciones en la base de datos tras actualizar las entities del proyecto
&lt;br /&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:schema:update --force&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Esperamos que os sean de utilidad</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/5757119086164846851/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2014/04/comandos-utiles-en-synfony2.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5757119086164846851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5757119086164846851'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2014/04/comandos-utiles-en-synfony2.html' title='Comandos útiles en Synfony2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguhisKdOvZteIGpFa4capOROO7JlkHUi5eF8bJ66xKNo84iSgBiaZDxLL8zsZvw0OoErud6Ck8xYdbtZGxv4ODHjq7w_3bXGDTmfoDqCWEKBZ-Vv6lLh4fMsURi6znphPyurqX4s40zpo/s72-c/symfony_black_03.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-7327941323423597825</id><published>2014-02-17T02:36:00.000+01:00</published><updated>2014-02-17T02:36:38.424+01:00</updated><title type='text'>Firmar email con certificado FNMT y Thunderbird</title><content type='html'>&lt;p&gt;&lt;strong&gt;&lt;span class=&quot;dropcaps&quot;&gt;P&lt;/span&gt;ara firmar un email con la firma digital de la FNMT en Thunderbird, debemos seguir los siguientes pasos:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Instalar el certificado personal como nos indican en &lt;a href=&quot;http://recursostic.educacion.es/usuarios/web/seguridad/50-utilizacion-de-certificados-digitales-para-correo-electronico-seguro&quot;&gt;este link&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;2. Añadimos el certificado raíz de la FNMT (FNMT Clase 2 CA), que lo podemos descargar desde &lt;a href=&quot;https://www.sede.fnmt.gob.es/descargas/certificados-raiz-de-la-fnmt&quot;&gt;aquí&lt;/a&gt;. Lo instalamos igual que hemos instalado nuestro certificado digital pero desde la pestaña Autoridades. (Puede que ya esté instalado, con lo que pasamos al siguiente paso).
&lt;/p&gt;
&lt;p&gt;3. Pulsamos importar y seleccionamos el certificado raiz de FNMT que acabamos de descargar (FNMTClase2CA.cer). Buscamos el certificado por el nombre (FNMT) (y lo expandimos en caso de que no este expandido) y seleccionamos la fila del elemento que tiene dentro con nombre FNMT Class 2 CA - FNMT. Una vez seleccinado, pulsamos sobre el boton Editar Confianza y nos aseguramos que esten seleccinado los tres elementos.
&lt;/p&gt;
&lt;p&gt;4. Seleccionar, en el icono seguridad dentro del redactor de mensajes, la opción de firmar.&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/7327941323423597825/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2014/02/firmar-email-con-certificado-fnmt-y.html#comment-form' title='7 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7327941323423597825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7327941323423597825'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2014/02/firmar-email-con-certificado-fnmt-y.html' title='Firmar email con certificado FNMT y Thunderbird'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-2990814206975845711</id><published>2013-07-16T10:50:00.000+02:00</published><updated>2013-07-16T10:50:43.415+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Error al ejecutar php app/console doctrine:schema:create &quot;No Metadata Classes to process.&quot;</title><content type='html'>&lt;span class=&quot;imgini_vert&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143&quot; width=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguhisKdOvZteIGpFa4capOROO7JlkHUi5eF8bJ66xKNo84iSgBiaZDxLL8zsZvw0OoErud6Ck8xYdbtZGxv4ODHjq7w_3bXGDTmfoDqCWEKBZ-Vv6lLh4fMsURi6znphPyurqX4s40zpo/s320/symfony_black_03.png&quot; /&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span class=&quot;dropcaps&quot;&gt;E&lt;/span&gt;ste error me ha surgido a la hora de configurar por primera ver un proyecto symfony2 cargado desde git. Tras seguir los pasos de para el uso de doctrine en symfony2 del siguiente artículo &lt;a href=&quot;http://xandrusoft.blogspot.com.es/2013/05/uso-de-doctrine-sobre-bases-de-datos-en.html&quot; target=&quot;_blank&quot;&gt;http://xandrusoft.blogspot.com.es/2013/05/uso-de-doctrine-sobre-bases-de-datos-en.html&lt;/a&gt;, el error que me producía al intentar actualizar el schema de la base de datos (php app/console doctrine:schema:create) era el siguiente: &quot;No Metadata Classes to process.&quot;&lt;/b&gt;.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Tras pegarme muchas veces con ellos -después buscar y no encontrar ninguna solución en foros ni blogs- lo he conseguido solucionar de la siguiente forma:&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Primero me he descargado del repositorio la instalación por defecto de Symfony (es más que recomendable en los primeros pasos tener localizada esta versión) y he ejecutado el &lt;i&gt;composer&lt;/i&gt;&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
git pull origin version1
php composer.phar update
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Con esto tenemos la instalación por defecto. Ahora, intentamos volcar la versión reciente de nuestro código&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
git pull origin issue1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;En mi caso, he tenido que borrar los siguiente ficheros, ya que me daba conflicto&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
bin/doctrine
bin/doctrine.bat
bin/doctrine.php
bin/doctrine.php.bat

composer.lock
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;y vuelto a tener que ejecutar el &lt;i&gt;composer&lt;/i&gt;&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
php composer.phar update
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Creo que en ese punto es dónde estaba el &lt;i&gt;&quot;tick de la cuestión&quot;&lt;/i&gt;. Estaba tomando otro &lt;i&gt;composer&lt;/i&gt; y por eso no reconocía los &lt;i&gt;metadata&lt;/i&gt;&lt;/b&gt;.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Tras eso he vuelto a ejecutar las instrucciones para crear y volcar el esquema a la base de datos&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
php app\check.php
php app/console doctrine:database:create
php app/console doctrine:schema:create
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Y... esto es todo amigos!&lt;/p&gt;
&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 67px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEd6eqZhlPf6ZyHUumdueZkcqVfMAvgx3rjG5vdXajUuuO6tKg2-Z7aplEytImC6nRJjtZOMa6sX-ebxqRNKHEJmbYwTj3piTHYVvBkIuVNdHNJ8HxDX71C0b8QDWsXflV9LM2W8uWfK0/s400/comentario.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5442261851280970226&quot; border=&quot;0&quot; /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/2990814206975845711/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2013/07/error-al-ejecutar-php-appconsole.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2990814206975845711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/2990814206975845711'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2013/07/error-al-ejecutar-php-appconsole.html' title='Error al ejecutar php app/console doctrine:schema:create &quot;No Metadata Classes to process.&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguhisKdOvZteIGpFa4capOROO7JlkHUi5eF8bJ66xKNo84iSgBiaZDxLL8zsZvw0OoErud6Ck8xYdbtZGxv4ODHjq7w_3bXGDTmfoDqCWEKBZ-Vv6lLh4fMsURi6znphPyurqX4s40zpo/s72-c/symfony_black_03.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-7770936816724843225</id><published>2013-06-11T10:39:00.000+02:00</published><updated>2013-06-11T10:39:00.839+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql server"/><category scheme="http://www.blogger.com/atom/ns#" term="usuario mysql"/><title type='text'>&quot;problem connecting form a client to mysql server&quot;</title><content type='html'>&lt;span class=&quot;imgini_vert&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHcHySXqlPm0UqO1Ao4AA4oKkFZ16rVRzbKSK3lEz3ZmdbOtQr_aKAqxgmPmQU38tHM2kCUG4aUZwl_tGDRHi9E8zEHoax2M0z4zsQFOuLNy-o-PikCacKHtCTmct3KaACyS5YpGfE6Lk/s320/logo-mysql1.jpg&quot; /&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span class=&quot;dropcaps&quot;&gt;C&lt;/span&gt;uando estamos configurando nuestro servidor mysql y creamos los primeros usuarios, podemos obtener el siguiente error &quot;problem connecting form a client to mysql server&quot; al intentar conectarnos desde una aplicación o cliente externo.&lt;/b&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Este error, por lo general, se traduce en un problema de permisos. Para solucionarlo, debemos permitir al usuario que vamos utilizar el acceso desde el servidor de origen (IP o nombre) o si es desconocido, desde cualquier origen. &lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Para ello, utilizamos los siguientes comandos:&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Accedemos al servidor&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
mysql -u root -p
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Damos permisos de acceso desde el servidor local&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
use mysql
GRANT ALL ON *.* to root@&#39;localhost&#39; IDENTIFIED BY &#39;Cancegow2o3&#39;;
FLUSH PRIVILEGES;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Damos permisos de acceso desde una IP concreta&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
use mysql
GRANT ALL ON *.* to root@&#39;xxx.xxx.xxx.xxx&#39; IDENTIFIED BY &#39;passwortd&#39;;
FLUSH PRIVILEGES;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Damos permisos de acceso desde ucualquier origen&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;&lt;pre&gt;&lt;code&gt;
use mysql
GRANT ALL ON *.* to root@&#39;%&#39; IDENTIFIED BY &#39;password&#39;;
FLUSH PRIVILEGES;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 67px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEd6eqZhlPf6ZyHUumdueZkcqVfMAvgx3rjG5vdXajUuuO6tKg2-Z7aplEytImC6nRJjtZOMa6sX-ebxqRNKHEJmbYwTj3piTHYVvBkIuVNdHNJ8HxDX71C0b8QDWsXflV9LM2W8uWfK0/s400/comentario.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5442261851280970226&quot; border=&quot;0&quot; /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/7770936816724843225/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2013/06/problem-connecting-form-client-to-mysql.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7770936816724843225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/7770936816724843225'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2013/06/problem-connecting-form-client-to-mysql.html' title='&quot;problem connecting form a client to mysql server&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHcHySXqlPm0UqO1Ao4AA4oKkFZ16rVRzbKSK3lEz3ZmdbOtQr_aKAqxgmPmQU38tHM2kCUG4aUZwl_tGDRHi9E8zEHoax2M0z4zsQFOuLNy-o-PikCacKHtCTmct3KaACyS5YpGfE6Lk/s72-c/logo-mysql1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-5303249904084420172</id><published>2013-05-16T11:00:00.000+02:00</published><updated>2014-03-05T10:49:16.013+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Uso de doctrine sobre bases de datos en Symfony</title><content type='html'>&lt;span class=&quot;imgini_vert&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguhisKdOvZteIGpFa4capOROO7JlkHUi5eF8bJ66xKNo84iSgBiaZDxLL8zsZvw0OoErud6Ck8xYdbtZGxv4ODHjq7w_3bXGDTmfoDqCWEKBZ-Vv6lLh4fMsURi6znphPyurqX4s40zpo/s320/symfony_black_03.png&quot; width=&quot;143&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span class=&quot;dropcaps&quot;&gt;A&lt;/span&gt; la hora de trabajar con Symfony, este frameword de PHP nos proporciona la herramienta conocida como doctrine, que nos permite realizar de una forma muy sencilla y automatizada la creación y definición de las entidades de nuestra base de datos.&lt;/b&gt;
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Para trabajar con doctrine -sobre Windows-, lo primero que debemos hacer es añadir en nuestro PATH la dirección de la aplicación.
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Supondremos que trabajamos con la siguiente tabla&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;
CREATE TABLE IF NOT EXISTS `articles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `author` varchar(255) NOT NULL,
  `content` longtext NOT NULL,
  `tags` varchar(255) NOT NULL,
  `created` date NOT NULL,
  `updated` date NOT NULL,
  `slug` varchar(255) NOT NULL,
  `category` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Para crear esta nueva tabla, utilizaremos la siguiente sentencia de doctrine&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;C:\wamp\www\Symfony&amp;gt;php app\console doctrine:generate:entity&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Que nos guiará a través del proceso para la creación de tablas. &lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
1. Lo primero que debemos indicar es el nombre que usaremos para nuestra entidad, que debe seguir el siguiente formato: &lt;i&gt;IdentificadorDelBundle:NombreEntidad&lt;/i&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
2. Lo siguiente será el tipo de formato, que aceptaremos el que nos propone por defecto [annotation] simplemente apretando Enter.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
3. Es el turno de comenzar a introducir los campos de la tabla. Debemos notar que el identificador no es necesario ya que lo incluye por defecto, por lo que comenzaremos con el primer campo, indicando el nombre, el tipo de dato, y el tamaño del mismo. Si queremos conocer todos las opciones en cuanto al tipo de datos, podemos verlos en la siguiente &lt;a href=&quot;http://symfony.com/legacy/doc/doctrine/1_2/en/04-Schema-Files&quot; target=&quot;_blank&quot;&gt;página del manual del fabricante&lt;/a&gt;.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
4. Cuando acabemos de introducir todos los campos pulsamos Enter y nos pregunta que si queremos crear un repositorio vacío. Por defecto la opción es que no, pero le diremos que sí.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
5. Confirmamos la creación de la entidad.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Ya tenemos creadas las entidades en nuestro proyecto, pero nos falta pasarlas a la base de datos. Para ello, si aún no hemos creado al base de datos, los hacemos&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;
php app/console doctrine:database:create&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Y generamos las tablas de acuerdo con la información especificada en las entidades&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;
php app/console doctrine:schema:create&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Si notamos cualquier error o se nos ha olvidado añadir algún campo o queremos hacer alguna modificación, lo haremos en el directorio Entities y desde la consola ejecutaremos el comando&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;
php app/console  doctrine:generate:entities nombre_del_Bundle&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Para actualizar las entidades&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:schema:update --dump-sql&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Si queremos ver qué instrucciones se ejecutarán en la base de datos&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:schema:update --force&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Para actualizar todos los cambios, en la base de datos, que hayamos realizado.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Si sólo quisiéramos listar las instrucciones que se van a realizar, ejecutamos la instrución&lt;/p&gt;
&lt;div class=&quot;syntax_hilite&quot;&gt;
&lt;pre&gt;&lt;code&gt;php app/console doctrine:schema:update&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
Con esto doctrine creará automáticamente la tabla en la base de datos y los archivos relacionados con la actividad.&lt;/p&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5442261851280970226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEd6eqZhlPf6ZyHUumdueZkcqVfMAvgx3rjG5vdXajUuuO6tKg2-Z7aplEytImC6nRJjtZOMa6sX-ebxqRNKHEJmbYwTj3piTHYVvBkIuVNdHNJ8HxDX71C0b8QDWsXflV9LM2W8uWfK0/s400/comentario.jpg&quot; style=&quot;cursor: pointer; display: block; height: 67px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/5303249904084420172/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2013/05/uso-de-doctrine-sobre-bases-de-datos-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5303249904084420172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5303249904084420172'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2013/05/uso-de-doctrine-sobre-bases-de-datos-en.html' title='Uso de doctrine sobre bases de datos en Symfony'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguhisKdOvZteIGpFa4capOROO7JlkHUi5eF8bJ66xKNo84iSgBiaZDxLL8zsZvw0OoErud6Ck8xYdbtZGxv4ODHjq7w_3bXGDTmfoDqCWEKBZ-Vv6lLh4fMsURi6znphPyurqX4s40zpo/s72-c/symfony_black_03.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-911205025247203057.post-5931938898503201363</id><published>2013-05-13T11:00:00.000+02:00</published><updated>2013-05-13T11:00:02.645+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress"/><title type='text'>Como enlazar a la página de artículos cuando tengo una página estática de inicio en Wrodpress</title><content type='html'>&lt;span class=&quot;imgini_vert&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRvUjlcxRrqsF-uUbb9RcY2ORfnvSTr1kg7CM0X2wMdI-FbO3jiUlrdU_TWCUtK-KuwihENB8zvhMn18hHQIzZn18OZCaVtmvinv8IndNVhyphenhyphenm4xTHcDzhw9uiglaPkom08SgLjRHj9BwY/s200/wordpress-logo.png&quot; /&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span class=&quot;dropcaps&quot;&gt;S&lt;/span&gt;i hemos decidido esablecer una página estática como página de inicio de nuestro sitio sobre Wordpress, es muy probable que queramos después enlazar con la página de artículos.&lt;/b&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Para hacer esto, debemos seguir los siguientes pasos&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;1. Crear una nueva página (estática) con el contenido que corresponda y que será la página de inicio de nuestro sitio.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;2. Crear una página llamada, por ejemplo, blog&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;3. En el panel de administración -&gt; ajustes -&gt; lectura seleccionar que vamos a usar una página estática como página de inicio, indicar qué página es (en nuestro caso inicio) y qué página utilizaremos utilizaremos como página de entradas (en nuestro caso blog).&lt;/p&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY-uZuxbw1vdsl2avTJNLe8Ix1IvLrz5V96ihZpHcbEsis8FwloQQuiF6WmDyl9nOwag7D7RunlALi6fJoFruuuiOzYRs-aoBcFS0RPnDKmSbs-obGP2FRcFeOTqgJR91EDbkYzJG8OkA/s1600/Ajustes+de+lectura+WordPress.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY-uZuxbw1vdsl2avTJNLe8Ix1IvLrz5V96ihZpHcbEsis8FwloQQuiF6WmDyl9nOwag7D7RunlALi6fJoFruuuiOzYRs-aoBcFS0RPnDKmSbs-obGP2FRcFeOTqgJR91EDbkYzJG8OkA/s320/Ajustes+de+lectura+WordPress.png&quot; /&gt;&lt;/a&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Con esto tendremos nuestro sitio profesional, con una página de inicio estática personalizada y con la página de entradas accesible.&lt;/p&gt;
&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 67px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEd6eqZhlPf6ZyHUumdueZkcqVfMAvgx3rjG5vdXajUuuO6tKg2-Z7aplEytImC6nRJjtZOMa6sX-ebxqRNKHEJmbYwTj3piTHYVvBkIuVNdHNJ8HxDX71C0b8QDWsXflV9LM2W8uWfK0/s400/comentario.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5442261851280970226&quot; border=&quot;0&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://xandrusoft.blogspot.com/feeds/5931938898503201363/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://xandrusoft.blogspot.com/2013/05/como-enlazar-la-pagina-de-articulos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5931938898503201363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911205025247203057/posts/default/5931938898503201363'/><link rel='alternate' type='text/html' href='http://xandrusoft.blogspot.com/2013/05/como-enlazar-la-pagina-de-articulos.html' title='Como enlazar a la página de artículos cuando tengo una página estática de inicio en Wrodpress'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRvUjlcxRrqsF-uUbb9RcY2ORfnvSTr1kg7CM0X2wMdI-FbO3jiUlrdU_TWCUtK-KuwihENB8zvhMn18hHQIzZn18OZCaVtmvinv8IndNVhyphenhyphenm4xTHcDzhw9uiglaPkom08SgLjRHj9BwY/s72-c/wordpress-logo.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>