Just figured out the problem myself.
It seamed that my phpinstallation couldn't find php.ini
wow what a stupid thing to stumble on.
Just to answer my own question:
Changing settings for phpLib can be done in apaches config file very easily. if php.ini is lost for example or if you want diffrent setings for diffrent virtual hosts.
Add the following to the conf file will get everything working in a hurry.
php_value "include_path" "/my/little/path"
php_value "auto_prepend_file" "prepend.php3"
also for php4: change apaches conf file so that .php3 files dont try to run php3.
I humbly thank myself.