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

Re: PHP4 question



This may not be the answer you are looking for, but I found downloading
apache and php4 source and compiling as a static httpd binary is nice, and
you don't have to worry about modules, and loading it externaly from
apache... it's all built in.  I've been doing that as standard practice
for a while, and it works great for me.

Gabe

------------------------------------------------------
|Gabe Kangas               | gabek@real-ity.com       |
|Senior Systems Engineer,  | http://gabe.real-ity.com |
|Real-ity Networks         |                          |
|www.real-ity.com          |                          |
|------------------------------------------------------

On Thu, 2 Nov 2000, Emre wrote:

GK>On Thursday 02 November 2000 21:42, jason mccarthy wrote:
GK>>
GK>> did you un-comment the "AddType" line?
GK>
GK>Yes, I have:
GK>
GK>AddType application/x-httpd-php4 .phtml
GK>AddType application/x-httpd-php4-source .phps
GK>
GK>> if php is installed in /usr/local/lib/php/
GK>> then it should be /usr/local/lib/php.ini
GK>
GK>bash-2.04# /usr/local/sbin/php4-enable
GK>enabling php4 module...
GK>cp /usr/local/lib/libphp4.so /usr/lib/apache/modules/libphp4.so
GK>chmod 755 /usr/lib/apache/modules/libphp4.so
GK>[activating module `php4' in /var/www/conf/httpd.conf]
GK>note: sample configuration files can be found in /usr/local/share/doc/php4
GK>
GK>Well, it says the sample config files are in the directory, but is that were 
GK>they are supposed to be??  Or do I have to put them into /var/www/conf?
GK>
GK>Thanks for any help
GK>Cheers,
GK>
GK>