fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: F15 - Apache and PHP

Re: F15 - Apache and PHP

From: Steven Stern <subscribed-lists_at_nospam>
Date: Wed Oct 26 2011 - 02:40:01 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

On 10/25/2011 04:30 PM, Steven F. LeBrun wrote:
> Hi,
> For the past month or two, I have been developing a web site on my
> laptop using Apache 2.2.21 with PHP 5.3.8 on Fedora 15. Everything was
> working as expected until a few days ago. One day, my Apache HTTPD
> server stopped processing the PHP code in the files with "php"
> extensions, the very files that worked correctly the day before.
> I have gone over all the changes that I have made to php.ini (made no
> changes to the httpd configuration files). I am not sure what changed
> to cause Apache to pass the PHP code in the HTTP response back to the
> browser. It is possible that my system was updated using yum via
> yumex. There are no signs of errors in the httpd error_log or messages log.
> At the moment, my browser is receiving the full PHP files including the
> embedded php code.
> Any suggestions on how to fix or find the cause of this problem are welcome.
> --
> Steven F. LeBrun
> Quote: /"The pessimist complains about the wind; the optimist expects it
> to change; and the realist adjusts the sails."/
> -- Anonymous

Check the php.ini file to make sure that short_open_tab=On or all the
stuff you coded with just "<?" and not "<?php" will show up as text.

-- -- Steve -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines