Jump to content

Installation problem


Recommended Posts

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 install
and 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?
Link to comment
Share on other sites

  • 2 weeks later...
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(); ?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.