PDA

View Full Version : PHP file browsing


sitara
January 19th, 2006, 05:19 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 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 uninstalled a few packages.

The first problem I had with my PHP application was a message saying tha '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 mail.

The strange thing is that I have a PHP CLI app that is running quite happily as a cron job, accessing the MYSQL database.

Any help would be appreciated.