I use godaddy, so I do not really know.
here is my php5.ini file. As far as I can tell there is nothing private in this file so
Code:
register_globals = off
allow_url_fopen = on
allow_url_include = on
expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
From what I can tell including database connections will work only if the applications of the database connections are located in the included file as well. Otherwise the database connections will need to be included relatively.
The error I get when including database connections absolutely look like
Code:
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/m/y/s/mysite/html/review/addform.php on line 22
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/content/m/y/s/mysite/html/review/addform.php on line 22
Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
Bookmarks