I never have had any problem while setting Apache with PHP under Suse. Only recently with 10.3 and 11.0 I have a strange issue. Everything seems fine, php lib is correctly loaded by Apache, but when I try to open a page, php code is visible in the “View/Page Source” of Firefox and not executed.
Check your Apache log files (/var/log/apache2 probably holds them).
Make sure Apache is also configured so that ‘*.php’ files are
interpreted by PHP and not just sent out directly. Of course I assume
your file ends in ‘.php’. There is also, I believe, a command you can
issue to show Apache’s loaded modules, but I can’t remember it right
now. You mentioned you believe it is loaded… what leads you to
believe that?
Good luck.
aerocom wrote:
> Hi everybody.
>
> I never have had any problem while setting Apache with PHP under Suse.
> Only recently with 10.3 and 11.0 I have a strange issue. Everything
> seems fine, php lib is correctly loaded by Apache, but when I try to
> open a page, php code is visible in the “View/Page Source” of Firefox
> and not executed.
>
> I’m not able to find the reason. Any idea?
>
> Thanks
> Filippo
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org