php-install Digest 17 Jul 2001 05:32:04 -0000 Issue 366 Topics (messages 3573 through 3583): Re: NS Enterprise and PHP 4.0.6 NSAPI 3573 by: Alfred Lerch Re: apache error: cannot open shared object file ?? 3574 by: Rasmus Lerdorf 3577 by: Marvin Horst Do not get any PHP-binary in install? 3575 by: Lasse Andersson php_crypt.dll missing 3576 by: mailling.bigfoot.com getting php to work with fdf support 3578 by: Michael Stearns Re: [PHP] Do not get any PHP-binary in install? 3579 by: Lasse Andersson 3580 by: Matthew Loff Install nightmare 3581 by: Joi install nightmare (actual email) 3582 by: Joi 3583 by: Rüdiger Schmidt 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] ----------------------------------------------------------------------
Hi Max, have a look at http://benoit.noss.free.fr/php/install-php4.html good luck alfred "Galvin, Max" wrote: > > I was wondering if anyone has managed to get this working under Solaris. It > compiles okay and works as a cgi but when I compile it as the nsapi version, > edit all the scripts and move the files to the right place, on starting the > server I get the following error: > > pclose() failed. (2: unknown early startup error) > > Anyone know the problem and how to resolve it? > > M > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- -- \\\\\/// / ^ _ \ ( (o) (o) ) --- That's all folks --- +=oOOO=====(_)=====OOOo==========================================+ |Alfred Lerch Mentor Graphics Deutschland GmbH| |Network & System Administrator Elsenheimer Str. 41 - 43| |IT - Business Support Team Munich D-80687 Muenchen, Germany| |email: [EMAIL PROTECTED] Fax : +49 89 57096-400| |Tel. : +49 89 57096-241 Mobile: +49 172 8915200| | | |Helpdesk IT Central Europe in Munich | |Tel. : +49 89 57096-110 internal: 777| |email: [EMAIL PROTECTED] | +=============Oooo.==============================================+ .oooO ( ) ( ) ) / \ ( (_/ \_)
Is libexpat.so.0 somewhere on your LD_LIBRARY_PATH ? Not being able to find a shared library is not really a PHP issue, it is a system configuration issue. If you are on Linux you can edit /etc/ld.so.conf and add the directory this shared library is in and run ldconfig -Rasmus On Mon, 16 Jul 2001, Marvin Horst wrote: > I don't understand why I get this message when attempting to start apache. > The libexpat.so.0 file does exist in /usr/local/lib. > > Syntax error on line 237 of /usr/local/apache/conf/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp4.so into server: libexpat.so.0: > cannot open shared object file: No such file or directory > /usr/local/apache/bin/apachectl start: httpd could not be started > > > My config for php 4.0.6 is: > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-config-file-path=/usr/local/apache/conf \ > --enable-ftp \ > --with-imap=/usr/local \ > --with-interbase=/opt/interbase \ > --with-mysql --with-gd=/usr --with-jpeg-dir=/usr --with-ttf \ > --enable-debug=no \ > --with-xml --with-expat-dir=/usr/local --with-sablot=/usr/local > > > > >
Thanks! Rasmus After doing a search on the mailing list, I found you answered this question several times before.Gotta remember to check if my question has already been answered on the list. > Is libexpat.so.0 somewhere on your LD_LIBRARY_PATH ? Not being able to > find a shared library is not really a PHP issue, it is a system > configuration issue. If you are on Linux you can edit /etc/ld.so.conf and > add the directory this shared library is in and run ldconfig > > -Rasmus > > On Mon, 16 Jul 2001, Marvin Horst wrote: > > > I don't understand why I get this message when attempting to start apache. > > The libexpat.so.0 file does exist in /usr/local/lib. > > > > Syntax error on line 237 of /usr/local/apache/conf/httpd.conf: > > Cannot load /usr/local/apache/libexec/libphp4.so into server: libexpat.so.0: > > cannot open shared object file: No such file or directory > > /usr/local/apache/bin/apachectl start: httpd could not be started > > > > > > My config for php 4.0.6 is: > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > > --with-config-file-path=/usr/local/apache/conf \ > > --enable-ftp \ > > --with-imap=/usr/local \ > > --with-interbase=/opt/interbase \ > > --with-mysql --with-gd=/usr --with-jpeg-dir=/usr --with-ttf \ > > --enable-debug=no \ > > --with-xml --with-expat-dir=/usr/local --with-sablot=/usr/local > > > > > > > > > > >
Hi, I'm trying to install GD(1.8.4) with PHP (4.04p1). The end of 'make install' script looks lik this: for prog in phpize php-config pear; do \ /opt/src/src/php-4.0.4pl1/build/shtool install -c -m 755 $prog /usr/local/bin/$prog; \ done make[2]: Leaving directory `/opt/src/src/php-4.0.4pl1/pear' make[1]: Leaving directory `/opt/src/src/php-4.0.4pl1/pear' As you can see I get binaries for phpize, php-config and pear but not any PHP binary? Configure used : sh configure --enable-discard-path --with-apache=/opt/src/src/apache_1.3.19/ \ --with-mysql=/opt --with-gd=/opt --with-jpeg-dir=/opt Help appreciated Lasse Netcraft Scandinavia
Hello, I downloaded the php4.0.6 distribution for linux, but it seems that the extention php_crypt.dll is missing, even if you are talking about it in the INSTALL file. Also, is it the same of mcrypt module? And what about the mcal module? could somebody send it to me? Thank you Stephane
I am working in a virtual server environment on FreeBSD with PHP4/apache (I don't have root access to the server). I would like to install fdf support. The install instructions that came with the package from Adobe are minimal. >From reading the docs on php.net I understood that I could modify my apache httpd.conf with something like this: php_value extension_dir /usr/home/serverone/usr/local/lib/mylib php_value extension libFdfTk.so So far that isn't working. It looks like the two relevant files I need are: FdfTk.h libFdfTk.so I put both of these files in the directory I referenced above: /usr/home/serverone/usr/local/lib/mylib I am not clear if I need to put the FdfTk.h in a specific location and how I need to reference that. Any suggestions for how to proceed would be appreciated! Regards, Michael
Just wanted to tell that it's solved. No binary is created, PHP is (in my case) a module to apache. Thanks, Lasse Lasse Andersson wrote: > No it isn't there either. > > My configure, make and make install do not seem to create a 'php' binary. > > Lasse > > Scott wrote: > > > i know it's silly to ask -- > > but did you look for "php" in /usr/local/bin/ > > > > > -----Original Message----- > > > From: Lasse Andersson [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, July 16, 2001 2:49 PM > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > Subject: [PHP] Do not get any PHP-binary in install? > > > > > > > > > > > > Hi, > > > > > > I'm trying to install GD(1.8.4) with PHP (4.04p1). > > > The end of 'make install' script looks lik this: > > > > > > for prog in phpize php-config pear; do \ > > > /opt/src/src/php-4.0.4pl1/build/shtool install -c -m 755 $prog > > > /usr/local/bin/$prog; \ > > > done > > > make[2]: Leaving directory `/opt/src/src/php-4.0.4pl1/pear' > > > make[1]: Leaving directory `/opt/src/src/php-4.0.4pl1/pear' > > > > > > As you can see I get binaries for phpize, php-config and pear but not > > > any PHP binary? > > > > > > Configure used : > > > > > > sh configure --enable-discard-path > > > --with-apache=/opt/src/src/apache_1.3.19/ \ > > > --with-mysql=/opt --with-gd=/opt --with-jpeg-dir=/opt > > > > > > Help appreciated > > > > > > > > > > > > Lasse > > > Netcraft Scandinavia > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > >
When you pass "--with-apache" or "--with-apxs" to configure, it doesn't create a CGI binary... But you've already figured that out. :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Lasse Andersson Sent: Monday, July 16, 2001 6:00 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Do not get any PHP-binary in install? Just wanted to tell that it's solved. No binary is created, PHP is (in my case) a module to apache. Thanks, Lasse Lasse Andersson wrote: > No it isn't there either. > > My configure, make and make install do not seem to create a 'php' > binary. > > Lasse > > Scott wrote: > > > i know it's silly to ask -- > > but did you look for "php" in /usr/local/bin/ > > > > > -----Original Message----- > > > From: Lasse Andersson [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, July 16, 2001 2:49 PM > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > Subject: [PHP] Do not get any PHP-binary in install? > > > > > > > > > > > > Hi, > > > > > > I'm trying to install GD(1.8.4) with PHP (4.04p1). > > > The end of 'make install' script looks lik this: > > > > > > for prog in phpize php-config pear; do \ > > > /opt/src/src/php-4.0.4pl1/build/shtool install -c -m 755 > > > $prog /usr/local/bin/$prog; \ done > > > make[2]: Leaving directory `/opt/src/src/php-4.0.4pl1/pear' > > > make[1]: Leaving directory `/opt/src/src/php-4.0.4pl1/pear' > > > > > > As you can see I get binaries for phpize, php-config and pear but > > > not any PHP binary? > > > > > > Configure used : > > > > > > sh configure --enable-discard-path > > > --with-apache=/opt/src/src/apache_1.3.19/ \ --with-mysql=/opt > > > --with-gd=/opt --with-jpeg-dir=/opt > > > > > > Help appreciated > > > > > > > > > > > > Lasse > > > Netcraft Scandinavia > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] To > > > contact the list administrators, e-mail: > > > [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi... I'm new to the list and I'm having some issues with a PHP install. Grab a cup of coffee and read along.... I got a box with RedHat 6.2 and Apache 1.3.12 installed.
Hi... I'm new to the list and I'm having some issues with a PHP install. Grab a cup of coffee and read along.... I got a box with RedHat 6.2 and Apache 1.3.12 installed. I put Chilisoft ASP 3.6 on on it and Chilisoft moved everything to /usr/local/chilisoft/ So Apache is in /usr/local/chilisoft/apache/ I then tried to install PHP4.0.4 and 4.0.5 via RPM and source. Neither worked. Sometimes I'd see an error with apxs and sometimes with required libraries, but I always got around it. Eventually, I got an error about a required dependency "webserver". The last error was seen when trying to install php-3.0.16-2bc.i386.rpm or php-3.0.18-1.6.x.i386.rpm and I never figured that one out. One thing about the "webserver" dependency that struck me as odd is that I seem to be missing my httpd binary. I think chilisoft removed it when it made the apachectl binary. Eventually, I got php 4.0.5-2.arvin to install via RPM and checked the php.ini and httpd.conf, restarted the server and tested it. Here's the problem at this point: I try to browse a .php3 file and get the "File Download" window (this is in IE 5). This also happens with .php extentions and I've made sure everything for both extentions is in httpd.conf and even tried it in mime-types. So NOW, I've spent the past 2 weeks trying to find ANY reference to the problem, and though I've found others who've had the problem, I still haven't found a working solution. At this point, I'm ripping my hair out and have contemplated removing Apache, Chilisoft, PHP, etc. and starting from scratch. Anyone know what this is or how to fix it? Thanks Joe
Hi Joe, are you sure that you edit the right httpd.conf? Rename the httpd.conf, call 'apachectl configtest'. It should not work any longer ... Have a look into the apachectl script (it's not a binary). You should see where your httpd binary is located. Ruediger Joi wrote: > Hi... I'm new to the list and I'm having some issues with a PHP install. > Grab a cup of coffee and read along.... > > I got a box with RedHat 6.2 and Apache 1.3.12 installed. I put Chilisoft > ASP 3.6 on on it and Chilisoft moved everything to /usr/local/chilisoft/ > So Apache is in /usr/local/chilisoft/apache/ > I then tried to install PHP4.0.4 and 4.0.5 via RPM and source. Neither > worked. Sometimes I'd see an error with apxs and sometimes with required > libraries, but I always got around it. Eventually, I got an error about a > required dependency "webserver". > The last error was seen when trying to install php-3.0.16-2bc.i386.rpm or > php-3.0.18-1.6.x.i386.rpm and I never figured that one out. > One thing about the "webserver" dependency that struck me as odd is that I > seem to be missing my httpd binary. I think chilisoft removed it when it > made the apachectl binary. > Eventually, I got php 4.0.5-2.arvin to install via RPM and checked the > php.ini and httpd.conf, restarted the server and tested it. > > Here's the problem at this point: > I try to browse a .php3 file and get the "File Download" window (this is in > IE 5). This also happens with .php extentions and I've made sure > everything for both extentions is in httpd.conf and even tried it in > mime-types. > > So NOW, I've spent the past 2 weeks trying to find ANY reference to the > problem, and though I've found others who've had the problem, I still > haven't found a working solution. At this point, I'm ripping my hair out > and have contemplated removing Apache, Chilisoft, PHP, etc. and starting > from scratch. > > Anyone know what this is or how to fix it? > > Thanks > Joe