• The process of installation was ok, without troubles, database ok, tables ok, … but when I try to Login the page is reloaded without login. I guess there’s a cookies problem, isn’t it?
    I have Apache + MySQL + PHP on a Windows XP Pro
    The server root is c:\server\
    Local sites are: c\server\www\site1\
    WordPress root is: c:\server\www\site1\wordpress\
    To view local sites I use, for example:
    https://site1/wordpress/
    Hosts file is:
    127.0.0.1 site1
    and Apache config:
    <VirtualHost 127.0.0.1>
    ServerAdmin [email protected]
    DocumentRoot "c:/server/www/site1"
    ServerName site1
    ErrorLog logs/site1-error.log
    CustomLog logs/site1-access.log combined
    ScriptAlias /cgi-bin/ "c:/server/www/site1/cgi-bin/"
    <Directory "c:/server/www/site1">
    Options All Includes Indexes
    </Directory>
    </VirtualHost>

    Could you help me?
    Thanks in advance

Viewing 16 replies (of 16 total)
  • Apache2 php4.4 localhost “set cookies” solved.

    In php.ini set:
    output_buffering = On (or 4096)
    (output_buffering = Off (default))

    ” Output buffering allows you to send header lines (including cookies) even after you send body content, at the price of slowing PHP’s output layer a bit. You can enable output buffering during runtime by calling the output buffering functions. You can also enable output buffering for all files by setting this directive to On. If you wish to limit the size of the buffer to a certain size – you can use a maximum number of bytes instead of ‘On’, as a value for this directive (e.g., output_buffering=4096).”

    This worked for me so now I can test my PHP cookies on localhost.
    Hope this helps somebody –
    mfunk

Viewing 16 replies (of 16 total)
  • The topic ‘Installation on a Localhost’ is closed to new replies.