1 Jun 2004 03:11
compiling php with mysql ver3 or 4
Richard Kurth <rdkurth <at> directphp.com>
2004-06-01 01:11:52 GMT
2004-06-01 01:11:52 GMT
Hello , How can I compile PHP so that it does not mater what version of mysql is installed. If I compile it for mysql 3.X and then upgrade mysql to ver 4 PHP will not install. I get error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file this is how I am compiling php It is being compiled into Apache not as a DSO ./configure --prefix=/usr/php --with-mysql=/usr/ --with-config-file-path=/usr/conf --with-exec-dir=/usr/apache/bin --disable-debug --enable-safe-mode --enable-magic-quotes --enable-debugger --enable-track-vars --with-ftp --enable-sockets --enable-ftp --with-apache=../apache make make install -- Best regards, Richard mailto:rdkurth <at> directphp.com -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
(I didnt go with the PEAR one coz we don't have PEAR installed on all our
shared hosting accounts)
What I am trying to do is, have some dates be clickable (linked) while the
others be normal.
The clickable days will be passed as an array to the function, so far its
working but unfortunatly only the last part of the array is being taken and
all the ones before ignored.
eg:
$linkArray[0] = 3;
$linkArray[1] = 23;
in which case only 23 is being taken in the for loop...which is correct as
its overwring the one before...
(its a bit easier to understand when you see the code, the part enclosed
within the //Ryan and //Ryan is where I added my code...which is not working
;-D )
You can download the file (around 3kb) from
RSS Feed