php-install Digest 23 May 2001 13:33:06 -0000 Issue 322 Topics (messages 3256 through 3264): Re: WIN ME PHP Install problem 3256 by: Julie Meloni Can't build PDFlib with PHP successfully 3257 by: leo 3258 by: Jani Taskinen MySQL and libphp4 3259 by: Sorin Constantinescu Linux SUSE 6.3 (PHP4) >>>>> Windows NT MSSQLServer 7.0 3260 by: Torsten Schäfer NEW Quality Lead Services 3261 by: Qualityleadservices_2348.mail.com Compiling Problem with PDFLib for PHP (Solaris 2.8) 3262 by: Michael Middleton php_gd.dll Problems 3263 by: Bernie Kruger dual web server question 2 3264 by: Deborah Dennison 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] ----------------------------------------------------------------------
Robin Hastings wrote: > When I try to install it as CGI I put: > ScriptAlias /php4/ "C:/php/" > AddType application/x-httpd-php .php > Action application/x-httpd-php "/php/php.exe" Action should be: Action application/x-httpd-php /php4/php.exe Action = ScriptAlias + name of executable. That assumes that the executable is in C:/php/ . http://www.thickbook.com/extra/php_apachephp4_win.phtml if you want an explanation of why and what not. +----------------------------------------+ | Julie Meloni ([EMAIL PROTECTED]) | | | | "PHP Essentials" and "PHP Fast & Easy" | | http://www.thickbook.com | +----------------------------------------+
Hi! All, I'm Leo. Hi! I'm install PDFlib rpm files (pdflib-4.0.1-1,pdflib-tcl-4.0.1-1,pdflib-devel-4.0.1-1). My PHP configure lines: ./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.19 --enable-ftp --enable-discard-path --with-pdflib=/usr/lib --with-gd That's OK! System don't response any error messages! Then, I compile PHP and Apache source code. No any error messages during compiling. But.. It still can't use any pdf functions like pdf_open(). My Linux box will tall me "Fatal error: Call to undefined function.." I tried to compile PHP with PDFlib again, and saw some information: (1) checking whether to include PDFlib support... yes (2) creating ext/ftp/Makefile creating ext/gd/Makefile creating ext/mysql/Makefile creating ext/pcre/Makefile creating ext/pcre/pcrelib/Makefile creating ext/posix/Makefile creating ext/session/Makefile creating ext/standard/Makefile creating ext/xml/Makefile creating ext/xml/expat/Makefile creating ext/xml/expat/xmlparse/Makefile creating ext/xml/expat/xmltok/Makefile ==> It did not create ext/pdf/Makefile! P.S: Before compile PHP, I have updated the PHP source sode from PHP and Zend CVS. My commands are: ==> # cvs -d :pserver:[EMAIL PROTECTED]:/repository co php4 ==> # cd php4 ==> # cvs -d :pserver:[EMAIL PROTECTED]:/repository co Zend TSRM ==> # cp -r * /usr/src/php-4.0.5/ Is this a bug at php-4.0.5? How can I do that you recommend? P.S: I did checkout the CVS on May 22 morning in Taiwan. Please click the following URL for my questions, thanks: http://www.php.net/bugs.php?id=11014 Big Thanks!
On Wed, 23 May 2001, leo wrote: >I'm install PDFlib rpm files (pdflib-4.0.1-1,pdflib-tcl-4.0.1-1,pdflib-devel-4.0.1-1). Where did you get these RPMs ? >My PHP configure lines: >./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.19 >--enable-ftp --enable-discard-path --with-pdflib=/usr/lib --with-gd >That's OK! System don't response any error messages! >Then, I compile PHP and Apache source code. >No any error messages during compiling. Use /usr as path. And then check the config.log why the test fails. >P.S: Before compile PHP, I have updated the PHP source sode from PHP and Zend CVS. >My commands are: >==> # cvs -d :pserver:[EMAIL PROTECTED]:/repository co php4 >==> # cd php4 >==> # cvs -d :pserver:[EMAIL PROTECTED]:/repository co Zend TSRM >==> # cp -r * /usr/src/php-4.0.5/ Why do you copy these files? You don't need to get anything from CVS. Just use the sources found in php-4.0.5.tar.gz --Jani
I have a problem with PHP under Linux. I install Apache, PHP-MySQL, MySQL server+client and libphp4 (mod_php).The script: <?php echo "Test"; mysql_connect("localhost","user","pass"); ?> display the "Test" but it said that mysql_connect function is undefined. If I execute the file: #!/usr/bin/php <?php echo "Test"; mysql_connect("localhost","user","pass"); ?> it works. How could I make the first script to run? Libphp4 is compiled with mysql functions? Thank you very much for kindness, Sorin Constantinescu ------------------------------ K Free E-mail http://www.k.ro/ by KappaNet http://www.kappa.ro/
Hello How can I get a connection to a MSSQL Server7.0 form a Linux WebServer (apache) over PHP(4) I have found some infomation on www.phpbuilder.com (sybase) but it doesn´t work. I get the following error: "Fatal error: Call to unsupported or undefined function mssql_connect() in /usr/local/httpd/htdocs/unix.php3 on line 2" The Script: <?php $link = mssql_connect("...SQL SERVERNAME WinNT ...","...DBUser...","...DBPassword..."); $query = "SELECT * FROM ...Table..."; $result = mssql_query($query,$link); $number = mssql_num_rows($result); exit(0); ?> I´m a beginner of PHP scripting and I´m learning by doing. I hope you can help me. Thanks for your help Torsten Schäfer ([EMAIL PROTECTED])
Dear Fellow Network Marketer, Recently you requested information on our Full Questionnarre Network Marketing Leads. Our Leads are exclusive to your opportunity. We guarantee results and have a no questions asked replacement policy for any "bad" leads. Bottomline. Our Leads create residual income for you. Every lead guaranteed to be a Network Marketer and to have marketing experience. What does this mean for you? NO DEADBEATS! Call today and ask how you can recieve 20 FREE quality Leads! Lead orders sent VIA email same day recieved. NO WAITING! Contact our offices today for the best Network Marketing Leads in the industry. Direct Sales Line: 540-725-4071 To be removed from our mailing list please send an email to [EMAIL PROTECTED] with your email address in the subject.
Hallo, I have got a problem compiling PHP with PDFLib. Since I do not know whether the problem lies with PHP or PDFLib I have posted to both groups. PDFLib 4.01, PHP 4.05 as DSO for Apache 1.3.19 on Sun Solaris 2.8. I cannot use PDFLib as loadable module as I run PHP in safe mode. PHP confiuration: ./configure --prefix=/www-cgi/local \ --without-perl --enable-cxx --enable-shared --enable-shared-pdflib make make install Worked without any errors PHP configuration: ./configure --prefix=/www-cgi/local --exec-prefix=/www-cgi/PHP \ --with-apxs=/www-cgi/Apache/bin/apxs \ --with-config-file-path=/www-cgi/Apache/conf \ --with-exec-dir=/www-cgi/PHP/safebin \ --without-fdftk \ --with-pdflib=/www-cgi/local Worked OK. But I got the following error in make: [cut] Making all in pdf /bin/sh /work/www-cgi/source/php-4.0.5/libtool --silent --mode=compile gcc -I/work/ww: In function Php_if_pdf_close_pdi_page'::2704: too many arguments to function PDF_close_pdi_page' *** Error code 1: Fatal error: Command failed for target Pdf.lo'working directory /work/www-cgi/source/php-4.0.5/ext/pdf *** Error code 1: Fatal error: Command failed for target All- recursive'working directory /work/www-cgi/source/php-4.0.5/ext/pdf *** Error code 1: Fatal error: Command failed for target All- recursive'working directory /work/www-cgi/source/php-4.0.5/ext *** Error code 1: Fatal error: Command failed for target All-recursive' Can anyone shed some light on the problem? Mike Middleton ------------------------------------------------------------- Michael Middleton RZ der Universitaet Regensburg 93040 REGENSBURG Tel: +49-941/943-4890 F R Germany
I am running: PHP 4.0.5 on two systems. 1. Windows 98B - PWS4. Here everything is working 100%. 2. Windows ME - PWS 4. Here I get the error: Fatal error: Call to undefined function: imagecreate() in C:\myfile.php on line 25. What I am doing and have done so far: Got hold of every single php_gd.dll file that I could get (yes the Windows one as well). The original php_gd.dll that I got with PHP 4.0.5 - (Windows Zip) crashes my PWS or it give me a Internal Server Error 500. The code from a tutorial: // create image $width = 600; //Total Chart Width $height = 400; //Total Chart Height $image = imagecreate($width, $height); other important part: // flush image header("Content-type: image/png"); imagepng($image); imagedestroy($image); My PHP setup is spotless. Why only on Win ME? Please help....
Hello, I am real new at server config as you will soon see................need 2 questions answered. Part 1 I want to install php on a Windows NT machine that is currently using Domino as it's webserver. If I use the php 4.05 auto-installer, it says that IIS will be automatically configured. Which is good cause I am going to need to use it. However, I am trying to understand what port IIS will be assigned to use since Domino already uses 8080. Or is this something I have to set manually. The thing is I can't upset the current configuration just yet. Will installing php this way mess up my current set up? Part 2 As someone pointed out to me yesterday I can have more than one web server running on one machine at the same time. I just have to figure out how all that works. Can anyone point me in the direction of some good information to learn about how to handle these issues. Thank You Kindly, Deb