Re: Help me! What is wrong?
| From: | Simon Garner | Date: | Tue, 20 Feb 2001 23:31:55 +0000 |
| Subject: | Re: Help me! What is wrong? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40854@lists.php.net to get a copy of this message | ||
From: "Ana Carolina Blanco Abascal" <ablanco@bb.com.mx>
> Help!!! Every thing seems to work ok but I just can't make apache
> recognize php3 files
> I check that mod_php3.c is load with /usr/local/apache/bin/httpd -l
> This is what my httpd.conf file has
> <IfDefine SSL>
> LoadModule php3_module libexec/libphp3.so
> </IfDefine>
>
> <IfDefine SSL>
> AddModule mod_php3.c
> </IfDefine>
Lose the IfDefine. Just put:
LoadModule php3_module libexec/libphp3.so
AddModule mod_php3.c
>
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3 .html
> AddType application/x-httpd-php3 -source .phps
Change this to:
AddType application/x-httpd-php3 .php3 .html
AddType application/x-httpd-php3-source .phps
>
> My info.html looks like this:
> Configure command at
> ./configure '--with-pgsql=/usr/local/pgsql'
> '--with-config-file-path=/usr/local/apache/conf'
> '--with-apache=/usr/src/apache_1.3.11' '--enable-track-vars'
> '--with-gd=/usr/local' '--with-ttf=/usr/local'
> php3.ini file path is set to:
> /usr/local/apache/conf
>
> Loaded modules:
> mod_php3, mod_ssl, mod_setenvif, mod_so, mod_auth,
> mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis,
>
> mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status,
> mod_negotiation, mod_mime, mod_log_config, mod_env, mod_vhost_alias,
>
> http_core
>
> Please I need some advise!!!
> Thanks Ana Carolina
Howcome you are installing PHP3, not PHP4? Just curious...
Cheers
Simon Garner