muffin100 Posted August 29, 2006 Share Posted August 29, 2006 Please Help!!!Sorry to say, I have no idea what I did wrong, but after I installed PHP 4.3.4 with apache 2.0.53, the PHP pages don't show up at all. They just show up like a text file. Just like this:[b]<?phpinfo();?>[/b]I have installed PHP as normally using a script:[b]./configure --prefix=/usr/local/php \--mandir=/usr/local/src/man \--with-mysql=/usr/local/mysql \--with-apxs2=/usr/local/apache2/bin/apxs[/b]then make and make installand I have also configured the httpd.conf with:[b]LoadModule php4_module /usr/local/apache2/modules/libphp4.so[/b]&[b]AddType application/x-httpd-php .php .php3[/b]Is there something wrong with my configuration or my installation? Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 29, 2006 Share Posted August 29, 2006 Does this work?[code]<?phpphpinfo();?>[/code]If so, then 'short tags' are not enabled in your set-up. Quote Link to comment Share on other sites More sharing options...
muffin100 Posted August 30, 2006 Author Share Posted August 30, 2006 No, the page comes up with:<?phpphpinfo();?>any other suggestions? Quote Link to comment Share on other sites More sharing options...
varplyer Posted September 14, 2006 Share Posted September 14, 2006 OMG... thank you for this post.I've been a PHP Guru for since 2001... and I just 24hours trying to get it to work on W2K, which normally I use Linux. However the first time I've use 5.1.x and I didn't realize that the directive short_tag_open = off I was pulling my nose hair out.This is what you need to change in the php.ini in order to make <? echo phpinfo() ?> work.. otherwise you have to u se <?php echo phpinfo(); ?> Quote Link to comment Share on other sites More sharing options...
karthikeyan_coder Posted September 14, 2006 Share Posted September 14, 2006 what about Apache status? is it running well? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.