mike to mike hehe
this is what I got from our sysad. I think he just showed me what he did. I already emailed him your previous reply.
[root@ourserver php-4.3.2RC2]# ./configure --with-apache=/home/roger/sources/apache_1.3.20 --with-mysql=/usr/local/mysql --enable-track-vars --enable-ftp
[root@ourserver php-4.3.2RC2]# make
[root@ourserver php-4.3.2RC2]# make install
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts
-20020429/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
sh: /usr/bin/cpp: No such file or directory
[PEAR] PEAR - installed: 1.1
[PEAR] DB - installed: 1.3
[PEAR] HTTP - installed: 1.2
[PEAR] Mail - installed: 1.0.1
[PEAR] Net_SMTP - installed: 1.0
[PEAR] Net_Socket - installed: 1.0.1
[PEAR] XML_Parser - installed: 1.0.1
[PEAR] XML_RPC - installed: 1.0.4
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
program: phpextdist
***
With httpd.conf open in your text editor, find a section that looks like the following:
# And for PHP 4.x, use:
#
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
Just take away the "#" before the two AddType lines, and add ".phtml" on the line with ".php". If you want to create your own file extension for PHP files, like .joe (really, you can!), add .joe after the .php and .phtml in the first AddType line. The section should now look something like this:
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
TIP: If you want to parse *.html files as PHP, just add the file extension to the list in your AddType line, so that it ends up looking like this:
AddType application/x-httpd-php .php .phtml .html
Save the file, go up a directory (cd ..), and stop and restart Apache
anyone else know what happened wrong?