Showing posts with label Symfony. Show all posts
Showing posts with label Symfony. Show all posts

Jul 16, 2013

Ubuntu Linux Items

Turns out installing items on Ubuntu is extremely easy. The following items turned out to be useful tips (if not also the "proper" way to install additional items).

For PHP, to install additional modules, it's also a "sudo apt-get install php" command. Press the tab key "tab out, as it were, and it will show you the additional items that can be installed.

For Apache, to enable additional modules, instead of modifying the httpd.conf file, the files are separated out into separate directories. Use the "a2enmod" (presumably it's the 'Apache2 enable module' command.

I'm working on getting Ubuntu running Symfony and connecting to the Azure SQL Server database - this is turning out to be quite the challenge. After that nut is cracked, or when I crack and install MySQL instead (using apt-get), I'll post the results here to save the next person some work.

Jun 17, 2013

Composer and IIS

When running composer on a site hosted by IIS, the permissions of downloaded files aren't correct. The IIS user is not added, which means all of those packages you just downloaded cannot be used by your application. Fret not, there is a simple command to recursively update permissions (a la chmod, chgrp for linux).

icacls ./ /grant:r IUSR:"(OI)(CI)"F /t /inheritance:e

This took a bit of time to start and finish, but when it was completed, everything was good to go.