Using a external MySQL connection file on WAMP / localhost

Running WAMP version 2.2 I was testing a joomla site that was going to need to connect to an external mysql database. I used a file that was on the local host calling to the external database resource, but it didn’t work. I learned that Fopen Wrappers was set to “0”. This is the error.

localhost_external_mysql_connect

Specifically “allow_url_include=0” was the issue.

I opened php.ini and searched for “allow_url_include=0”, but nothing returned. Turns out “allow_url_include=0ff” is what it was set to. I changed the value from “off” to “on”, restared WAMP. No more error.

 

0 Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>