Skip to content

Instantly share code, notes, and snippets.

Liste des versions PHP-CLI des mutu OVH

/usr/local/bin/php          => PHP 4.4.9 (cgi) (built: Apr 20 2012 18:34:17)

/usr/local/bin/php.ORIG     => PHP 4.4.9 (cgi) (built: Apr 20 2012 18:34:17)
/usr/local/bin/php.ORIG.4   => PHP 4.4.9 (cgi) (built: Apr 20 2012 18:34:17)
/usr/local/bin/php.ORIG.5   => PHP 5.2.17 (cgi) (built: Jun  6 2012 16:19:04)
/usr/local/bin/php.ORIG.5_2 => PHP 5.2.17 (cgi) (built: Jun  6 2012 16:19:04)
/usr/local/bin/php.ORIG.5_3 => PHP 5.3.16 (cgi-fcgi) (built: Aug 27 2012 17:36:50)
@khalil-tabbal
khalil-tabbal / gist:8542635
Created January 21, 2014 15:51
patch field.datetime.php
/**
* Pre field add
*
* Before we add the field to a stream
*
* @access public
* @param obj
* @param obj
* @return void
*/
#!/bin/bash
# this script let you automatically change permissions for PyroCMS installation
echo "Start Setting PyroCMS folders permissions"
chmod -Rf 777 assets/
echo "changing permissions for assets/cache"
chmod -Rf 777 system/cms/cache
@khalil-tabbal
khalil-tabbal / pyrocms_permissions
Created October 8, 2012 15:29
PyroCMS Permission
#!/bin/bash
# this script let you automatically change permissions for a PyroCMS project
echo Start Setting PyroCMS Permissions
chmod -Rf 777 assets/
echo changing permissions for assets/
chmod -Rf 777 uploads/
echo changing permissions for uploads/