what am I doing wrong
Posted: Fri Mar 31, 2006 4:59 am
After a hardware failure on my apache web server, i built a new one, installed and configured apache, php and mysql, and restored the htdocs files and mysql data folders from tape backup into the new htdocs and data folders.
Apache runs fine when viewed in ie.
PHP is installed and phpinfo returns all the php stuff when viewed on the web.
MYSql is accessable via cmd and the databases are visable and full of data via odbc into excel.
The problem is that when i visit my search page and enter a search, the resulting php search page displays only the html and no data from the database.
If I edit the database login on the search page so that it shouldn't be able to log into the database, the results page is just the same, no error message telling me could not connect etc etc. It used to do this.
It seems that php just isn't running properly or is not aware of mysql.
Can anyone think of any reasons or tests to help me.
Thanks in advance
Okanem
Apache runs fine when viewed in ie.
PHP is installed and phpinfo returns all the php stuff when viewed on the web.
MYSql is accessable via cmd and the databases are visable and full of data via odbc into excel.
The problem is that when i visit my search page and enter a search, the resulting php search page displays only the html and no data from the database.
If I edit the database login on the search page so that it shouldn't be able to log into the database, the results page is just the same, no error message telling me could not connect etc etc. It used to do this.
It seems that php just isn't running properly or is not aware of mysql.
Can anyone think of any reasons or tests to help me.
Thanks in advance
Okanem