[opensuse] problem with apache & php
Just installed on one test-box SuSE ES9. Was easy. Installed Apache. Was easy. Opened Konqueror and opened 'localhost' - was ok. kreated test html page in /home/me/public_html, opened as localhost/~me/test.html and worked fine. Installd successfully installed php - no errors. Created php test file with <?php phpinfo(); ?>. And, now start the problems: when try to open localost/test.php actualy, I was asked to "Save As..." or "Open with..."? same thing with localhost/~me/test.php Did I forgot something? Checked on Novell's CoolSolutions page (http://www.novell.com/coolsolutions/feature/595.html) and I did everything the same. What's a problem? Thanks for any help. -afan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Sep 13, 2006 at 07:27:54PM +0200, afan@afan.net wrote:
Just installed on one test-box SuSE ES9. Was easy. Installed Apache. Was easy. Opened Konqueror and opened 'localhost' - was ok. kreated test html page in /home/me/public_html, opened as localhost/~me/test.html and worked fine. Installd successfully installed php - no errors. Created php test file with <?php phpinfo(); ?>. And, now start the problems: when try to open localost/test.php actualy, I was asked to "Save As..." or "Open with..."? same thing with localhost/~me/test.php
Did I forgot something? Checked on Novell's CoolSolutions page (http://www.novell.com/coolsolutions/feature/595.html) and I did everything the same. What's a problem?
Thanks for any help.
Did you enable the PHP module in the apache configuration? APACHE_MODULES in /etc/sysconfig/apache2 ? Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
No. I didn't. I added few lines I found on Google (AddType application/x-httpd-php - something like that) and restarted Apache - didn't work. I deleted those lines and restarted Apache again and it worked?!?!? Don't ask me how :) Anyway, problem solved. Thanks. -afan
Did you enable the PHP module in the apache configuration? APACHE_MODULES in /etc/sysconfig/apache2 ?
Ciao, Marcus --------------------------------------------------------------------- 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
participants (2)
-
afan@afan.net
-
Marcus Meissner