Click to See Complete Forum and Search --> : [RESOLVED] PHP5 on Ubuntu/Apache.. issue!


jcrocks4101
05-26-2007, 11:14 PM
trying to install php5 on ubuntu 7.04 running apache. Install goes fine, I also install libapache-mod-php5 and that seems to go well too.. only problem is that php5 isn't an available (or enabled) module for apache. I installed using the apt-get install command from the terminal and using synaptic package manager, neither option worked. Also tried reinstalling apache(2) to no avail. I can't figure out what's going on!! This wouldn't be much of a problem really, if I could figure out how to get the server to parse the PHP code.. Firefox prompts me to save the file when i try to load it.. I have tried modifying httpd.conf(or apache2.conf in this case), and that doesn't work... please help!!! (also installed other necessary php5 items.. like php5-common, etc).

j_70
05-28-2007, 08:44 PM
When you try and access a PHP page, tail -f you apache log. It is pretty good at telling you what is going on (or not going on). Post the errors and we can probably figure out if this is a configuration or installation issue.

jcrocks4101
05-28-2007, 10:11 PM
Thanks for the suggestion - however, I just reinstalled ubuntu and it worked. before doing so I uninstalled apache2 php5, etc completely.. reinstalled everything, still nogo.. the php5 apache mod just wouldn't install properly (even tho apt reported it did). All is working fine now :).