problem in executing php code in lamp server under open suse 11.3
hi,
i have got open suse 11.3 and lamp server installed on my pc. i have pelaced a file.php in /srv/www/htdocs. while i open the url http://localhost/file.php,it asks me to open or save this file.php. could u plz help me out? i shall br grateful to u |
Quote:
From what you're describing, it sounds as if you don't have PHP installed/enabled. Has PHP worked on this server before, or is this a fresh installation? You can, at the command line, type in "yast2 -i apache2-mod_php5", and that should install the PHP module for Apache, and you'll have to restart Apache for the changes to kick in. Or, you can go into Yast->Software Management, and put in "PHP5" into the search box, and install what you need, and again, have to restart Apache. |
All times are GMT -5. The time now is 09:52 AM. |