RE: [PHP-WIN] Can't get PHP to support mySQL

2007-06-25 Thread Gustav Wiberg
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: php-windows@lists.php.net Subject: Re: [PHP-WIN] Can't get PHP to support mySQL Nor

Re: [PHP-WIN] Can't get PHP to support mySQL

2007-06-25 Thread Janis Ritmanis
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

[PHP-WIN] Can't get PHP to support mySQL

2007-06-25 Thread Don Denton
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 i

Re: [PHP-WIN] PHP can't find the php.ini file

2007-06-25 Thread Janis Ritmanis
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:/Window

Re: [PHP-WIN] PHP can't find the php.ini file

2007-06-25 Thread Jarrett Meyer
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: php-windows@lists.php.net Sent: Monday, June 25, 2007 3:04:44 PM Subject: R

RE: [PHP-WIN] PHP can't find the php.ini file

2007-06-25 Thread Don Denton
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: php-windows@lists.php.net Subject: Re: [PHP-WIN] P

Re: [PHP-WIN] PHP can't find the php.ini file

2007-06-25 Thread Niel Archer
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-WIN] PHP can't find the php.ini file

2007-06-25 Thread Don Denton
Please forgive what may be a simple question, but I sure can't figure it out. SETUP: I am running apache 2.0.59 on Windows XP home SP2 with php 5.2.3 installed and running. PROBLEM: PHP is not seeing the config file (php.ini) in c:\windows. Running phpinfo() yields these results in the mentioned