Re: PHP install when apache already installed
| From: | Shawn | Date: | Tue, 05 Mar 2002 16:39:20 +0000 |
| Subject: | Re: PHP install when apache already installed | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6265@lists.php.net to get a copy of this message | ||
I get this error after running this:
./configure --with-mysql --with-apxs=/nim_svr/u01/oracle/product/7.1.7/Apach
e/Apache/bin/abxs
configure: error: can not find source in . or ..
I get that error no matter what the configure options are. I tried it with
out options too. Any ideas?
"T Churchward" <tchurchward@redlogic.co.uk> wrote in message
news:NGBBLJGBFAOCIMFJCNPLIELLCJAA.tchurchward@redlogic.co.uk...
> Shaun
>
> If apache is already installed that's okay. The important thing is to
> carefully read the information in the 'INSTALL' file where you unpacked
> PHP - particularly the bit about 'DSO' and testing whether your
installation
> of the web server supports this. If all is okay then you can start your
> build (of PHP) from step number 9 below. BTW the notes comment on using
> mysql as well so have a look at that while you're at it...
>
> good luck
>
>
> Tom Churchward
> Red Logic
> Oracle Support Specialists
>
> Tel: +44 (0) 161 831 9860
> Fax: +44 (0) 161 831 9713
> E-mail: tchurchward@redlogic.co.uk
> Web: www.redlogic.co.uk
>
>
> -----Original Message-----
> From: Shawn [mailto:sbeard@sdps.org]
> Sent: 28 February 2002 20:20
> To: php-install@lists.php.net
> Subject: [PHP-INST] php install when apache already installed
>
>
> I need to have PHP installed on a AIX 4.3.3 machine that already has
apache
> installed 1.3.20 I believe. the instructions for PHP's website for
> installing as a module seem to assume that you are installing apache at
the
> same time. Do I have to re-compile and install apache to run PHP as a
> module? Here are the instructions I have. If I dont have to re-compile
> apache how do these instructions change?
>
> 1. gunzip apache_xxx.tar.gz
> 2. tar -xvf apache_xxx.tar
> 3. gunzip php-xxx.tar.gz
> 4. tar -xvf php-xxx.tar
> 5. cd apache_xxx
> 6. ./configure --prefix=/www --enable-module=so
> 7. make
> 8. make install
> 9. cd ../php-xxx
> 10. ./configure --with-mysql --with-apxs=/www/bin/apxs
> 11. make
> 12. make install
>
> If you decide to change your configure options after installation
> you only need to repeat the last three steps. You only need to
> restart apache for the new module to take effect. A recompile of
> Apache is not needed.
>
> 11. cp php.ini-dist /usr/local/lib/php.ini
>
> You can edit your .ini file to set PHP options. If
> you prefer this file in another location, use
> --with-config-file-path=/path in step 8.
>
> 12. Edit your httpd.conf or srm.conf file and check that these lines are
> present and not commented out:
>
> AddType application/x-httpd-php .php
>
> LoadModule php4_module libexec/libphp4.so
>
> You can choose any extension you wish here. .php is simply the one
> we suggest. You can even include .html, and .php3 can be added for
> backwards compatibility.
>
> The path on the right hand side of the LoadModule statement must point
> to the path of the PHP module on your system. The above statement is
> correct for the steps shown above.
>
>
> 13. Use your normal procedure for starting the Apache server. (You must
> stop and restart the server, not just cause the server to reload by
> use a HUP or USR1 signal.)
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>