- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 01.05.03
- Posts:
- 3
On my first attempt to install, I received a mysql_connect() error on line 36 in my newinstall.php file. I went into the config.php file and manually added settings. This did not help.
I manually created the Phoenix database and attempted to install with the make database option unchecked and got the following message:
No database made.
Fatal error: Call to undefined function: mysql_connect() in
/adodb-mysql.inc.php on line 170
I also changed the $pnconfig['encoded'] cofiguration to "1".
Now Im at my wits end. Please help.
Lisa -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
Lisa,
These errors indicate that PHP doesn't not know about the mysql functions. This would suggest that your installation of PHP does not have mysql support built in.
If your using redhat linux some builds of redhat linux don't install the PHP-mysql connectivity RPM installed by default.
-Mark -
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 01.05.03
- Posts:
- 3
Installed PHP-mysql prior to attempting to install PostNuke (phpMyAdmin required it first). after installing it phpMyAdmin ran fine
After receiving your post I erased the rpm and re-installed.
Not sure if this has anything to do with anything but I added the directory for mysql.so to the ld.so.conf file and ran the ldconfig.
Do you recommend a particular version? I am using the PHP-mysql-4.2.2-8.0.5 for linux redhat.
Any other suggestions.
And Thanks for answering so quickly. Im sure Im going to love it once it's installed.
Lisa -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
The last few digits are redhat's own additionals for thier builds. It's PHP 4.2.2 so thats fine. If that's not working then I don't know. Put simply PHP doesn't know about those functions.
Try taking a look at php.ini for an extensions=mysql.so line. I'm not sure about newer builds of redhat but my RH7.1 machine needs that line in php.ini as well.
My level of linux system admin skills are not too high. Give me a Netware server anyday.
-Mark
