php-windows Digest 26 Jun 2007 06:13:14 -0000 Issue 3267

Topics (messages 28136 through 28142):

Re: PHP can't find the php.ini file
        28136 by: Niel Archer
        28137 by: Don Denton
        28138 by: Jarrett Meyer
        28139 by: Janis Ritmanis

Can't get PHP to support mySQL
        28140 by: Don Denton
        28141 by: Janis Ritmanis
        28142 by: Gustav Wiberg

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 ---
Hi

What makes you think it's not finding the configuration file?  phpinfo
 output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory. 
See the manual setup documentation for preferred methods.

Niel

--- End Message ---
--- Begin Message ---
I know it isn't seeing the file because no matter what I change in the
configuration, the defaults remain on.

~Don

-----Original Message-----
From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer
Sent: Monday, June 25, 2007 10:54 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP can't find the php.ini file

Hi

What makes you think it's not finding the configuration file?  phpinfo
 output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory. 
See the manual setup documentation for preferred methods.

Niel

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Do you restart your Apache server after making a change to php.ini?
 
--
Jarrett M. T. Meyer
http://jarrettmeyer.blogspot.com
http://www.jarrettmeyer.com

----- Original Message ----
From: Don Denton <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Monday, June 25, 2007 3:04:44 PM
Subject: RE: [PHP-WIN] PHP can't find the php.ini file

I know it isn't seeing the file because no matter what I change in the
configuration, the defaults remain on.

~Don

-----Original Message-----
From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer
Sent: Monday, June 25, 2007 10:54 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP can't find the php.ini file

Hi

What makes you think it's not finding the configuration file?  phpinfo
 output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory. 
See the manual setup documentation for preferred methods.

Niel

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
1. Your httpd.conf file shuld have lines soething like thees:
"PHPIniDir "C:/Windows/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php"

2. remove php.ini file from C:/PHP or whatever your install directory
is, so only one copy of it is on system in C:/Windows folder.

On 25/06/07, Don Denton <[EMAIL PROTECTED]> wrote:
I know it isn't seeing the file because no matter what I change in the
configuration, the defaults remain on.

~Don

-----Original Message-----
From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer
Sent: Monday, June 25, 2007 10:54 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP can't find the php.ini file

Hi

What makes you think it's not finding the configuration file?  phpinfo
 output tells you where the php.ini IS located.

BTW, it's no longer recommended to keep it in the windows directory.
See the manual setup documentation for preferred methods.

Niel

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
Jānis Ritmanis
e-mail: [EMAIL PROTECTED]
mob.tel. +371 25 99 88 77

--- End Message ---
--- Begin Message ---
I cannot get PHP to load the mySQL module. I have enabled it in php.ini and
I have tried changing the extension_dir to "c:/php" AND "c:\php", which is
where I copied the corresponding .dll files.  I have also tried enabling
"php_mysql.dll" AND "php_mysqli.dll" separately. I cannot figure out what is
going on.  Every time I try to run a MySQL page, I get "Fatal error: Call to
undefined function mysql_connect() in C:\webspacedirectory\mysql_up.php on
line 13"

Thanks in advance,
Don

--- End Message ---
--- Begin Message ---
Normaly the extension dir should be:
extension_dir = "C:\PHP\ext"

Have you the php_mysql.dll file in this location ?

What is showing the "phpinfo();" ? Does it lodes the php.ini file
where you enabled mysql extension ?

On 25/06/07, Don Denton <[EMAIL PROTECTED]> wrote:
I cannot get PHP to load the mySQL module. I have enabled it in php.ini and
I have tried changing the extension_dir to "c:/php" AND "c:\php", which is
where I copied the corresponding .dll files.  I have also tried enabling
"php_mysql.dll" AND "php_mysqli.dll" separately. I cannot figure out what is
going on.  Every time I try to run a MySQL page, I get "Fatal error: Call to
undefined function mysql_connect() in C:\webspacedirectory\mysql_up.php on
line 13"

Thanks in advance,
Don

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
Jānis Ritmanis
e-mail: [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hi!

How does your code look like in mysql_up.php ?

Best regards
/Gustav Wiberg
 

-----Original Message-----
From: Janis Ritmanis [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 25, 2007 10:00 PM
To: Don Denton
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Can't get PHP to support mySQL

Normaly the extension dir should be:
extension_dir = "C:\PHP\ext"

Have you the php_mysql.dll file in this location ?

What is showing the "phpinfo();" ? Does it lodes the php.ini file
where you enabled mysql extension ?

On 25/06/07, Don Denton <[EMAIL PROTECTED]> wrote:
> I cannot get PHP to load the mySQL module. I have enabled it in php.ini and
> I have tried changing the extension_dir to "c:/php" AND "c:\php", which is
> where I copied the corresponding .dll files.  I have also tried enabling
> "php_mysql.dll" AND "php_mysqli.dll" separately. I cannot figure out what is
> going on.  Every time I try to run a MySQL page, I get "Fatal error: Call to
> undefined function mysql_connect() in C:\webspacedirectory\mysql_up.php on
> line 13"
>
> Thanks in advance,
> Don
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Jânis Ritmanis
e-mail: [EMAIL PROTECTED]

--- End Message ---

Reply via email to