SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    no PHP support in Apache web server

    Can't get PHP support in Apache web server, have a stand alone machine Win XP Pro with Apache 2.0.39 and PHP 4.2.2.
    Have copied;
    my.cnf to c:\
    php4ts.dll to c:\windows\system32
    php.ini-dist to c:\windows and changed to php.ini (with no .txt at the end)
    plus changed php.ini info to,
    -------------
    register_globals = On
    magic_quotes_gpc = On
    doc_root = C:\Program Files\Apache Group\Apache2\htdocs
    extension_dir = C:\php\extensions
    session.save_path = C:\WINDOWS\Temp
    -------------

    Apache seems to work properly thru http://localhost/
    Apache changes are just the three lines at the very bottom of C:\Program Files\Apache Group\Apache2\conf.httpd
    The changes are,
    -------------
    LoadModule php4_module c:/php/sapi/php4apache.dll
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
    -------------

    Any ideas what I have missed out on? Followed Kevin Yanks book DDW using PHP & MySql but to no avail

    Thks Andrew

  2. #2
    FreeBSD The Power to Serve silver trophy pippo's Avatar
    Join Date
    Jul 2001
    Location
    Italy
    Posts
    4,514
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Anzac,
    I read that and PHP support for Apache 2.0.39 is "broken",
    better it's experimental.

    By the way someone here at sitepoint told me and give me a link where a patched dll could be downloaded.

    I will try a search...I have short memory...

    pippo


    p.s.
    sean should not it moved to Generic Development Issue forums...
    Mr Andrea
    Former Hosting Team Advisor
    Former Advisor of '03

  3. #3
    SitePoint Wizard
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    2,617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some side-info here. Register_globals was turned of for security reasons, and it is best to keep it that way. You will encounter a few problems with tutorials you find on the web, but the advantage it gives you is worth it. I suggest you keep register_globals to off .
    If you want to know more about it, have a look at this thread by Dr. Pepper.

  4. #4
    FreeBSD The Power to Serve silver trophy pippo's Avatar
    Join Date
    Jul 2001
    Location
    Italy
    Posts
    4,514
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The link I was referring to was:

    http://www.sitepointforums.com/showt...ght=apache+php

    Look at mattjacob link.

    I remember other threads on the arguments,
    but I have no clue about them.


    pippo
    Mr Andrea
    Former Hosting Team Advisor
    Former Advisor of '03

  5. #5
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thks Mark and Pippo.

    Tried most of the other pointers in other threads but no luck yet. A little annoying, might try it on w2000 (instead of XP pro). Don't want to go back to Apache 1.3.26 if I can help it.

    aH


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •