Configuration on the php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mihail Andreev
    New Member
    • Jul 2011
    • 4

    Configuration on the php

    Hello, i would like to ask how correctly to configure php to work with apache because i have read so much stuff and still i did not manage to make apache read the php language when testing in the hhtp://localhost/. I have made the httpd.conf to load module and the add type, also i have configurate the php.ini-developer in the c:\windows to be php.ini and change the extansion folder. Where i am gettig this wrong could someone help me? Thank you.
  • ziycon
    Contributor
    • Sep 2008
    • 384

    #2
    Go to http://windows.php.net/download/ and download the Thread Safe version and follow the install steps and it should configure Apache for you.

    Comment

    • Mihail Andreev
      New Member
      • Jul 2011
      • 4

      #3
      Well, i have tryed this also on windows 7 and xp the result is again nothing. On the XP today almost work perfectly for 5 min and then broke again. Is it possible that the problem is because i am using a router ? or the problem is elsewhere ?

      Comment

      • johnchristopher
        New Member
        • Jul 2011
        • 1

        #4
        Try to apache configuration.p hp make it writeable to see if that works,
        Apache configuration example

        Code:
        <IfModule mod_php5.c>
          php_value include_path ".:/usr/local/lib/php"
          php_admin_flag engine on
        </IfModule>
        <IfModule mod_php4.c>
          php_value include_path ".:/usr/local/lib/php"
          php_admin_flag engine on
        </IfModule>
        Last edited by Dormilich; Jul 23 '11, 10:27 AM. Reason: please use [CODE] [/CODE] tags when posting code

        Comment

        • Mihail Andreev
          New Member
          • Jul 2011
          • 4

          #5
          Well i have made all of this but nothig is changed. Apache still do not use php language. Would somebody give me maybe a better version of php5 with everything to try again or something else i do not know ???

          Comment

          • Mihail Andreev
            New Member
            • Jul 2011
            • 4

            #6
            Is there somebody who would tell me where i have all that wrong i have tryed in CGI setup and also running php as an apache module the result is the same apache do not recognize the php language both in windows 7 and XP. So where do i get the things wrong or do i miss something ??

            Comment

            Working...