All posts in PHP on Shared Hosting

Using LESS with Assetic without Node.js

If you want to use Assetic with LESS support in shared hosting or in a server without node.js you might want to try lessphp. Note: The installation is quite simple. Add lessphp to your Composer dependencies (php composer.phar require oyejorge/less.php) Update your Symfony configuration (usually app/config/config.yml): assetic: filters: cssrewrite: ~ . . . Read more

How do I access php.ini?

The php.ini files are not available to shared hosting users, however, you can overwrite any of the directives using the .htaccess file. Directions to change PHP configuration directives by using Apache’s .htaccess files: Reditect generator: