This problem dove-tails with my other post:
"PHP and Postgresql: pg_connect problem".
My problem is that after installing PHP4 from source, none of the PHP code seems to process. When I view the page in a browser from another machine, the page is blank. When I view source, the PHP code is there, but no content when displayed.
Here is how I installed Linux up to PHP4.
1. Installed Red Hat 7.2 (no apache, postgres, php)
2. Installed PostgreSQL 7.2.1, from RPM
3. Installed Apache 1.3.24, from Source
4. Installed PHP4, from Source
5. Restarted Apache.
Apache runs fine, except for processing PHP code. I thought I had been careful to follow the instructions of several guides (1) "Linux Apache Web Server Administration" (2) "Web Database Step-by-Step" -- Ying Zhang (3) other Tek-Tip posts.
I used the suggested switches for installing Apache and PHP, but that did not seem to help. Therefore, I have two questions.
1. Could you provide a list of steps of items to check and cross check to get PHP to function? I obviously missed something.
2. How do I uninstall programs installed through source, and not RPM?
If you have solved something like this before, feel free to post a message. I will continue to pursue a solution on my own and post it if I figure it out first.
Thanks,
Gary
gwinn7
"PHP and Postgresql: pg_connect problem".
My problem is that after installing PHP4 from source, none of the PHP code seems to process. When I view the page in a browser from another machine, the page is blank. When I view source, the PHP code is there, but no content when displayed.
Here is how I installed Linux up to PHP4.
1. Installed Red Hat 7.2 (no apache, postgres, php)
2. Installed PostgreSQL 7.2.1, from RPM
3. Installed Apache 1.3.24, from Source
4. Installed PHP4, from Source
5. Restarted Apache.
Apache runs fine, except for processing PHP code. I thought I had been careful to follow the instructions of several guides (1) "Linux Apache Web Server Administration" (2) "Web Database Step-by-Step" -- Ying Zhang (3) other Tek-Tip posts.
I used the suggested switches for installing Apache and PHP, but that did not seem to help. Therefore, I have two questions.
1. Could you provide a list of steps of items to check and cross check to get PHP to function? I obviously missed something.
2. How do I uninstall programs installed through source, and not RPM?
If you have solved something like this before, feel free to post a message. I will continue to pursue a solution on my own and post it if I figure it out first.
Thanks,
Gary
gwinn7