i built my own apache2
and installed it into my home directory. after changing th port to 8000 it worked and ich could see my pages. so i added a loadmodule entry in my apache config files for having php
that worked too.
i've installed both php
as ordinary package from the main debian etch servers but now php says that he cant find the mysql_connect()
function. but there i NO php.ini
file on my system which has no extension=mysql.so entry!
how can that be? php just HAS to read the php.ini files eiter /etc/php4/cgi/php.ini
or my ~/.php.ini
cause of the enviroment variable PHPRC="/home/test/.php.ini"
just where does my apache2 gets an php version without mysql? doesnt he use the php-cgi/php4-cgi program? could i change the program he uses?
if i type
php4-cgi /home/test/apache2/htdocs/test.php >./test.html
there is the right page which is using mysql correctly.
can anyone help me?