Hi Dave. Did you compile apache first, then compile php5 as a shared module, using apxs. Something like this: my-host/php-5.0.4/# # config.nice contents: './configure' \ '--with-apxs2=/usr/local/apache2-0-55/bin/apxs' \ '--prefix=/usr/local/php5-1-2' \ '--with-mysql=shared,/downloads/mysql/mysql-max-5.0.18-linux-i686-glibc23/' '--with-mysql-sock=/var/lib/mysql/mysql.sock' \ Are you using the php5 module you compiled, and not an older version? If so is it readable by apache httpd.conf? HTH Keith In theory, theory and practice are the same; In practice they are not. On Mon, 23 Jan 2006, Dave Muhammad wrote: > To: users@xxxxxxxxxxxxxxxx > From: Dave Muhammad <dave@xxxxxxxxxxxxxxxxxxxxxx> > Subject: [users@httpd] PHP-5 (error) libphp5.so > > I have compiled Apache 2.0.54, and PHP 5.0.4, when I try to start apache > I am given an error. The error is as follows... > > $ /etc/rc.d/init.d/httpd start > Starting httpd: Syntax error on line 24 of > /opt/apache-2.0.54/conf/httpd.conf: > Cannot load /opt/apache-2.0.54/modules/libphp5.so into server: > /opt/apache-2.0.54/modules/libphp5.so: cannot restore segment prot after > reloc: > Permission denied > > Any suggestion would be appreciated. > thanks --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx