[opensuse] OpenSuse 10.3 and mod_php5 installation does not execute index.php
Hi, i have upgraded from 10.1 to 103 and now suddenly the Apache2 PHP module does not work anymore. (apache2-2.2.4-70.4 apache2-mod_php5-5.2.5-8.1) If i want to access index.php in my firefox it wants to *download* the file instead of processing it server side. In /etc/apache2/httpd.conf if have Include /etc/apache2/conf.d/php5.conf (which has DirectoryIndex index.php) # httpd2 -M Loaded Modules: ... php5_module (shared) How can i approach this? Thank you Marcel -- Marcel Ruff http://www.xmlBlaster.org http://watchee.net Phone: +49 7551 309371 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
also make sure the file starts with wrote:
Hi,
i have upgraded from 10.1 to 103 and now suddenly the Apache2 PHP module does not work anymore. (apache2-2.2.4-70.4 apache2-mod_php5-5.2.5-8.1)
If i want to access index.php in my firefox it wants to *download* the file instead of processing it server side.
In /etc/apache2/httpd.conf if have Include /etc/apache2/conf.d/php5.conf (which has DirectoryIndex index.php)
# httpd2 -M Loaded Modules: ... php5_module (shared)
How can i approach this?
Thank you Marcel
-- Marcel Ruff http://www.xmlBlaster.org http://watchee.net Phone: +49 7551 309371
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andreas van dem Helge wrote:
also make sure the file starts with
On 4/25/08, Marcel Ruff
wrote: Hi,
i have upgraded from 10.1 to 103 and now suddenly the Apache2 PHP module does not work anymore. (apache2-2.2.4-70.4 apache2-mod_php5-5.2.5-8.1)
If i want to access index.php in my firefox it wants to *download* the file instead of processing it server side.
In /etc/apache2/httpd.conf if have Include /etc/apache2/conf.d/php5.conf (which has DirectoryIndex index.php)
# httpd2 -M Loaded Modules: ... php5_module (shared)
How can i approach this?
Additionally all of the "include filename;" restrictions have been tightened between php4 and php5. You will likely have to revisit each place an include is made and fix it, or drop the security that has restricted the include statement. See the release notes. The ability to use include is still there, it is just much more secure than it was. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andreas van dem Helge wrote:
also make sure the file starts with
Yep. That helped. I would never have found this, thanks a lot! Marcel
On 4/25/08, Marcel Ruff
wrote: Hi,
i have upgraded from 10.1 to 103 and now suddenly the Apache2 PHP module does not work anymore. (apache2-2.2.4-70.4 apache2-mod_php5-5.2.5-8.1)
If i want to access index.php in my firefox it wants to *download* the file instead of processing it server side.
In /etc/apache2/httpd.conf if have Include /etc/apache2/conf.d/php5.conf (which has DirectoryIndex index.php)
# httpd2 -M Loaded Modules: ... php5_module (shared)
How can i approach this?
Thank you Marcel
-- Marcel Ruff http://www.xmlBlaster.org http://watchee.net Phone: +49 7551 309371 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 April 2008 01:08:07 am Marcel Ruff wrote:
Andreas van dem Helge wrote:
also make sure the file starts with
Yep. That helped. I would never have found this, thanks a lot!
Marcel
This is due to securities that have been locked down as David has mentioned. You can change this behavior by changing the following in your /etc/php5/apache2/php.ini short_open_tag = Off to short_open_tag = On However it is best practice to use the long name of
participants (4)
-
Andreas van dem Helge
-
Ben Kevan
-
David C. Rankin
-
Marcel Ruff