PHP Installation/Upgrade problems
I am currently attempting to upgrade a Linux server (running SuSE 9) from PHP version 4.3.4 to PHP version 5.1.6, the latest download I found online. I attempted to follow the instructions in the 'install' file which was packaged with the download, but I have apparently done something wrong. That's not too surprising, this is the first time I've ever tried to install PHP, or for that matter anything, on a linux box...I'm still fairly new to linux.
I was attempting to install php 5.1.6 on a system already running an apache2 server, which was hosting our 4.3.4 as far as I can tell. Everything seemed to be going well until I swapped out the old php.ini file for the new one. The new file was created by adding or changing the appropriate lines in the php.ini-recommended file that came with the download.
After I swapped out the ini files, I restarted the server, and it appeared to start. After this, though, I went to check on one of our previously coded php programs, which is dedicated to keeping updates on the slony database replication system. The page never displayed...or more precisely, a blank page appeared. Purely blank, no source code visible, and the word 'done' in the lower left corner. I tested this on a few other of our pages, and they all seem to have similar problems.
The situation is rather strange, because it's not like the system is totally broken down. A few of the pages I've built that I checked on were mostly echoed statements for building html forms that php would end up processing, and the print statements seem to work. That is, any print or echo statement between the '<?php' tag and the first non-print/echo statement produces output. (It should be noted that these are largely heredoc format print statements; there's really only a couple at most being processed.) The only other thing I was able to get to work was the phpinfo() command, which has glibly informed me that I'm still running 4.3.4 even after swapping out the ini files.
If anyone is willing to help me, I would greatly appreciate it. If you need more information, please let me know what is needed and I will respond as quickly as I can.
Thanks in advance,
-EnderX
"No trees were harmed in the creation of this message. However, several electrons were severely inconvenienced."
|