MySQL not listed in phpinfo()

I still can’t post comments that look anything like “spam” so… replace the
“dot” with a “.”

Here is the line in my httpd “dot” conf that I have that calls loads the php…

mine is near the bottom of my httpd “dot” conf


#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2"dot"dll"
AddType application/x-httpd-php "dot"php "dot"html

NOTE: I have PHP parse html files – since all my “html” files are actually php files… LOL

NOTE2: notice the direction of the slashes…

GOT IT !!!

MySQL now shows up in the phpinfo(). phpinidir in httpd.conf was pointed at the wrong directory… I changed it and now things look to be okay.

The script I am wrote to connect to MySQL still failed but it looks like a syntax error.

Ian and everyone else, thank you so much for helping me and tolerating a newbie trying to learn.

  • Chris

:cool:

Glad you got it!

A couple of great places to start are:

http://us3.php.net/manual/en/langref.php

and

http://devzone.zend.com/node/view/id/627

through out they cover both procedural and OOP approaches to PHP

part 8 has a great tut on databases…