Re: php5 and mysql support [Incident:060911-001853]
| From: | Abuse Department | Date: | Mon, 11 Sep 2006 11:12:02 +0000 |
| Subject: | Re: php5 and mysql support [Incident:060911-001853] | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17632@lists.php.net to get a copy of this message | ||
Response
---------------------------------------------------------------
********** This is an automated reply to your message to Email Abuse. **********
Your message has been delivered to our email abuse department. This department handles complaints
from users that are receiving unwanted email. We try our best to investigate all reports of abuse.
If we determine that the email you reported was in fact sent from an email address at one of our
domains, or by way of computers operated by us, we will take the appropriate action.
If you did not include the original "message headers" along with your message, please do
so by replying to this message, leaving the subject line intact (which contains our tracking
identification), and including all email headers. Email headers show specific details regarding the
source provider, path, originating program, and destination of the message which is not shown within
the TO: and FROM: address fields of the email.
Unfortunately, "spammers" use a variety of techniques to mask an email's actual point
of origin, such as by forging information to make it appear as though the email originated from a
domain that is well recognized across the Internet. Accordingly, the information in the header is
very helpful in assisting us in our investigation.
We regret any inconvenience this may have caused and appreciate you bringing this matter to our
attention.
Regards,
The Email Abuse Department
Discussion Thread
---------------------------------------------------------------
Customer ( php) - 09/11/2006 07:12 AM
[ Jaysen B. Johnson, EMT-B ]
> Hello:
>
> I am running a Fedora Core 5 system as a web server with Apache
> 2.2.3, PHP 5.1.5, and MySQL 5.0.22
>
> I would like to setup a PostNuke CMS website which uses PHP and
> MySQL. However, when I get to the point where it needs to connect to
> my database to install the tables I get the following error. Fatal
> error: Call to undefined function mysql_connect()
>
> Doing some research on this error tells me this is due to not having
> PHP compiled with MySQL support. When I try to compile PHP 5 with
> MySQL support it fails saying it cannot find the libraries. I
> understand that PHP 5 does not come bundled with the libraries or
> headers anymore.
>
> Where can I get the libraries I need to compile PHP5 with MySQL
> support so my CMS site will work? I've searched google and have also
> tried rpmfind.net and the yum repositories. I've even searched the
> downloads at MySQL website and have had no luck with this.
You need to download and install MySQL[1] on your server, and then
point to the install-directory when compiling PHP:
--with-mysql=/path/to/mysql
The configure-script should detect libraries in the
MySQL-installation. See "configure --help" for more info.
[1] http://dev.mysql.com/downloads/
--
~ksvee "When come back, bring pie!"
-- Weebl