I have attempted to compile and install PHP using the 'Static' method described in the INSTALL file that comes with php
php configured with: ./configure --with-mysql --with-pgsql --with-apache=/usr/local/apache/apache _1.3.22/ (make => make install) php.ini was copied to: /usr/local/lib/php.ini I have the following line in my httpd.conf file: AddType application/x-httpd-php .php apache installed in /usr/local/apache apache configured with ./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/l ibphp4.a Apache was already installed and working with mod perl, I just went into /usr/local/apache/apache_1.3.22 stopped the web server and ran the line above (and then make & make install of course) how can I check to make sure the libphp4 module was activated properly and that apache is using it? I see nothing about a mod_php module when I do a httpd -l, it gives me this Compiled-in modules: http_core.c . . . mod_perl.c suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec I have mod-perl working with apache (for scoop site) so I don't want to completely wipe apache and try to install from scratch using the 'Dynamic' method described in the php INSTAll file My system: uname -a = 'Linux my.host.name 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown' apache version 1.3.22 php version 4.2.3 My problem is that every time I try to make a request for a php page from a browser, the 'Download Dialog' box appears in explorer and the browser automatically downloads the php file without the server processing the php code??... Shouldn't I see mod_php when I do an httpd -l after following the 'Static' install instructions from the INSTALL file? I don't see anything about php when I do a /usr/local/apache/bin/httpd -V under the 'Server compiled with' section. I've followed the 'Static' Install directions without errors and have inserted the AddType line into my apache config file (httpd.conf). I'm still getting the download dialog box when I make a request from a browser for a page with a .php extension. HTML files are properly processed by apache and if I make up a file extension i.e.- 'phpinfo.hot' and request that from a browser apache sends the contents to the browser (php code available via view source). I found something on phpbuilder mentioning something about needing an entry in the mime.types file. I don’t know what the entry in the mime.types file for php files should look like does anybody out there have an idea? -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php