Jump to content


Installation problem

  • Please log in to reply
4 replies to this topic

#1 muffin100

  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 29 August 2006 - 04:32 AM

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:


I have installed PHP as normally using a script:

./configure --prefix=/usr/local/php \
--mandir=/usr/local/src/man \
--with-mysql=/usr/local/mysql \

then make and make install
and I have also configured the httpd.conf with:

php4_module /usr/local/apache2/modules/libphp4.so


AddType application/x-httpd-php .php .php3

Is there something wrong with my configuration or my installation?

#2 AndyB

  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 29 August 2006 - 04:45 AM

Does this work?


If so, then 'short tags' are not enabled in your set-up.
Legend has it that reading the manual never killed anyone.
My site

#3 muffin100

  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 30 August 2006 - 11:02 PM

No, the page comes up with:


any other suggestions?

#4 varplyer

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 September 2006 - 03:52 PM

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(); ?>

#5 karthikeyan_coder

  • Members
  • PipPipPip
  • Advanced Member
  • 201 posts

Posted 14 September 2006 - 08:02 PM

what about Apache status? is it running well?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users