I am still plugging away on a freebie project, attempting to install php
and connect it to a non traditional install of apache and mysql. I am
using the wre (webgui runtine environment), where apache, perl, and mysql
are all with in /data/wre.

I am running things on an Ubuntu server, so initially, I just used apt to
install php4, and php-cli. In the domain.conf I added:

LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
<IfModule mod_php4.c>
 AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
</IfModule>


This worked fine, only, I would get preg_match errors at the top of the
page. I found it was due to using external libraries for pcre. The fix is
to install php with the following option,"--with-pcre-regex=", with no
trailing path . I am attempting to install php using source files, and
this seems to work, but now it is asking for MYSQL Headers, which requires
I install mysql-devel.

I have a couple questions about this; if I use apt-get, instead,  to
install mysql-devel, will it work to use "-o" to set the install path to 
/data/wre/prereqs/mysql .
Also, will it work to do the same for installing php, to add
"--with-pcre-regex="?










-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.