php-install Digest 3 Nov 2002 15:08:57 -0000 Issue 1101

Topics (messages 9007 through 9008):

Getting Php to work
        9007 by: George \"Gman\" Flatman

PHP4 on OpenBSD, Missing libcrypto.so.4.1???
        9008 by: Jens Olsson

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I have Apache v2.0.43 and it runs fine tried to install PHP v4.2.3 and i
added the following lines.

In my php.ini file i added:
extension_dir = "D:/php"

Then i added the following lines in my http.conf and http.default.conf
files:
ScriptAlias /php/ "D:/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php /php/php.exe

I then created a test.php file with the following commands:
<? phpinfo(); ?>

I then typed in my local browser:
http://localhost/test.php
it came back and said page cannot be displayed.

I also tried the following addresses:
http://www.theedge2k.com/test.php
http://24.234.50.102/test.php
and neither one worked.

Can someone tell me what i missed. I read the documentation but go so
confused because it seemed like it was jumping around the docs.

"Gman": The Local Trouble Maker
Owner: The Edge Internet Radio
http://www.theedge2k.com
Email: [EMAIL PROTECTED]
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]

ICQ#:  136383819
IM:    theedge2k
Yahoo: theedgeIIk
Aim:   theedgeIIk
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002

--- End Message ---
--- Begin Message ---
Tried to install PHP4 on my OpenBSD box but it complains about some file,
libcrypto.so.4.1:( What I did exactly is at the end of this message.
How can I fix this?

Thanks in advance
//Jens

tripplefault# ls
php4-4.0.4pl1.tgz
tripplefault# pkg_add php4-4.0.4pl1.tgz

+---------------
| To finish the install, you need to enable the php4
| module using the following command
|
|       /usr/local/sbin/php4-enable
+---------------

tripplefault# /usr/local/sbin/php4-enable
enabling php4 module...
[activating module `php4' in /var/www/conf/httpd.conf]
cp /usr/local/lib/libphp4.so /usr/lib/apache/modules/libphp4.so
chmod 755 /usr/lib/apache/modules/libphp4.so
cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
rm /var/www/conf/httpd.conf.new
note: sample configuration files can be found in /usr/local/share/doc/php4

tripplefault# apachectl restart
/usr/sbin/apachectl restart: configuration broken, ignoring restart
/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)

tripplefault# apachectl configtest
/usr/libexec/ld.so: httpd: libcrypto.so.4.1: No such file or directory


--- End Message ---

Reply via email to