Ah! Do the easy thing. Download my install-webserver script from my
homepage and install apache and php from source, it's at
(You can also install mysql too :)
My script makes it as easy as just running one command. just read the
README file first!
I've always compiled php into Apache and it works very well that way.
Just uninstall the rpms of apache and php first..
(One thing my script doesn't do is activate php in httpd.conf... you
already know where it is anyway so you shouldn't have any trouble)
Rob Hill wrote:
>> Donncha O Caoimh wrote:
> > Do other php3 files get displayed properly?
>> no - the browser just tries to save them to disk....
>> > Have you got php3.ini in /usr/local/lib/?
>> no - it's in /etc/php3/apache/ - that's where the rpm put it...
>> > put the following into t.php3 in your htdocs directory and see what
> > happens in your browser..
> > <?php
> > phpinfo();
> > ?>
>> same as above - the browser (lynx, netscrape) gives you the option to save to
>> > Is php loaded as an Apache module or as a cgi program (probably in
> > /usr/local/bin/)?
>> that's where i think the problem is - if I add
>> LoadModule php3_module modules/libphp3.so
>> to the httpd.conf i get;
>> Syntax error on line 30 of /etc/httpd/conf/httpd.conf:
> API module structure `php3_module' in file /etc/httpd/modules/libphp3.so is
> garbled - perhaps this is not an Apache module DSO?
>> when I restart apache.....
>> any ideas?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!