|
Posted by Curtis on 12/25/06 10:04
If you're using Win32, the config is different; you'll need to load the
right DLL, which can vary, depending upon Apache version. If you don't
know what version of Apache you have, open the terminal and type
`apache -v`. Just check the install.txt file that comes with your PHP
distribution for the details.
Common sense, I guess, but if your DB info has been out in the public,
don't forget to change your user and password after getting PHP up and
running.
Curtis
On Dec 25, 1:22 am, hacka...@gmail.com wrote:
> 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]
|