F15 - Apache and PHP



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

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


Relevant Pages

  • Apache, PHP, FOPEN Permissions problem
    ... I have a fresh install of Fedora Core 4 with Apache 2.0.54 and PHP. ... default configuration does not start httpd automatically. ... The script has not changed. ...
    (php.general)
  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: HELP: send binary replies back and forth ???
    ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
    (comp.lang.php)
  • Re: approaches to PHP-based application interface?
    ... "safe" so that the applicable parts of it can run on a public server. ... One major advantage of sticking with PHP is that my fairly large ... stripped-down browser so it runs as a Windows application without any ... apache involvement. ...
    (comp.lang.php)