Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP and MySQL
May 20, 2006, 2:11 pm
rate this thread
I've currently been trying to tackle making PHP 5.1.4 use the MySQL
extension. I've followed the instructions I've seen on the web but
whenever I acces my test page, I still get a "Call to undefined
function mysql_connect()..." Basically the instructions I've found say,
to edit the php.ini file so this line is uncommented:
and to make sure that the extension_dir value points to my extensions
extension_dir = "c:\php\ext"
My Current setup:
Is there any step I'm missing?
Re: PHP and MySQL
I bet your php.ini is in the WINDOWS directory, a well as your my.ini
I bet you dropped lots of DLLs into WINDOWS as well to make your PHP
Please take a look at "http://torres.ws/walters_way /"
I have detailed instruction onhow to install Apache, PHP (4 or 5),
Perl, Python, and mySQL on a windows box **WITHOUT** any file
(what-so-ever_ being anywhere near the WINDOWS directory, and nothing
is placed in the registry either (unless you count the ENV VARS that
you need to define)
There is alos instructions on CVS via SSH if you need it.
Hope this helps
PS: Don't use volume letters in the INI or CONF files either.