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)
-   -   Ubuntu 12.10 Perfect Server PHP Installation Problems (http://www.howtoforge.com/forums/showthread.php?t=59488)

monomythmacabre 9th November 2012 23:49

Ubuntu 12.10 Perfect Server PHP Installation Problems
 
I'm having a little bit of a problem with the 12.10 Ubuntu Perfect Server Install. In step 14.3 Additional PHP Versions I find myself without anything located in /opt/php-5.3.18/ so am unable to copy over some of the required files or continue on with the rest of that section.

Any ideas why this might be?

falko 10th November 2012 11:15

Do you get any errors during the build process?

NewAmericanClassic 17th November 2012 04:15

I'm having the same issue im stuck on 14.3 towards the end at

http://www.howtoforge.com/perfect-se...ispconfig-3-p4

Code:

cp: cannot stat `/opt/php-5.3.18/etc/php-fpm.conf.default': No such file or directory
tim@mainhost:/usr/local/src/php5-build/php-5.3.18$


falko 17th November 2012 08:38

Any other errors before this one?

NewAmericanClassic 17th November 2012 08:45

I followed the guide to an exact point on a fresh install.

NewAmericanClassic 18th November 2012 00:24

I think I found the issue, it is located on

the php configure,

configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!

NewAmericanClassic 18th November 2012 00:50

I was able to fix the error by changing the configure to

Code:

./configure \
--prefix=/opt/php-5.3.18 \
--with-pdo-pgsql \
--with-zlib-dir \
--with-freetype-dir \
--enable-fpm \
--enable-mbstring \
--with-libxml-dir=/usr \
--enable-soap \
--enable-calendar \
--with-curl --with-mcrypt \
--with-zlib \
--with-gd \
--with-pgsql \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-zlib \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-pcntl \
--enable-mbregex \
--with-mhash \
--enable-zip \
--with-pcre-regex \
--with-mysql \
--with-pdo-mysql \
--with-mysqli \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--enable-gd-native-ttf \
--with-openssl \
--with-fpm-user=www-data \
--with-fpm-group=www-data \
--with-libdir=/lib/i386-linux-gnu

I however now receive

sudo: insserv: command not found

after the "insserv php-5.3.18-fpm" command

NewAmericanClassic 18th November 2012 01:03

seems to be fixed by this thread

http://www.howtoforge.com/forums/showthread.php?t=59242

however it seems sloppy, and now I run into the issue after I enter "Full qualified hostname (FQDN)" while under sudo php -q install.php, and it says "No PHP MySQL functions available. Please ensure that the PHP MySQL module is loaded"

NewAmericanClassic 18th November 2012 02:24

still having "No PHP MySQL functions available. Please ensure that the PHP MySQL module is loaded" error during php -q install.php from http://www.howtoforge.com/perfect-se...ispconfig-3-p7

NewAmericanClassic 18th November 2012 04:12

Does not seem to be related to

http://ubuntuforums.org/showthread.php?t=327499
http://wordpress.org/support/topic/y...ich-is-require


All times are GMT +2. The time now is 19:18.

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