Re: How to set file extension php Mac OSX and PHP 4.0.6
| From: | René Fournier | Date: | Sun, 02 Dec 2001 21:15:13 +0000 |
| Subject: | Re: How to set file extension php Mac OSX and PHP 4.0.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76351@lists.php.net to get a copy of this message | ||
OK, that makes sense--that's what I did under WinME. The only problem is that I can't seem to find the httpd.conf file anywhere. At least, Sherlock is not returning any results. Do you know which directory httpd.conf is in?
...Rene
On Sunday, December 2, 2001, at 01:56 PM, Michael B. Weiner wrote:
modify the apache configuration file (i.e. httpd.conf) and add it as and AddType, as in the following: AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps HTH -- René Fournier wrote:René Fournier renefournier@yahoo.comI have successfully installed PHP 4.0.6, and it works! Only problem is that Apache only sends files to the PHP module that have a .php extension. However, I need to name the files .php4 (long story). As it stands, all I see is the actual PHP source, not the output. Does anyone know how I can change Apache and/or the PHP module to recognize .php4 files and execute them as such? Thanks. ...Rene-- Michael B. Weiner, Linux+, Linux+ SME Systems Administrator/Partner The UserFriendly Network (UFN) -- Linux Registered User #94900 Have you been counted? http://counter.li.org PGP: 30 1D CC BA 30 30 63 35 CD 58 E0 89 A9 17 CC C0 8C 55 F7 72......... Escape the 'Gates' of Hell `:::' ....... ...... ::: * `::. ::'::: .:: .:.::. .:: .:: `::. :'::: :: :: :: :: :: :::.::: .::. .:: ::. `::::. .:' ::. ...:::.....................::' .::::.. -- ---