Click to See Complete Forum and Search --> : [RESOLVED] Can't get php5 to work


paulfxh
04-20-2008, 08:16 AM
This is my first post on this forum and my knowledge of PHP is in the range of zero to extremely limited.:o
I have used PHP5 together with Apache2 to run eyeOS using this guide (http://wiki.eyeos.org/HOWTO_Install_eyeOS_on_Ubuntu_Gutsy) and this has worked fine on two machines.:D
However, I'm now trying again to install eyeOS using the very same guide but I cannot get PHP5 to work for me this time.:mad:
The problem occurrs in Step 10 of the guide when I am asked to browse to http://localhost/apache2-default/eyeOS/install.php which should launch the installer for eyeOS.
However, what actually happens is that a dialog box pops up offering to either open install.php using a text editor or to save it to disk.
I have also tried to launch some basic .php files from http://localhost meant to display simple text messages but, once again, I am only able to either open or save the .php file.
Can anybody please help me figure this out?
For completeness, I will mention that I'm installing eyeOS in Ubuntu Gutsy (together with PHP5 and Apache2 from the Ubuntu repos) on a MacBook (C2D, 2.16 GHz). However, as I have previously managed to get eyeOS working on this same machine, it doesn't seem like the problem is at all MacBook-related.
Thanks
Paul

TenaciousC
04-20-2008, 12:36 PM
The quickest and easiest solution to this would be to grab something like XAMPP and let it install everything for you.

http://www.apachefriends.org/en/xampp.html

Other than that, it sounds like either A) PHP isn't installed, or B) Apache isn't configured correctly.

paulfxh
04-20-2008, 09:47 PM
@TenaciousC
Thanks a lot for your reply.
Xampp did the trick for me and everything is working fine for me now.
Still can't understand why it didn't work the first time, though.
Best wishes
Paul