Jump to content

winthrup7

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

winthrup7's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--coloro:#333399--][span style=\"color:#333399\"][!--/coloro--][b]EDITED: SOMEWHAT OF A FIX Because it appeared to not be reading the php.ini in C;\Windows, I copied the php.ini file, and placed it in C:\php\ and presto! PhpInfo indicated the correct extension_dir.. etc...and mysql works...[/b] Any thoughts as to why??? I am kind of curious??? thanks again for the help.[!--colorc--][/span][!--/colorc--] winthrup [/color] thx. [/quote]
  2. [!--quoteo(post=355922:date=Mar 17 2006, 09:06 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Mar 17 2006, 09:06 AM) [snapback]355922[/snapback][/div][div class=\'quotemain\'][!--quotec--] Is php using the correct php.ini file, check with phpinfo to see that php is using the corret php.ini Also did restart Apache when you made any changes to your php.ini file? [/quote] [!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]Yes, everytime I open it I restart Apache..lol [!--colorc--][/span][!--/colorc--] Interesting. Your hint led me to see that in phpinfo, it appears to not be reading the php.ini file (At least the one in C:\Windows). The [b]extension_dir[/b] in phpinfo indicates it is still looking under the default php setting of [b]c:\php5[/b], not c:\php\ext. [Also, phpinfo: Configuration File (php.ini) Path C:\WINDOWS]. The directory is the same. There is only one php.ini file in there. I of course double checked (for the 5th + time) my directory entries....And the php.ini changes are enabled. extension_dir ="c:\php\ext" extension=php_mysql.dll (no semicolon before). Any thoughts from here? [Does that mean it is not reading the php.ini all together? seeing that it is relying on the default location for extensions, not the directory explicity mentioned in php.ini (and no, Im not crazy, It is in there...lol). [!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]Is there a possibility of another php.ini file it is relying on? It is not in the C:\Windows directory in which phpinfo says its looking for. [I even swapped out the php.ini, and replaced it with a new one, made the changes, and still nothing].???? [!--colorc--][/span][!--/colorc--] thx.
  3. Hello, I did all the following (checked it twice), but still have not been able to enable mysql support. Php works fine (phpinfo has no mysql information, and I get the mysql_connect() undefined error. Using Apache 2.0.55; Php 5.12; MySql server 5.0 WinXP (Home); [b]Php.ini has the correct extension_dir:[/b] extension_dir ="c:\php\ext" [b]php.ini has extension enabled[/b]: extension=php_mysql.dll libmysql.dll has been moved to C:\Windows (in the path) In addition, I added c:\php to the Path. Can someone help? I installed php as a module. I initially used the installer, but wanted to use the module; so I removed the php folder completely, and then replaced them with .zip install files. php works fine, and I get no errors in Apache, or php. phpinfo has no mysql mentioned; thx for the help in advance.
×
×
  • 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.