HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   No PHP MySQL functions available Warning while Installaing ISPConfig3 (http://www.howtoforge.com/forums/showthread.php?t=60463)

PC Networks 6th February 2013 23:33

No PHP MySQL functions available Warning while Installaing ISPConfig3
 
Hello HTF users and moderators...

Working with a clean installation and the HowTo:The Perfect Server - Ubuntu 12.10

32bit machine


I have worked through the HT and got snagged on the end portion involving the installation of ISPConfig3.


PHP Version:
Code:

5.4.11



Code:

php-mysql
INSTALLED



PHP Installation Method: FastCGI


After running
Code:

php -q install.php
ISPConfig3 installation starts, and I am able to provide Language, Method, and FQDN


Then ISPConfig3 install complains:
Code:

No PHP MySQL functions available. Please ensure that the PHP MySQL module is loaded.
Output of: netstat -tap | grep mysql



Code:

tcp        0      0 *:mysql                *:*                    LISTEN      1230/mysqld
I have searched the HTF community and located a few complaints of the same issue from users utilizing different HTF Perfect Server solutions which involves the use of ISPCOnfig3, anything suggested in those posts I have tried with failure though.

Thanking you in advance for your help

till 7th February 2013 10:33

The Ubuntu php mysql package is named php5-mysql and not php-mysql. Please install all packages as described in the guide.

To install the missing package, run:

apt-get install php5-mysql

PC Networks 7th February 2013 17:02

php5-mysql Was Installed, Just My Omission During Original Post for Support
 
Simply an omission on my behalf during the original post.

Code:

php5-mysql
IS installed...

Below you will find this mornings output after attempting to install
Code:

ph5-mysql
again.

Code:

root@pcnetwork:~# apt-get install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


falko 9th February 2013 09:00

5.4.11 is a really new PHP version. I doubt it was installed through apt - I guess it was built manually, and MySQL support was left out.

PC Networks 10th February 2013 05:51

Hey Falko

Thanks for the reply.

Yeah when I did the installation I went to php.net and looked over their downloads page and was ONLY able to locate 5.4.11.
http://www.php.net/downloads.php

I installed php 5.4.11 VIA wget

Should I uninstall php 5.4.11 or what might you suggest?

Thank you Falko
Best Regards

falko 12th February 2013 11:13

You must recompile it, but with MySQL support.

till 12th February 2013 11:28

Quote:

Yeah when I did the installation I went to php.net and looked over their downloads page and was ONLY able to locate 5.4.11.
http://www.php.net/downloads.php
Ok, so you did not follow the Ubuntu installation instructions like you claimed above....

PC Networks 13th February 2013 04:29

Quote:

Ok, so you did not follow the Ubuntu installation instructions like you claimed above....
I was kind of forced to vary as the night I was attempting to download 5.3.18 as defined in the Tutorial the system indicated that the file could not be found.
That was when I varied from the Tutorial and went to http://www.php.net/downloads.php and found version 5.4.11, I simply didn't figure that the version change would cause issue...

Other than difference in version of php I did adhere however.

falko 14th February 2013 18:07

You can find older PHP release here: http://www.php.net/releases/

PC Networks 16th February 2013 05:34

I used apt-get remove and backed out of all previous software installations.

I followed the Tutorial, up til page 5, when I attempt to use the link:
Code:

wget http://olivier.sessink.nl/jailkit/jailkit-2.15.tar.gz
Using the above URL returned the following error:
Code:

--2013-02-15 20:23:28--  http://olivier.sessink.nl/jailkit/jailkit-2.15.tar.gz
Resolving olivier.sessink.nl (olivier.sessink.nl)... failed: Temporary failure in name resolution.
wget: unable to resolve host address `olivier.sessink.nl'

So I Googled jailkit-2.15, the following download file succeeded.

Code:

wget http://fossies.org/unix/privat/jailkit-2.15.tar.gz
Once again however, when time to install ISPConfig3 the system still returns:
Code:

No PHP MySQL functions available. Please ensure that the PHP MySQL module is loaded.root@pcnetwork:/tmp/ispconfig3_install/install# ensure that the PHP MySQL module is loaded
-bash: ensure: command not found



All times are GMT +2. The time now is 10:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.