LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php page will not load (https://www.linuxquestions.org/questions/linux-software-2/php-page-will-not-load-228968/)

kaplan71 09-10-2004 11:16 AM

php page will not load
 
HI there --

I am running Apache server 1.3.31 with PHP 4.3.8 installed from source. I have followed the directions in installing the php.ini file in the default directory as well as confirmed the additions to the httpd.conf file. Apache has been restarted after the changes were made.

When I type in the URL for a php file, I get the source code of the file on the screen, but not the web page it is supposed to display. What should I check for and change to correct this? Thanks.

masand 09-10-2004 11:34 AM

hi

there is php-module for apache,
u need to install that
which OS u r used

regards

netboy_541 09-11-2004 06:36 AM

make sure you have install the php libraries for apache. I had this same problem and it about drove me crazy.

make sure you install libphp.

another thing you will need to do is go into httpd.conf and set it to parse the *.php files as pages and run them instead of displaying the code..

jamaas 09-11-2004 07:15 AM

having same problem
 
I'm having the same problem and just about to crack up....

How does one check to see if libphp is present and/or available?

If it is not where can I get it for PHP 4.3.8 and Apache 1.3.29 ?

thanks a bunch

jamaas btinternet com

netboy_541 09-11-2004 07:30 AM

if you have apt-get installed, it's a breeze


apt-get update

apt-get install phplib

away it goes...

make sure you are super user first tho..

if you don't have apt-get -- go to http://apt.freshrpms.net

if you are running RH9, you may have to track it down yourself...

jamaas 09-11-2004 07:36 AM

fixed it ....
 
Thanks a bunch, help is appreciated and I finally cracked it ....

The book I am using failed to mention one little step ..... which I did find on the PHP web page......

but I'm not bitter or annoyed ...:mad: :cry:

I might be back for more....

Jim
=====
11. make
12. make install

If you decide to change your configure options after installation,
you only need to repeat the last three steps. You only need to
restart apache for the new module to take effect. A recompile of
Apache is not needed.

Note that unless told otherwise, 'make install' will also install PEAR,
various PHP tools such as phpize, install the PHP CLI, and more.

13. Setup your php.ini file:

cp php.ini-dist /usr/local/lib/php.ini

netboy_541 09-11-2004 07:37 AM

ahh yes --

when building from source, that is a requirement!!

I can't belive a book would forget to mention that... LOL

well there you go!

Take care...


All times are GMT -5. The time now is 04:44 AM.