Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter joeblough

    (@joeblough)

    Found a fix.

    It turned out to be a PHP configuration problem.

    The answer is posted on another forum, phpbuilder,

    here

    that’s
    https://www.phpbuilder.com/board/showthread.php?p=10646542#post10646542
    in case the anchor tag doesn’t render.

    Thanks for the tips and advice.

    Forum: Installing WordPress
    In reply to: Can’t login

    I am setting up a first froject on my local pc.
    For me also it was a cookie problem.
    I turned off all cookie controls and went straight to the dashboard page.

    The problem is that the login page fails silently when cookies are disallowed.
    An error message would be appropriate.

    Thread Starter joeblough

    (@joeblough)

    There seems to be an Apache2 configuration issue.

    Somehow it’s not processing php quite right. Ive added
    ScriptAlias /php/ “C:/php/”
    AddType application/x-httpd-php .php
    Action application/x-httpd-php “/php/php.exe”
    to httpd.conf

    The other errors have gone away but now I’m getting the dreaded
    [Premature end of script headers: php.exe]
    in the apache error.log

    Thread Starter joeblough

    (@joeblough)

    Ming,
    Thanks for the tip. I hesitate to go that route just yet, as I have most of the XAMMP components already installed, most particularly mysql, with a bunch of working databases in it.

    I have Apache2 and just tried running install.php again and got an even more bizarre response.

    The browser simply showed the content of the php page. Apparently it didnt execute. Does Apache have to be specially configured to execute PHP under Windows??????

    As I noted above I installed:
    PHP: 5.0.4

    But I thought that was only necessary for IIS. Did I break Apache by doing that??? Is that even possible???

    Curiouser and curiouser.

    Please advise.

    Joe

    Thread Starter joeblough

    (@joeblough)

    Well folks, progress has been made but I’m not out of the woods yet.

    Apparently the first error was due to my assumptions.

    The PHP5 distribution does not have php-mysql built in, nor does the automatic installer (which I used) include the file nor install it.

    So I’ve gone and gotten the manual distribution and edited the php.ini file to read:

    extension_dir = c:/php/ext/
    extension=php_mysql.dlletc…
    and extension statements for all the other extensions, what the heck.

    But now I am getting an error that says:

    [Error establishing a database connection]
    and then goes on to say
    [PHP Warning: PHP Startup: Unable to load dynamic library ‘c:/php/ext/php_iisfunc.dll’ – The specified module could not be found. in Unknown on line 0]
    followed by several other similar “Unable to load” messages.

    Once again, anybody gotta clue?

    I can connect to mysql from PERL::DBI scripts, why can’t PHP connect?

    Joe

Viewing 5 replies - 1 through 5 (of 5 total)