-3

Calling a function that loads an extension (curl, mysqli, etc.) throws a PHP fatal error. I've looked all over the internets but all the things found did not resolve. Here is a list of findings and details:

  • PHP 5.6.14 NTS located in c:\php
  • confirmed this is set in PATH
  • extension_dir specified as c:\php\ext
  • extension files are present
  • error logging to event viewer, no errors logged
  • extensions are set in php.ini
  • confirmed loading php.ini from c:\php
  • added IUSR read and execute access to c:\php\*

Any thoughts?

Thanks!

2
  • What is the exact error message? What does your configuration file look like? What does phpinfo() have to say about loaded extensions?
    – womble
    Oct 26, 2015 at 4:14
  • The error was the following: PHP Fatal Error: call to undefined function mysql_connect() phpinfo() said the extensions loaded fine
    – Alexey
    Oct 26, 2015 at 20:56

1 Answer 1

-1

SOLVED: restarted Windows... :(

2
  • What did you solve and how? Oct 26, 2015 at 5:08
  • No clue - but I restarted Windows and the error was no longer appearing.
    – Alexey
    Oct 26, 2015 at 20:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .