Problem with dynamic pages on publishing server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thavaht
    New Member
    • Aug 2006
    • 12

    Problem with dynamic pages on publishing server

    I recently began drawing dynamic pages using PHP + MYSQL.
    I’m developing the site on windows XP / Apache 1.3.34 / PHP 5.1.2 as a testing server.
    My publishing server is on another machine on the same network running Fedora Core 3, Apache 2.0.53 (fedora), PHP 4.3.9. MYSQL Server version is 4.0.27 and it is installed on the Linux machine. I’m using the same mysql for testing and for publishing. The connection to mysql server is successfully from any machine on the network.

    Now I’m facing a strange problem:
    All pages on my site contain php scripts and are correctly displayed, both on the testing and on the publishing server, except those containing dynamic tables.

    From some 3 or 4 days ago the pages that return recordsets from mysql are no longer displayed from the publishing server but they are still correctly displayed from the testing server (before, it was all ok). If in Firefox a receive a dialog box to download or to open the PHP script; If in IE a receive a message that page cannot be displayed.

    I did not make any changes on the Linux machine so I don’t know what to check. What can I do (before replacing all the system)?
  • thavaht
    New Member
    • Aug 2006
    • 12

    #2
    Probably it was lack of same php-myself libraries.
    When I type the command “rpm –qa | grep php” on the linus shell, I get the result:

    php–4.3.9–3
    php–pear–4.3.9– 3
    php–mysql–4.3.9 –3

    On the other hand when I call the page <?php phpinfo(); ?>, mysql support is not displayed on the resulting page (how come?).
    I reinstalled all php and mysql packages. That’s all right now.
    Thanks any way.

    Comment

    Working...