#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Denmark
    Posts
    2
    Rep Power
    0
    I run Apache 1.3.11 and PHP-4.0b4pl1 at a windows 2000 pro.
    My problem is when I open a php file it shows "X-Powered-By: PHP/4.0b4pl1 Content-Type: text/html" in upper left corner. And I can´t remove it.. Can anyone help me what to do?
    GreyMan
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Denmark
    Posts
    2
    Rep Power
    0
    Hmmm.. I need some answers!!!!!
    Det suger sku at have det lort oppe i hjørnet
  4. #3
  5. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Check the manual. There is a directive in the php.ini file to turn that off.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 1999
    Location
    Denmark
    Posts
    83
    Rep Power
    16
    I know the problem

    i get "Content-Type: text/html"
    after editing my php.ini file to

    expose_php = Off

    I realy wants the rest to go away as well....

    Anyone

    ------------------
    regds..
    -ulrik-

  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    3
    Rep Power
    0
    I have set the expose_php off...but
    I still ge the text/html in the beginning
    of my document...
    How can I do?!?!?
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    3
    Rep Power
    0
    Has anyone found a solution to this?

    ------------------
  12. #7
  13. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    60
    Rep Power
    15
    Howdy,
    It seems a lot of people run into this annoying little problem.

    The solution:
    In php.ini make sure the following lines are commented out as it is shown here:
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
    ;Windows Extensions
    ;extension=php_mysql.dll
    ;extension=php_nsmail.dll
    ;extension=php_calendar.dll
    ;extension=php_dbase.dll
    ;extension=php_filepro.dll
    ;extension=php_gd.dll
    ;extension=php_dbm.dll
    ;extension=php_mssql.dll
    ;extension=php_zlib.dll
    ;extension=php_filepro.dll
    ;extension=php_imap4r2.dll
    ;extension=php_ldap.dll
    ;extension=php_crypt.dll
    ;extension=php_msql2.dll
    ;extension=php_odbc.dll
    [/code]

    I'd bet you're upgrading from php3. In php4, the extensions are included in the executable.

Similar Threads

  1. Codepupil
    By Adachic in forum C Programming
    Replies: 3
    Last Post: February 6th, 2004, 06:50 PM
  2. Replies: 3
    Last Post: January 31st, 2004, 12:16 AM
  3. Change ASP email content type?
    By seb835 in forum ASP Programming
    Replies: 2
    Last Post: December 23rd, 2003, 01:57 PM
  4. DBI warnings -- plz help
    By pranesh in forum Perl Programming
    Replies: 4
    Last Post: December 1st, 2003, 06:52 PM

IMN logo majestic logo threadwatch logo seochat tools logo