- Published:
- November 21, 2008 – 3:17 pm
- Author:
- By Dave
I recently tried to install a PHP PECL extension on a server I manage, when I received this error:
[root@xxxx PDO-1.0.3]# pecl install pdo
downloading PDO-1.0.3.tgz …
Starting to download PDO-1.0.3.tgz (52,613 bytes)
………….done: 52,613 bytes
12 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
/usr/local/bin/phpize: /tmp/pear/temp/PDO/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find [...]
Categories: Configurations, Linux, Shell
Tagged: pecl, PHP, sysadmin
- Published:
- November 13, 2008 – 12:39 pm
- Author:
- By Dave
I recently took upon the task of setting up a presentation display in the lobby of our building. This display had previously used an old computer running Windows 2000, and displayed a fairly simple PowerPoint presentation with a few frames, mostly a schedule for anyone coming into the building.
We did a renovation and this display [...]
Categories: Configurations, Shell, System Administration, Tech, Ubuntu
Tagged: display, lobby, power point, powerpoint, Ubuntu
- Published:
- November 1, 2008 – 9:56 pm
- Author:
- By Dave
If you are running Apache for your web server, and mod_rewrite is installed (this is a pretty typicaly module on all installations) this is actually pretty easy.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^subdomain\.yourdomain\.com
RewriteRule ^(.*)$ http://www\.yourdomain\.com/subdomain/$1 [L]
Add this code to your apache configuration file – the easiest location is in the .htaccess file in your root web directory. This [...]
Categories: Code Samples, Linux, Other Code, Software
Tagged: apache, mod_rewrite, web server