php-windows Digest 31 May 2003 15:17:02 -0000 Issue 1755

Topics (messages 20145 through 20146):

Re: Installation problems...
        20145 by: Bobo Wieland

Variable
        20146 by: Adrian Labastida

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Okey, I still need help!

The error message still states as follows:
 Warning: mysql_connect() [function.mysql-connect]: Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES) in
E:\pingstkyrkan\data\common_db.inc on line 12
 0: Connection faild to the host localhost.

I have no idea what to do, but I expect that it all has to do with my
inexperience of installing and configuring these things. Iäve only installed
PHP/MySQL/Apache one time before and it was a pain! =)

I started with installing Apache2 (used Apache 1.somthing before...). Then I
installed php4.3 and managed them to work together. the only problem that I
see is that, before I could only access the webserver localy (127.0.0.1)
wich is what I want, but now I can use my external IP and connect to my
webserver. I only want it to be a local webserver...
Anyway, I installed MySQL 4.0.13 and it seems to work okey by itself. But
trying to connect to it via PHP is hopeless. As i understand it the user
information is correct, but it still doesn't work. A quick look at php.ini
though says, under MySQL; "Client API version: 3.23.49". Shouldn't it read
4.0.13?!?

I have no idea if I should do any changes to php.ini, httpd.conf or my.ini.

Please help me!


Thank you all!



.bobo

----- Original Message ----- 
From: "Bobo Wieland" <[EMAIL PROTECTED]>
To: "Ryan Marrs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 12:57 PM
Subject: Re: [PHP-WIN] Installation problems...


> I'm running PHP as ISAPI (i think... ;-) ) and I use Apache2 - which I've
> restarted a number of times...
>
> *sigh*
>
>
> thanks!
>
>
> .bobo
>
>
> ----- Original Message ----- 
> From: "Ryan Marrs" <[EMAIL PROTECTED]>
> To: "'Bobo Wieland'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, May 29, 2003 12:54 PM
> Subject: RE: [PHP-WIN] Installation problems...
>
>
> > Are you running PHP as ISAPI or CGI?
> >
> > If it's ISAPI, you'll need to restart IIS before your changes to the
> php.ini
> > file will take effect.
> >
> >
> >
> > -----Original Message-----
> > From: Bobo Wieland [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 29, 2003 6:51 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Installation problems...
> >
> >
> > Trying to reinstall PHP/MySQL/Apache on my WinXP setup...
> >
> > Ran in to some trouble though, that I hope you can help me with...
First,
> > I'm getting the following warning message:
> >
> > "Warning: session_start() [function.session-start]:
> > open(/tmp\sess_a0b08aae778010e958503bfde26c0ab5, O_RDWR) failed: No such
> > file or directory (2) in E:\plantis\sida_1.php on line 1"
> >
> > I have PHP installed in D:\PHP and in php.ini I've the session save path
> set
> > to: "D:/PHP/tmp". The directory "tmp" is in my PHP directory.
> >
> >
> >
> > Second problem. I can't connect to mysql. The message says the
following;
> >
> > Warning: mysql_connect() [function.mysql-connect]: Access denied for
user:
> > '[EMAIL PROTECTED]' (Using password: YES) in
> > E:\pingstkyrkan\data\common_db.inc on line 12
> > 0: Connection faild to the host localhost.
> >
> > I don't even know if I've installed MySQL correctly... WinMySQLAdmin
says
> > MyODBC; Not Found, Driver 3.51 Not Found....
> >
> > Why should it be so hard to install and configure these things?!? Is it
> > because it's free software?
> >
> >
> >
> > Please help me!
> >
> >
> >
> > thanks!
> >
> >
> >
> >
> > .bobo
> >
> >
>
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--- End Message ---
--- Begin Message ---
Hi, is there anyway to set the $document_root customized for each site?  so
a user can take as doc root the root of their homesite? im win2k adv serv
with php 4.3.0, danke :)

-- 
SSS. Lic. Ádrian Enrique Labastida Cañizares
Gerencia de Sistemas & Administración Web
Host Depot S.A. de C.V.
[EMAIL PROTECTED]
http://www.host-depot.com
http://www.neomw.com
Movil: 01 81 80 64 99 47
Oficinas: 01 81 86 76 76 30



--- End Message ---

Reply via email to