- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 19.04.03
- Posts:
- 4
I switched from BSD to RH 9.0 I copied the PN website to m computer, installed RH 9.0, ran all the updates, I saw that apache 2 and PHP are installed, configured the server with the website. Now when i go to the website, i receive this error:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/virtual/osm/pnadodb/drivers/adodb-mysql.inc.php on line 170
any ideas?
thank you
john peebles
http://www.orderofthesacredmoon.com -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
jpeebles1045
I switched from BSD to RH 9.0 I copied the PN website to m computer, installed RH 9.0, ran all the updates, I saw that apache 2 and PHP are installed, configured the server with the website. Now when i go to the website, i receive this error:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/virtual/osm/pnadodb/drivers/adodb-mysql.inc.php on line 170
John,
If you do a forum search for mysql_connect you'll find that this has been discussed before. Basically some redhat build don't install the PHP mysql module RPM and thus your PHP install doesn't support connection to mysql databases.
-Mark -
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 19.04.03
- Posts:
- 4
ah, i did do a forum search but didn't find anything. I did however fix the problem. I had to add the application line in the httpd.conf file. After i did that, everything started working.
Thank you for getting back to me.
Thanks,
John Peebles
