SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool no php.ini after foxserv

    Hi,

    I installed Foxserv on a WinXP machine, and have everything (well almost) working. Apache is running fine on port 80 and I can run php scripts - no problem.

    However, I am trying to change some settings in php.ini, and discovered that there is no php.ini file anywhere on my system. I looked under the php install directory, C:\windows\system32, etc.. nada. A search on the complete drive revealed a couple of php.ini-dist, etc files, but NO php.ini.

    Where could it be?

    Is it possible that its somehow hardcoded in a dll?

    Thanks.

    ps: foxserv page: http://sourceforge.net/projects/foxserv/

  2. #2
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it should be in c:\windows
    and if php is running it should be there.

    OR
    run this script
    PHP Code:
    phpinfo(); 
    and look for Configuration File (php.ini) Path
    ---------------------------
    Errors = Improved Programming.
    My Site

  3. #3
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy php.ini and foxserv

    Thanks Jaswinder.

    I already checked c:\windows -does not have a php.ini.

    When I run "phpinfo();" It shows a path "C:\winnt" as the php.ini path. That path clearly does not exist.

    There is a php.ini file under my C:\Foxserv directory. But no matter what I do to that file, phpinfo() shows the php.ini path to be c:\winnt.

    I think this is specific to Foxserv..

    Anyone installed Foxserv / EasyServ? I would like to compare notes.

    Thanks!

  4. #4
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if no php.ini is available then PHP reverts to inbuilt defaults , you can simply add a php.ini (copy one of the ini-dist files) to c:/windows and manipulate that.

  5. #5
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    resolved

    Hi,
    h
    Thanks for your pointers.

    It turns out that on windows php integrates with apache in cgi mode and native mode.. I am not sure of everything that I did.. but disabling some plugin dlls within the httpd.conf, copying a dummy php.ini and msvcrt.dll to C:\windows resolved the isse.


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
  •