Hi everyone, and thanks for reading this.
I'm setting up a server on FC 3. Done the same thing on RH9 and it worked, and i'm stumped.
I downloaded apache2, php5 (src) and mysql (standard bin they provide).
I compiled apache2. Installed, configured, starts fine.
Compiled php5 as sapi module for apache2. Apache loads module fine, phpinfo() displays fine. php works (at least as code is concerned). I compiled it with mysql support too, but now i'm clueless as to why it does not work. this is my php5 compilation command:
Code:
configure.sh:
#!/bin/bash
./configure \
--prefix=/usr/local/php5/ \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/etc \
--with-zlib \
--with-bz2 \
--with-jpeg \
--with-tiff \
--enable-ftp \
--with-gd \
--with-mysql=/usr/local/mysql/ \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--disable-cgi
echo -e "\n\nconfigure complete\a"
sleep 5
echo -e "\n\nstarting compilation\a"
make
echo -e "\n\ninstalling...\a"
make install
echo -e "\n\nall done. \n"
now it compiles fine. But when it's run it does not seem to read the php.ini, or even try and use the mysql.sock that was compiled in. However, the path to the php.ini is set fine. (according to phpinfo()).
Any ideas anyone?
oh, btw, it's this server, if anyone wants to check...
http://193.2.145.160/phpinfo.php
Thanks again for any help... this has been getting on my nerves for some time now.