Whoops I didn't notice there had been replies!
For the record the problem was fixed by changing all the "\"s in the
Apache config's PHPIniDir to "/". Which I didn't think of since the
backslashes are working fine on this computer.
Thanks,
Nathan
On 19/09/2012 3:36 p.m., Bob Brown wrote:
Just checking - you restarted the web server after you made this change?
And also on the phpinfo page it will tell you where it's looking for
the PHP.INI file - make sure this is the same place you're editing.
Cheers,
- Bob -
On 18/09/12 10:42, Nathan Cox wrote:
Hi, I'm trying to reinstall a dev server on my windows computer and
I've installed Apache, PHP 5.3 and MySQL but trying to sites on it
give me the "Call to undefined function mysql_connect()" error.
MySQL's not showing up in phpinfo() either.
I have extension=php_mysql.dll uncommented in php.ini (in fact the
config files are just copied and pasted from my main computer where
it works fine). the PHP, PHP extensions and MySQL bin directories
are all in the path and MySQL works fine outside of PHP.
As far as I can tell everything's set up just like I normally do, but
I must be missing something. Does anyone know something else that
might cause this problem?
Thanks,
Nathan
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]