sitara
January 19th, 2006, 05:27 AM
I have a problem browsing PHP files on my Apache server. When I enter the address of a .php file, the browser doesn't know what to do with it. Konqueror opens the 'Open with..' dialog and Firefox asks 'What should Firefox do with this file?' - I don't know what to say! I can access HTML files on the same server with no problem.
I have been running Apache2, PHP5 and MYSQL quite successfully for several months, but yesterday I tried to do a couple of things:
1) Connect to my MYSQL database from Openoffice.
2) Install MYPHPMONEY.
I was unsuccessful on both counts, but in my efforts I installed and removed a few packages.
The first problem I had with my PHP application was a message saying that 'mysql_connect' could not be found. I tried reinstalling MYSQL and PHP and APACHE, but just mad matters worse! Now I sit with the problem described at the top of this post.
The strange thing is that I have a PHP CLI app that is running quite happily as a cron job, accessing the MYSQL database.
One other symptom is that Synaptic cannot remove PHPMYADMIN. It gives me this error: 'E: phpmyadmin: subprocess pre-removal script returned error exit status 127'.
I don't know if it's relevant, but I also had a problem removing MYPHPMONEY. There was a message in the console saying that APACHE was being reloaded, then Synaptic hung. I restarted APACHE manually and the removal completed.
Any help would be appreciated.
I have been running Apache2, PHP5 and MYSQL quite successfully for several months, but yesterday I tried to do a couple of things:
1) Connect to my MYSQL database from Openoffice.
2) Install MYPHPMONEY.
I was unsuccessful on both counts, but in my efforts I installed and removed a few packages.
The first problem I had with my PHP application was a message saying that 'mysql_connect' could not be found. I tried reinstalling MYSQL and PHP and APACHE, but just mad matters worse! Now I sit with the problem described at the top of this post.
The strange thing is that I have a PHP CLI app that is running quite happily as a cron job, accessing the MYSQL database.
One other symptom is that Synaptic cannot remove PHPMYADMIN. It gives me this error: 'E: phpmyadmin: subprocess pre-removal script returned error exit status 127'.
I don't know if it's relevant, but I also had a problem removing MYPHPMONEY. There was a message in the console saying that APACHE was being reloaded, then Synaptic hung. I restarted APACHE manually and the removal completed.
Any help would be appreciated.