View Single Post
  #4  
Old 02-07-2012, 08:42 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
I put this in
--with-mysql=/usr/bin --with-libdir=lib64 --with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv --with-litespeed

I read that would help .. and it did allow php to compile.
I restarted the server, but the mysql connections still don't work.

I also have a problem with php includes .. if they are using the full path, they don't work.

Eg this doesn't work

<?php $a = file_get_contents("http://". $_SERVER['HTTP_HOST'] . "/xxx.htm"); echo ($a);?>

But this works

<?php $a = file_get_contents("xxx.htm"); echo ($a);?>
Reply With Quote