|
Posted by hackajar on 12/25/06 09:22
Is this in your httpd.conf?
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
For PHP 4:
LoadModule php4_module libexec/libphp4.so
For PHP 5:
LoadModule php5_module libexec/libphp5.so
if not see php.net manual:
http://www.php.net/manual/en/install.unix.php#install.unix.apache
Cheers,
Hackajar
Chuck wrote:
> Hi,
>
> I'm using Apache, and I created a .php page and viewed it
> in Firefox, and discovered that all of the <? ?> content
> was visible using View Source.
>
> How do I hide that PHP code from users?
>
> That code necessarily has PHP commands for acessing
> a database and so on... sensitive stuff.
>
> Thanks.
Navigation:
[Reply to this message]
|