PHP4 Beta 1...

From: Date: Sat, 17 Jul 1999 23:42:32 +0000
Subject: PHP4 Beta 1...
Groups: php.version4 
Request: Send a blank email to php-version4+get-2205@lists.php.net to get a copy of this message
Hi, I downloaded php4b1 -- compiles cleanly except for the Include thing when using PDFLib. There's one little cosmetic thing, it's not an error but simply something that just doesn't "look" nice :) It says: "checking whether to build PHP thread-safe... checking whether to enable short tags by default... yes" in one line instead of two... Somebody probably already wrote some quick notes, but hey -- had some time left and Zeev thought it was a good idea, somebody correct eventual grammar and/or spelling mistakes aswell as my errs (misunderstandings...): <h2>Quick Notes</h2> <ul> <li> There is no setup script anymore, to install PHP4 under unix/linux follow these steps (Apache Module support):<ol> <li> gunzip apache_1.3.x.tar.gz <li> tar xvf apache_1.3.x.tar <li> tar -xvzf php4-b1.tar.gz <li> cd php-4.0b1 <li> sh buildconf <li> if you already know with what options to configure you can simply type ./configure and all the options you've selected. If you don't yet know which options you want type ./configure --help to see which are available. <li>(in this case we want MySQL and Apache Module) ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars <li> make <li> make install<p> <li> cd ../apache_1.3.x <li> ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a <li> make <li> make install <li> Edit your httpd.conf or srm.conf and change the<br> AddType application/x-httpd-php3 .php3<br> AddType application/x-httpd-php3-source .phps<br> To: <br> AddType application/x-httpd-php .php<br> AddType application/x-httpd-php-source .phps<br> You can of course add an AddType application/x-httpd-php .php3 in case you want your .php3 files parsed by PHP4.<br> <li>Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.)<br><br> </ol> <li> For the moment PHP4 only works/compiles as <b>CGI</b>, <b>Apache Module</b> and <b>ISAPI Module</b>.<p> <li> Don't use Thread Safety unless you are compiling the ISAPI Module.<p> <li> Remember that the config file of course no longer is called php3.ini but php.ini - unless otherwise chosen it's placed in /usr/local/lib.<p> <li> Oracle support is in two different modules the OCI8 module and the older ORA module.<p> <li> The IMAP Module now needs the c-client.a (normally in /usr/local/lib) to by symlinked to libc-client.c, this is easily done with ln -s yourpath/c-client.a yourpath/libc-client.a<p> <li> The MySQL Module now needs the path to libmysqlclient.so.6 (normally /usr/local/lib/mysql), to fix this simply add the path to ld.so.conf and run ldconfig as root<p> <li> When configuring --with-pdflib the pdflib dir isn't included -- which means that it won't compile. To correct this add -I/yourpath (that would normally be -I/usr/local/lib) to the <b>INCLUDES</b> in the Makefile in the php4 directory and Makefile in the ext/pdf/ directory.<p> </ul> Regards, David Hjortsø. Deus ex Machina. ::: email: david@rotorkopf.dk ::: web: http://www.rotorkopf.dk

« previous php.version4 (#2205) next »