Date: 02/29/00
- Next message: HJ Schmidt: "[PHP3] Apache/PHP/mySQL not playing well together"
- Previous message: moebius <email protected>: "Re: [PHP3] Problems starting httpd after installing PHP3"
- In reply to: Dermot Gorman: "[PHP3] Redhat 6.1 php3 installation problems!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey Dermot,
Take off the /usr prefix and use "lib/apache/libphp3.so" By default your
prefix is /usr so you just have to tell apache the subdir's
HTH,
Harry Hoffman
Product Systems Specialist
Restaurants Unlimited Inc.
206.634.3082 x. 270
On Tue, 29 Feb 2000, Dermot Gorman wrote:
> can someone check over my installation procedure for php3 as i'm having
> trouble on my Redhat 6.1 system.
>
> 1. I installed apache development rpm (for apxs)
> 2. I installed freetype development rpm
> 3. apache is default installed, version: 1.3.9-4
> 4. copied php-3.0.15.tar.gz to /usr/local/src/ , gunzip and untarred
> here.
> 5. editted /usr/sbin/apxs around line 74 to give: * denotes line i
> changed.
>
> my $CFG_CFLAGS_SHLIB = '-fpic -DSHARED_MODULE'; #substituted via
> Makefile.tmpl
> my $CFG_LD_SHLIB = 'gcc'; # substituted via Makefile.tmpl
> * my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl
> my $CFG_LIBS_SHLIB = ''; # substituted via Makefile.tmpl
> my $CFG_PREFIX = '/usr'; # substituted via APACI install
> my $CFG_SBINDIR = '/usr/sbin'; # substituted via APACI install
> my $CFG_INCLUDEDIR = '/usr/include/apache'; # substituted via APACI
> install
> * my $CFG_LIBEXECDIR = '/usr/lib/apache'; #substituted via APACI install
> my $CFG_SYSCONFDIR = '/etc/httpd/conf'; # substituted via APACI install
>
>
> 6. Did a ./configure --with-apxs=/usr/sbin/apxs (no mysql needed,
> just basic php3).
>
> 7. make ; make install
>
> 8. No errors so far, the make install gives out
>
> /usr/sbin/apxs -i -n php3 libphp3.so
> cp libphp3.so /usr/lib/apache/libphp3.so
> chmod 755 /usr/lib/apache/libphp3.so
> [activating module `php3' in /etc/httpd/conf/httpd.conf]
> -looking good so far!
>
> 9. Editted /etc/httpd/conf/httpd.conf to provide the correct path
> for the following:
>
> LoadModule php3_module /usr/lib/apache/libphp3.so
> Also uncommented this line: AddModule mod_php3.c
>
> 10. Editted srm.conf to add php3 application types etc.
> 11. OKAY, lets give it a blast, /etc/rc.d/init.d/httpd restart
> 12. ERRORS!!! complains about sytax error on line 173 in httpd.conf
> 'LoadModule perhaps mis-spelled or defined by a module not included in
> the
> server configuration"
>
> line 173 contains:
>
> LoadModule php3_module /usr/lib/apache/libphp3.so
>
> 13. can anyone see where I'm going wrong, or point me in the right
> direction.
>
>
> Also, Is there a simpler way of installing php3 i.e. via the rpm (which
> i
> tried and had no luck with (same error message as 13.)?
>
> dermot.
>
> --
> ---------------------------------
> dermot.gorman <email protected>
> 086-8819704 www.planetedge.cx
> ---------------------------------
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: HJ Schmidt: "[PHP3] Apache/PHP/mySQL not playing well together"
- Previous message: moebius <email protected>: "Re: [PHP3] Problems starting httpd after installing PHP3"
- In reply to: Dermot Gorman: "[PHP3] Redhat 6.1 php3 installation problems!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

