• Happy Coding

Archive for January, 2009

Invalid command ‘RewriteEngine’

After i made a new Apache installation on Ubuntu in whose httpd.conf file i use the

RewriteEngine on

command, i got the following error, when starting Apache:

Invalid command ‘RewriteEngine’

To fix this problem, i executed

sudo a2enmod rewrite

to enable the Rewrite module.

phpize not found

I needed to install phpize on my Ubuntu system

The phpize command is used to prepare the build environment for a PHP extension. [...]

and got the following error:

phpize not found

To solve this problem i needed to install the php5-dev package

sudo apt-get install php5-dev