Re: [users@httpd] Apache & PHP woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This for windows, but should follow same rules for anyone...

Make sure you have the following lines:

LoadModule php4_module modules/php4apache2.dll  <-- for you should be '.so'
AddType application/x-httpd-php .php .sif .htm            <-- add extensions
here that will be parsed by php

...of course - substitute your php version instead of php4 (make sure the
path is correct too).

Norm

FREE Avatar hosting at www.easyavatar.com


----- Original Message ----- 
From: "Will Dowling" <william.m.dowling@xxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Tuesday, April 12, 2005 5:39 AM
Subject: [users@httpd] Apache & PHP woes


>
> Ok I posted this problem awhile back but still haven't found
> a solution. I running Solaris 9 and installed Apache 2.0.52
> which works perfect . I compiled from source with these
> flags :
>
> ./configure --prefix/usr/local/apache2 --enable-modules=so
> --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl
>
>  then done a make && make install
>
> So then I downloaded php-5.0.2 Solaris package and installed
> it. Configured php.ini, added libphp5.so to httpd.conf and
> restarted
> apache.
> When I tried to load up a test page with phpinfo() function
> all
> it showed was the source code of the webpage, yet it
> displays
> html perfect. It doesn't seem tobe loading the PHP module
> correctly. Anybody have any ideas on this?
>
>  Will
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux