
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (52)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (8705)
-
Anomalie #3523 : Gestion des plugins avec spip 3.0.20
4 août 2015, par Philippe MARECHALBonsoir et merci pour les retours.
Le phpinfo est visible à cette adresse : http://pmarechal.fr/phpinfo.htm.
La section zend opcache contient la conf opcache.Je suis sous PHP 5.5 (mais un autre hébergé a le même pb en 5.4) avec MySQL
Concernant mon site :
nativement sous SPIP 3.0.x, mis à jour au fur et à mesure de la sortie des nouvelles versions.
La 3.0.20 fonctionnait sans pb jusqu’à la mise en place chez mon hébergeur Web4all d’un serveur dédié à l’administration des CMS (et utilisant opcache).
Je suis ensuite passé à SPIP 3.1 beta, build 22323 (je suis un peu en retard...) pour voir si ça changeait quelque chose, mais le pb de lenteur est resté -
all pages of the same domain keep loading until background process finish [on hold]
7 juillet 2013, par KalI upload video files to mydomain_1.com and once the upload finish I store info about the uploaded file in mydomain_1 database under table process_queue.
I have process.php under mydomain_2.com that connects to mydomain_1 database and check if process_queue table has any new entries. If there is then process.
notice we are talking two separate domains.
the moment process.php finds a new entry it starts converting the video using exec with ffmpeg.
while the process is happening I cannot access any page under mydomain_1.com. all pages keep loading forever. the moment the process is done on mydomain_2.com I get access to pages on mydomain_1.com
I thought it could be a
mysql
connection issue so on process.php I usedmysql_close($db)
immediately after every call to the database. -
Compiling FFMPEG on CentOS DigitalOcean
29 juillet 2015, par coder_ukI set up a DigitalOcean instance running CentOS 6.5 and successfully followed the guide to compile FFMPEG (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos). Hurrah !
But of course I realised that by default, DigitalOcean creates a root user and so ffmpeg now lives in /root/bin/ffmpeg. Which isn’t ideal because when I want to exec the ffmpeg bin from nginx, I would have to run nginx as root for it to have permission.
Questions ...
1) Long-shot, but presumably if I change the owner of the ffmpeg binary to nginx, it still won’t work, because nginx won’t be able to access the /root folder it is in. Correct ?
2) I could run nginx as root (’user root’). But this seems like a very bad idea. Correct ?
3) Which leaves me with the option of creating a new user, and then compiling ffmpeg into its home folder. But : which user ? EC2 creates ’ec2-user’, so should I make my own equivalent for DO ? But then won’t I have to run nginx as that user, else I’ll run into the same problem ?
Or should I compile ffmpeg into the ’nginx’ home folder, if indeed it has one ? Is that how it is supposed to be done ?
Since compiling ffmpeg takes ages, I don’t want to keep doing it, and the static files all seem very out of date. Thanks