note 38303 rejected from install.apache by vincent
| From: | vincent@php.net | Date: | Tue, 16 Dec 2003 09:10:22 +0000 |
| Subject: | note 38303 rejected from install.apache by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62026@lists.php.net to get a copy of this message | ||
Note Submitter: swiftgti1@hotmail.com
----
I want to install PHP4.3.4+Apache1.3.29+cURL7.10.8
I have followed the steps taught in document but finally I cannot run the apache. Below is my step
to install, please help me to have a look!
> tar zxvf curl-7.10.8.tar.gz; cd curl-7.10.8
> configure; make; make test; make install; cd ..
> tar zxvf apache-1.3.29.tar.gz; tar zxvf php-4.3.4.tar.gz
> cd php-4.3.4
> configure --with-curl --with-mysql --with-apache=../apache-1.3.29; make; make install
> vi ../apache-1.3.29/src/Configuration (add the line AddModule modules/php4/libphp4.a)
> cp php.ini-dist /usr/local/lib/php.ini
> cd ../apache-1.3.29
> configure --enable-module=so; make; make install
> vi /usr/local/apache/conf/httpd.conf (add the lines LoadModule php4_module libexe/libphp4.so
> and AddType application/x-httpd-php .php .phtml)
When I run apachectl start, it prompts the message:
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so:
cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started