Hi there , i had the same prob for some days now. But now it works... I tell you my solution....
Download apache 2.0.39 and php 4.2.1 and php4-STABLE-latest.tar.gz at http://snaps.php.net/php4-STABLE-latest.tar.gz cd to dl location of php4-STABLE-latest.tar.gz tar -zxvf php4-STABLE-latest.tar.gz cd to dl location of apache 2.0.39 tar -zxvf httpd-2.0.39.tar.gz cd httpd-2.0.39 ./configure --enable-so wait till the bash make wait till the bash make install wait till the bash so far its easy this is a standard install into "/usr/local/apache2" now lets do the php thing cd to dl location of php 4.2.1 tar -zxvf php-4.2.1.tar.gz copie all the content of the dir "php4-STABLE-latest" you have un tar t at the begining to the dir php-4.2.1 overwright everything. i'll hope you have mysql-3.23.51-pc-linux-gnu-i686 installed in /usr/local/mysql if so do the the following.... cd to php-4.2.1 ./configure --prefix=/usr/local/apache2/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/php --with-mysql=/usr/local/mysql wait till the bash make wait till the bash make install Ok when i dit this i finally had no probs at compiling these. but you are still not there yet when still in dir "php-4.2.1 copy php.ini-dist to /usr/local/lib/ at a line just like this LoadModule php4_module modules/libphp4.so to apache configuration file (/usr/local/apache2/conf/httpd.conf). This line allows Apache to automatically load PHP module when Apache starts. If this line is not added by php install then you can add it yourself. To add this line yourself, search for a word LoadModule in /wwwroot/conf/httpd.conf file and then add the above line on a new line. Note all lines that start with a # are comments and are ignored by Apache. Like: AddType application/x-httpd-php .phtml will invoke PHP parser whenever any file with phtml extension (.phtml) is accessed. To add this line search for word AddType in httpd.conf file. There will be line like this: AddType application/x-tar .tgz Below this line add (on a new line): AddType application/x-httpd-php Save this file and then start Apache like this /usr/local/apache2/bin/apachectl start If no error message is displayed and everything is fine, Apache is started and message like httpd started is displayed and you are returned to shell prompt. Testing the PHP Installation Now create a PHP file called info.php, using any editor like vi or emacs, in the /wwwroot/htdocs directory and enter the three lines shown below in this file. This directory is the Apache root directory. Apache publishes all files present in this directory to web users. This directory can be changed by editing httpd.conf file and changing DocumentRoot value to some other directory. info.php <?php phpinfo(); ?> Save this file and then access this file using a web browser like lynx or Netscape navigator by entering a url shown below: http://localhost/info.php If PHP was installed successfully a page will be displayed containing detailed information about your PHP installation, Apache environment and PHP extensions loaded etc. I hope you just said jippie.... it worked for me... sincerrerly yours, aZzKikr "king of the nOObs" With thanks to Sukhwinder Singh at http://www.geocities.com/honey_jal/index.htm#before -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php