Results 1 to 1 of 1
I need to install a php fastcgi with mysql support on a server with insufficient memory to make the php.
Here are my options when attempting to compile on the ...
- 08-30-2009 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 20
Building PHP FastCGI With MySQL support 32bit on x64
I need to install a php fastcgi with mysql support on a server with insufficient memory to make the php.
Here are my options when attempting to compile on the target computer:
'./configure' '--prefix=/opt/php5-fastcgi' '--with-mysql=/usr/local/mysql/' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-libdir=lib' '--with-mysql-sock=/usr/local/mysql/data/mysql.sock' '--enable-fastcgi' '--enable-force-cgi-redirect' '--disable-pdo' '--enable-mbstring' '--without-sqlite'
I have downloaded 32bit mysql binaries onto the 64 host computer at the proper location and am using --with-libdir=lib (i've tried it both with lib64 and the 64bit mysql libraries) on the host computer. Here are my options:
'./configure' '--prefix=/opt/php5-fastcgi_32' '--with-mysql=/usr/local/mysql' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-libdir=lib' '--enable-fastcgi' '--enable-force-cgi-redirect' '--disable-pdo' '--enable-mbstring' '--target=i686'
After succesfully compiling I tar the /opt/php5-fastcgi_32 and extracted it on the target machine. Attempting to execute the php and php-cgi binaries among others yields:
/opt/php5-fastcgi_32/bin/php-cgi
-bash: /opt/php5-fastcgi_32/bin/php-cgi: No such file or directory


Reply With Quote