Jump to content

doox00

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Posts posted by doox00

  1. I have a w2k3 server with php 4.4.4.  I have the session save path set in the php.ini but no matter what I change it to (set to c:\php\session atm) phpinfo shows no value, plus scripts like joomla show it as unwritable, but the internet user and system have full access to the session folder.  It seems no matter what i cahnge in the c:\php\php.ini file effects php (restarting iis after each change as well).

    any help would be appreciated.
  2. I have php 4.4.4 working in iis 6, in the directions it says mysql extension is built into php 4.4.4, but I am unable to connect to a database, I am trying to install phpbb and getting

    [code]
    Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\Inetpub\wwwroot\tidal\forum\db\mysql4.php on line 48

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in D:\Inetpub\wwwroot\tidal\forum\db\mysql4.php on line 330

    Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in D:\Inetpub\wwwroot\tidal\forum\db\mysql4.php on line 331
    phpBB : Critical Error

    Could not connect to the database
    [/code]

    Any ideas what I need to do so I can get php connecting to mysql database using iis 6?

    thanks

  3. [quote author=wildteen88 link=topic=104965.msg419297#msg419297 date=1156150043]
    The PHP module is in the root of the PHP zip file you ahve downloaded. Extract the contents of the zip to C:\PHP

    Now open the httpd.conf file for Apache And add this:
    [code]LoadModule php5_module "C:/php/php5apache2.dll[/code]
    Now download the Apache2.2.x php5 module from from [url=http://www.apachelounge.com/download/mods/php5apache2.dll-php5.1.x.zip]ApacheLounge.com[/url]
    Extract the contents of that zip to your My Documents area. Copy the php5apache2.dll file to C:\php overwritting the existing php5apache2.dll file.

    Now read the readme.txt file encloded in the zip file for more installation instructions.

    You're done!
    [/quote]

    Again, thanks.. but I am missing something here, its seems sooo simple, but its just not working, you say the php5_module is in the root of php when you extract it, I have downloaded and extracted it 10 times now and there is no php5_module file in there.  What the hell am I doing wrong here, I feel pretty stupid right now lol... this is not that hard, but I am apparantly confused on this php5_module file.
  4. [quote author=wildteen88 link=topic=104965.msg418981#msg418981 date=1156094484]
    You get it from from PHP.net. NOTE: PHP 4 or 5 currently doesnt support Apache2.2.x

    You should get the Apache modules with the PHP distribution you download from php.net.

    You'll have to download php4apache2_2.dll or php5apache2_2.dll from Apache Lounge in  order to get PHP to wokr with Apache2.2.x. Or downgrade to Apache2.0.x

    NOTE if you are on a unix based system you'll want the .so files rather than .dll files.
    [/quote]

    thanks for the help, but I am unable to find php5_module from php.net, or able to find apache lounge to get the php5apache2_2.dll

    this is what I have downloaded

    http://us2.php.net/get/php-5.1.5-Win32.zip/from/a/mirror

    and

    Apache 2.2.3 from apache.org

    This is on a windows box btw.
  5. [quote author=hitman6003 link=topic=104951.msg418887#msg418887 date=1156086136]
    Apache 2.2 and php5.2 don't play nice.

    See this thread on apachelounge:

    http://www.apachelounge.com/forum/viewtopic.php?p=3019&sid=4fa309c2778bca8889ceb8bc3a24bccf
    [/quote]

    I followed that exactly and apache still fails to load, says
    cannot load E:/php/php2apache2.dll into server: The specified module could not be found.

    I was just looking, there is no php5_module in the apache2.2/modules directory.  where do I get this?

  6. I just setup a windows 2003 web edition server, remove iis, installed apache, which was working fine, and then got and installed php 5.  Now though when I start the apache server it fails and in the event log it says

    The Apache service named  reported the following error:
    >>> httpd.exe: Syntax error on line 482 of E:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load E:/php/php5apache2.dll into server: The specified module could not be found

    The path is right though, I added e:\php into my windows path as well.

    these are the lines I added into my httpd.conf file per the install.txt for php

    LoadModule php5_module "e:/php/php5apache2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "e:/php"


    any ideas what I am doing wrong?




×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.