Re: [PHP] I can see my php code in browser? [SOLVED]
- From: afan@xxxxxxxx
- Date: Thu, 28 Sep 2006 17:03:24 +0200 (CEST)
You need a line like one of the following in your Apache http.conf file:This line I didn't need since module was alreadi loaded...
LoadModule php4_module /usr/local/php/phpWeb/.libs/libphp4.so
#LoadModule php5_module /usr/local/php/phpWeb/.libs/libphp5.so
You also need to register in your http.conf what file extensions cause.... and this was the "mmissing" part. I thought YAST will do everything :(
the content to be processed by PHP. This is done via the following line
(you may not want all of them for your system):
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml .html .htm
Yup. It works now. Thanks Rob!
Thanks to everybody else for help.
-afan
Cheers,.
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- References:
- I can see my php code in browser?
- From: afan
- Re: [PHP] I can see my php code in browser?
- From: Robert Cummings
- I can see my php code in browser?
- Prev by Date: RE: [PHP] Convert UTF-8 to windows-874?
- Next by Date: mysql_real_escape_string() question
- Previous by thread: Re: [PHP] I can see my php code in browser?
- Next by thread: Re: [PHP] I can see my php code in browser?
- Index(es):