I'm following the directions here: http://plphp.commandprompt.com/documentation.html (Note that they differ from the directions included in plphp-7.4.x.tar.bz2, which I've also tried.) Using Postgres 7.4.7 and PHP 5.0.4. When I do this: 7. Build and install your plphp.so library. cd src/pl/plphp make && make install I get this error: cp @php_path@/main/php.h ./ cp: cannot stat `@php_path@/main/php.h': No such file or directory make: *** [patch] Error 1 Know what the problem is? Thanks, CSN __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match