Re: I can see my php code in browser? [SOLVED]
| From: | afan at afan dot net | Date: | Thu, 28 Sep 2006 15:03:24 +0000 |
| Subject: | Re: I can see my php code in browser? [SOLVED] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242350@lists.php.net to get a copy of this message | ||
> You need a line like one of the following in your Apache http.conf file:
>
> LoadModule php4_module /usr/local/php/phpWeb/.libs/libphp4.so
> #LoadModule php5_module /usr/local/php/phpWeb/.libs/libphp5.so
>
This line I didn't need since module was alreadi loaded...
> You also need to register in your http.conf what file extensions cause
> 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
>
... and this was the "mmissing" part. I thought YAST will do everything :(
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
>
>