Hi all
just did a fresh install of FC3 linux. Then needed to recompile php so i could talk to a MS SQL Server DB.
I'm getting this error when i start apache....
/etc/rc.d/init.d/httpd start
Starting httpd: Syntax error on line 147 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: libsybdb.so.5: failed to map segment from shared object: Permission denied
[FAILED]
Here are the steps that I took to compile all of this.
Grabbed apache 2.0.54
configure with --enable-so
make
make install
(all went fine)
grabbed and installed libjpeg/libpng/freetype2/etc
Grabbed the freetds library i needed to talk to a MS-SQL Server DB
configure
make
make install
(all worked just fine)
Grabbed php 4.3.11
'./configure' '--with-freetype-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-pcre-regex=/lib' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-mysql=shared,/usr' '--enable-calendar' '--with-mssql=/downloads/freetds-0.63' '--with-png-dir=/usr/local/lib' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-zlib'
make
make install
(then copied the php .so file from install libs directory to /usr/lib/httpd/modules/
added to httpd.conf:
LoadModule php4_module modules/libphp4.so
and
AddType application/x-httpd-php .php .phtml
and that's where i get my error. any help would be much appreciated.