Tag Archives: PHP

Problem installing PECL PHP extensions while /tmp is secured 2

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 [...]

Use PHP, GD and .htaccess to Watermark All Images in a Directory 10

The goal here is to watermark all images in a certain directory, except for thumbnails or other selection. You can either do this on each file prior to placing on your webserver – which is probably wise for CPU load issues – but let’s just say you want to do this for all files [...]

ffmpeg PHP Extension Howto for CentOS 1

If you need to compile ffmpeg for PHP (for example, to allow PHP to process video similar to how YouTube does) – then follow this Howto from Nazly. For a CentOS machine with custom PHP, it works great.
Ffmpeg PHP Extension Compile Instructions

New systemBash Theme Comments Off

New theme with hopefully a better design!
<?php
echo “testing!”;
?>
Drop me a line to let me know what you think!

Joomla! 1.0.12 Double Pathway Bug 3

Joomla! 1.0.12 appears to have a pathway bug. If you use a component other than com_frontpage for the “Home page” of Joomla – meaning the first link in mainmenu and the page that appears when you load the root of the Joomla! site – then when you click on an article you get a “Double [...]