Re: Issues with Redhat 8.0

From: Date: Thu, 11 Mar 2004 15:51:04 +0000
Subject: Re: Issues with Redhat 8.0
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-12963@lists.php.net to get a copy of this message
I'm using Apache 2.0.4. I've since removed the LoadModule php4 and have moved the "phpinfo.php" test script to my document root, but I still have no luck with it. When I go to to page, it simply loads a blank screen. I've tried building the latest flavor of PHP, but it has a ton of dependancies, and I'd rather get what I have up and running before I go off an install another version of PHP. Any other ideas? Thanks for your help! -C.M. Hobbs Hari Bhanujan wrote:
What version of apache are you using ? Is it 2.0.. I would recommend that you remove the LoadModule php4....since you already are using AddType. As far as phpinfo() is concerned, save that as a .php file in your DocumentRoot and then from a browser call it using http://localhost/filename.php That should return the php version.. Regards Hari -----Original Message----- From: Christopher M. Hobbs [mailto:chobbs@siloamsprings.com] Sent: Wednesday, March 10, 2004 1:30 PM To: php-install@lists.php.net Subject: [PHP-INSTALL] Issues with Redhat 8.0 Greetings! I've been attempting to get PHP up and running with apache here where I work. I've added the following entries to my httpd.conf file: --BEGIN SNIP-- [root@cityhall2 chobbs]# grep php /etc/httpd/conf/httpd.conf LoadModule php4_module libexec/libphp4.so AddType application/x-httpd-php .php .phtml
         DirectoryIndex  index.php index.html index.htm index.shtml
--END SNIP-- And I've re-started Apache with /etc/rc.d/init.d/httpd restart. When I do that, I get this: --BEGIN SNIP-- [root@cityhall2 chobbs]# !678 /etc/rc.d/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Wed Mar 10 13:35:11 2004] [warn] module perl_module is already loaded, skipping
[Wed Mar 10 13:35:11 2004] [warn] module php4_module is already loaded, skipping
                                                            [  OK  ]
--END SNIP-- .php and .phtml files seem to load without a problem, but I can't seems to get them to parse the scripts. for example, in the html root directory i have a script called 'pinfo.php' that contains the following: --BEGIN SNIP-- <html> <body> <? phpinfo(); ?> </body> </html> --END SNIP-- When I access this via any web browser, it simply returns a blank page. Both the installation of Apache and the installation of PHP are the stock installs that ship with RedHat 8.0 "Psyche". I've tried installing PHP 4.3.4, but ./configure keeps returning errors about not finding 'lex'. Any ideas as to what I am doing wrong? Any help you may be able to provide is greatly appreciated! Regards, C.M. Hobbs


« previous php.install (#12963) next »