LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   apache, php, mysql installation issue (https://www.linuxquestions.org/questions/linux-server-73/apache-php-mysql-installation-issue-494311/)

sohailark 10-21-2006 02:39 AM

apache, php, mysql installation issue
 
dear brother

i m using fc3 and want to configure apache. but when i restart apachectl it is giving me an error.


httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: php_escape_html_entities

can some one help me....

reddazz 10-21-2006 02:46 AM

Did you install the php5 apache module because it seems like apache can't find it? You would do something like,
Code:

$./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql

usg 10-31-2006 04:21 AM

I ran into similar errors just now, trying to install PHP 5.1.6 on Apache 2. And no, the module is present (otherwise the error message would be different). I actually solved the issue by installing PHP 5.1.4 instead, so maybe it's a bug :scratch:

linux-india 10-31-2006 05:04 AM

if you r in hurry then i recommende you XAMPP
 
Dear

if you use Xampp then you dont need to do any more thing with system configuration.

just install xampp.tar.gz you will get
[1] Apache [2] php [3] mysql.

that is really very good thing and very easy to use.

Thanks.
With Regards,
Ashish Barot.

mlsx 11-05-2006 10:21 AM

add --enable-so option

also use
./configure --disable-libxml --disable-xml --disable-xmlreader --disable-xmlwriter --disable-dom --disable-simplexml --without-pear --with-gd --with-zlib-dir --with-jpeg-dir --disable-cgi --with-apxs2=/usr/local/apache2/bin/apxs --enable-so


All times are GMT -5. The time now is 07:53 AM.