DustFrog
11-25-2001, 10:39 PM
Hey there everyone. I have a quick question for you all. I got mySQL and PHP running but I cannot view any php pages on my site. Any ideas? Try them for yourself:
http://www.dustfrog.com/mysql.php
&
http://www.dustfrog.com/phpMyAdmin-2.2.2-rc1/
Lemme know if you guys have any ideas.
It keeps asking me to download them.
ffeingol
11-25-2001, 11:17 PM
What version of a RaQ do you have? If it's a RaQ4, then you just need to enable PHP for the site via the control panel.
If it's older, then you'll prob. need to edit the httpd.conf and add the appropriate AddTypes to get php to function:
AddType application/x-httpd-php .php
Frank
smartbackups
11-25-2001, 11:34 PM
once you ad that you will need to restart httpd. Either reboot or
/etc/rc.d/init.d/httpd restart
ASPCode.net
11-26-2001, 12:19 PM
See you got it working. I had the same problem some weeks ago ( the same error - it let the user save a downloaded file instead of rendering it in the browser ) . Could you give some info on what solved your problem?
I had two 'LoadModule php4_module' in my httpd.conf ( one of them referring to an non-existant libphp4.so ). No idea where it came from ( and it all worked on my old sites ) so if you had the same thing maybe you have some info on where ot might have come from?
razieg
12-07-2001, 02:31 AM
i got the email, but i have this problem, any ideas?
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: YES) in /home/sites/site1/web/mysql.php on line 35
Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site1/web/mysql.php on line 37
Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site1/web/mysql.php on line 40
Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site1/web/mysql.php on line 45
Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site1/web/mysql.php on line 47
thanks in advance
Chicken
12-07-2001, 04:50 AM
Check to be sure that file, or the config file has the correct passwords, username, database name, etc.
nudetravel
12-07-2001, 10:18 AM
Are you sure that PHP was compiled with mysql support?
Tons of trouble shooting info here: http://www.webhostingtalk.com/showthread.php?s=&threadid=17317&highlight=php+information
jahsh
12-11-2001, 05:22 PM
"Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: YES) in /home/sites/site1/web/mysql.php on line 35 "
I am trying to set up a webmail with mysql and am also getting this error, does anyone know what it means? any help is greatly appreciated. I am working on a raq3, do I need to compile php with mysql support?