[PHP-INST] W2k + php 4.0.6 + iPlanet 4.1 Arrrrgggh
Can fine a proper way to install Php4 on an Netscape server 4.1. Try to install it like CGI (as explained here http://http://benoit.noss.free.fr/php/install-php.html ) But i got this error trying to GET /index.php, handle-processed reports: no way to service request for /index.php Anybody have a solution. I tried the SAPI solution but php crash each time it's read a file. R. -- 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]
[PHP-INST] help needed: extensions and Xitamion win 2000
Hi, Running php 4.06 on Win2000 w/Xitami server. Everything works great except I can't load any extension modules. I've tried messing with the ini file. Just can't seem to get it. Put the dll's in C:\ and C:\winnt\system32 in c:\php. Here is the portion of the ini file which I think gets it to go: Any help would be appreciated. ; The directory under which PHP opens the script using /~usernamem used only ; if nonempty. user_dir = ; Directory in which the loadable extensions (modules) reside. extension_dir = "c:\php" ; Whether or not to enable the dl() function. The dl() function does NOT work ; properly in multithreaded servers, such as IIS or Zeus, and is automatically ; disabled on them. enable_dl = On ;; ; Dynamic Extensions ; ;; ; ; If you wish to have an extension loaded automaticly, use the following ; syntax: ; ; extension=modulename.extension ; ; For example, on Windows: ; ; extension=msql.dll ; ; ... or under UNIX: ; ; extension=msql.so ; ; Note that it should be the name of the module only; no directory information ; needs to go here. Specify the location of the extension with the ; extension_dir directive above. ;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; ;extension=php_bz2.dll ;extension=php_ctype.dll ;extension=php_cpdf.dll ;extension=php_curl.dll ;extension=php_cybercash.dll ;extension=php_db.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_dbx.dll ;extension=php_domxml.dll ;extension=php_dotnet.dll ;extension=php_exif.dll ;extension=php_fdf.dll ;extension=php_filepro.dll extension=php_gd.dll ;extension=php_gettext.dll ;extension=php_hyperwave.dll ;extension=php_iconv.dll ;extension=php_ifx.dll ;extension=php_iisfunc.dll ;extension=php_imap.dll ;extension=php_ingres.dll ;extension=php_interbase.dll ;extension=php_java.dll ;extension=php_ldap.dll ;extension=php_mcrypt.dll ;extension=php_mhash.dll ;extension=php_ming.dll ;extension=php_mssql.dll ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll extension=php_pdf.dll ;see I tried to load this guy also ;extension=php_pgsql.dll ;extension=php_printer.dll ;extension=php_sablot.dll ;extension=php_snmp.dll ;extension=php_sybase_ct.dll ;extension=php_yaz.dll ;extension=php_zlib.dll ;;; ; Module Settings ; ;;; ... -- 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]
Re: [PHP-INSTALL] Install instructions not complete?
No faulty version on the php site, infact when I tried to use install wizard it initialises only php and php4 dll of 2 or 3 files. You create a php folder on C drive and extract php-4.2.2-Win32.zip into the same folder and copy that install exe file on the same folder and execute it. else you can create manually the folders for php and separate the dlls and mib etc files in relevant folders. Muralidhar -- Original Message -- From: Phil Driscoll <[EMAIL PROTECTED]> Date: Tue, 21 Oct 2003 11:15:02 +0100 On Tuesday 21 October 2003 09:57, Stuart Halliday wrote: > I used the Installshield installer 1.0.20 > (I assume that this is what the Installer is using, I've no idea as there > is NO word InstallShield mentioned when using the Installer!) It's actually a 'Wise' installer - but what the hell :) I think you have a faulty version of the installer distribution which was only up on the php site for a few hours. I messed up when I built the installer this time and included the cli version of the exe file rather than the cgi one. In the absence of a Windows machine, I can't be 100% sure, but I think the current version of the installer is 1.0.21. Your httpd.conf changes look ok (with the proviso that they are suicidally insecure as mentioned in install.txt). The IUSR_ stuff is the user which IIS runs under and doesn't apply to your Apache setup. Apologies for any time you have wasted. Cheers -- Phil Driscoll
Re: [PHP-INSTALL] Re: Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll'- Acces is denied
Hi The same problem had with SQL server. I sorted out for different dll. The possible could be the extension specification in php.ini file. Or read write permission for that folder. There could be a chance of for that user login has no permission. Muralidhar -- Original Message -- From: "David Marsh" <[EMAIL PROTECTED]> Date: Fri, 31 Oct 2003 11:06:12 - Well its works but for some strange reason I still get the errors appearing on the Windows console when I first connect to the webpages. The webpages wont appear until I acknowledge the error messages. After that its ok for the time that I'm connected until I close down the IE6 window and startg a new one. Although I'm still getting the errors the extensions are actually working fine. Its looks like some sort of security issue but, I've tried all combinations of stuff to no avail. "Dave Marsh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I was using the ISAPI module. I changed to using PHP as CGI and this seems > to work now. > Must be a bug with ISAPI. > > > "Dave Marsh" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I just cannot seem to get PHP to load this library. I get the error > showing > > up on the console. > > > > I'm running: > > > > Windows 2003 Server > > IIS 6.0 > > PHP 4.3.3 > > Oracle 9.2 > > SQLServer 2000 > > > > PHP is working and I'm also using php_mssql.dll which loads ok and works > and > > I can connect to a SQLServer. ODBC connections also works. > > > > I am a Domain admin and have full rights and access to IIS is granted > > through NT authentication. There appears to be no reason why I should be > > getting this error. > > > > phpinfo() tells me everything is in the right places i.e. > c:\winows\php.ini > > and the mssql module has loaded, but not the Oracle module. The setup for > > mssql and oci8 are identical, they both live in the extensions directory > and > > they are both uncommented from php.ini. I've been looking at this probelm > > for the last two days and I've checked all the obvious things like typing > > errors and the like. > > > > Can anyone help?
Re: [PHP-INSTALL] Unable to pass values throug form
Dear Perdeep Singh I saw your code, some mistakes been found and I corrected it as follows. In dont put http:\\localhost\test.php in action attribute of the form tag. Just type the file name where the following code appears. Example the following code I put in a file and named it as 'singh.php'. And the same is specified in action attribute also. Important Note: You have to edit php.ini for register_globals=on. It will be off you have to type on. Search for register_globals in php.ini file and make it on. Then only $HTTP_POST_VAR works out. And in for each loop spelling mistake occured NOT $HTTP_POST_VAR you have to add 'S' as follows $HTTP_POST_VARS. Best of Luck $val) { echo"$key := $val"; } show2(); break; } function show() { echo""; echo""; echo""; echo""; } function show2() { echo"here in show2 function"; exit; } ?> ___ -- Original Message -- From: "Perdeep Singh" <[EMAIL PROTECTED]> Date: Fri, 6 Dec 2002 06:00:24 +0530 Sir, i installed php 4.3.3 on windows xp having iis 5.1 it's great working except that it not able to take value through form .As shown in below code show() function called easily but when v click on button it dosn't take value of hidden field name call and hence unable to call function show2(). Sir i'll b very much thankful to u if u solve my this problem. Waiting 4 u r mail. Perdeep Singh (India) $val) { echo"$key := $val"; } show2(); break; } function show() { echo""; echo""; echo""; echo""; } function show2() { echo"here in show2 function"; exit; } ?>
Re: [PHP-INSTALL] Dropped Page Request Problem
Hi Yesterday I had the same problem, but found my code contains redirection https. When the browser option dont have support to request a https (a secured socket http), you will get this kind of problem. in IE go to tools -> internet option-> and look for advanced tab then move to Security and look for SSLc option should be checked. Muralidhar Bangalore India -- Original Message -- From: "John Holden" <[EMAIL PROTECTED]> Date: Wed, 24 Dec 2003 14:48:13 -0500 Hello, I've been working on this rather unusual, but extremely frustrating problem for a couple weeks now. What happens is that people go to visit a site in Internet Explorer, and they navigate around the site a bit and then get a "Server not found or DNS error". When this error appears, it is usually resolved by hitting the "Refresh" button in the web browser (sometimes it's necessary to visit another site, then type go back to the problem site). I've tried visiting the troublesome sites in Mozilla, which seems to exhibit the same behavior, but rather than displaying an error, it just stays on the current page; when this happens, simply clicking the link again usually resolves the problem. I've tried accessing the problematic websites from numerous different computers and ISPs, all with the same type of errors. You can imagine my clients concern when it appears that their site is not available to visitors. You can see the problem at two sites: firstchair.com and vtspiceoflife.com--simply by clicking on different links around the site. The problem does not appear to be linked to a particular network, as firstchair.com is connected to a completely different T1 line (and ISP, for that matter) than vtspiceoflife.com. Sometimes it doesn't happen for 50 clicks or more, other times the site will not even show on the first request. Nothing shows in any of the system or Apache error logs. The problem seems to appear when I'm working with PHP scripts, but I've never seen it working with non-script sites. I have been running Apache (The problem has occurred with 2.0.48 and 1.3.29), PHP (4.3.4 and 4.3.3) and MySQL (in some cases on a separate server, other times on the same system--tried both the PHP-packaged MySQL client and the client compiled from MySQL source). I've been building with libmm (tried both 1.3.0 and 1.1.3, compiled from source and alternatively the distro-included package), sometimes using SSL (compiled from source and also the distribution-included binary), but never using compressed delivery. In all cases MySQL, PHP and Apache were built from source. I've been primarily using Slackware 9.1, but yesterday tried FreeBSD 4.9 only to find the same errors. I have build on a variety of hardware; different motherboards, Pentium 4 CPUs and AMD Athlon XP CPUs. I have used different memory brands and sizes, in different arrangements ranging from 256 MB to 1024MB. I've used different network cards including both the integrated motherboard adapters as well as PCI expansion card adapters. I've searched the Internet for quite some time with no success, but I really hope the problem is something obvious. I had previously built systems almost identical to these with great success. As I'm sure you can imagine, I'm on my edge with this, and I have a tremendous amount of pressure to find a solution ASAP. Thank you very much for you time and ideas, John Holden
Re: [PHP-INSTALL] Problems in installation
Dear Yue Zhang You have download windows installer and execute on your machine. Bcos your PWS is not been linked with PHP Parser. Its available on www.php.net Download windows installer exe file Muralidhar India -- Original Message -- From: Yue Zhang <[EMAIL PROTECTED]> Date: Mon, 12 Jan 2004 23:07:00 -0800 (PST) I try to install Php 4.10 on my win 95 machine. I use php410-installer.exe. Web server is Microsoft PWS on win 9x. When I run script like: It opens a blank screen. "View Source" display script itself. When I run script like: It opens a file download window and then close itself. I check php.ini and set extension_dir to c:\php. But the problems continue as usual. So I need your help to figure out what's wrong. Yue Zhang - Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
[PHP-INSTALL] PHP & Apache2 on OpenBSD
Hello people, Problem ! (aren't they all ?) I'm trying to get PHP working with Apache 2 on OpenBSD. Apache 2 is not supported in the OpenBSD ports so I figured I'd just build it from the standard source distribution. I've done this on Linux and it's never caused me a problem. I have used exactly the same configuration on the OpenBSD build that I have used on Linux. I build Apache with... > ./configure --prefix=/usr/local/apache2 --enable-ssl --with-ssl=/usr/src/openssl/openssl-0.9.7 -enable-mods-shared="libphp4" -enable-modules="access dir mime mime_magic log_config alias negotiation setenvif" > make > make install ...and I build PHP with... > ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars --enable-magic-quotes --enable-debugger --with-mysql=/usr/lib --enable-inline-optimization --without-pear > make > make install There's no hint of a problem with either build and sure enough, Apache runs fine on its own and serves pages with no problems. But if I try and load the libphp4.so module with... LoadModule php4_modulemodules/libphp4.so ...I get nothing ! I try and start apache and it just returns. No tasks, no error log, no core dump, nothing. Absolutely no indication why it fails. And before you ask, yes, all the file permissions are fine - I get error logs when I don't load libphp4.so and I've made sure the core dump directory is writable etc etc. I can load other modules with no problems; I re-jigged the apache config to build 'access' as a module and load this with... LoadModule access_module modules/mod_access.so ...and it works fine. If I try and syntax check the config file with the PHP 'LoadModule' line in (with /usr/local/apache2/bin/httpd -t), it doesn't even return a 'Syntax Ok' message. If I comment out the PHP 'LoadModule' line, I do. If I start apache with the PHP Loadmodule line commented out and then comment the line back in and try and stop apache, it ignores me and carries on running ! It looks like just having the LoadModule php4... line in the config file is killing the apache startup/shutdown stone dead. But I know this doesn't make sense, so it MUST be something to do with the PHP module itself... mustn't it ? The apache config file I'm using is one I've used for ages on Linux and I'm sure it's absolutely fine. If I strip it down to the bare minimum, PHP will still fail to load. Here's such a config file that I've tried... # Apache 2 config ErrorLog logs/error_log LogLevel debug ServerRoot "/usr/local/apache2" User httpd Group httpd PidFile logs/httpd.pid # This next line works fine LoadModule access_module modules/mod_access.so # This next line is causing me grief ! LoadModule php4_modulemodules/libphp4.so Listen 192.168.0.2:80 # End One thing I have noticed is that the libphp4.so built on OpenBSD is significantly smaller than on Linux (3M rather than 4.9M). I've tried to build the PHP module from the OpenBSD ports tree and it builds ok (though it's only just over 1M), but I get exactly the same result when trying to start Apache. I've looked at the OpenBSD resource limits and these shouldn't be causing a problem. If anyone has any idea what's going on (getting some error output would be a start) I'd be very grateful. Alternatively, if anyone has an alternative approach, or a known working solution, I'm willing to give it a go. regards, Rich.
Re: [PHP-INSTALL] PHP & Apache2 on OpenBSD
Re my problem with Apache dying when I try and load the PHP module, it was suggested to me that I should run strace on Apache when it is and isn't trying to load PHP. Thanks to John Holden for the suggestion Well To keep the trace relatively simple, I actually did a ktrace (it's 'ktrace' on OpenBSD, not 'strace') when just asking apache to do a syntax check. The syntax check fails when I include the 'LoadModule libphp4.so' line. So, the command line was: ktrace httpd -t To compare like with like, I ran this with the 'LoadModule access_module' and then again with 'LoadModule php4_module'. This is what I got. When asked to load the PHP module, apache seems to then go and search /usr/lib and /usr/local/lib. I'm assuming it's trying to resolve some dependencies arrising from the PHP module, but I have no idea what they might be. Am I missing some obvious dependencies ? What could apache be looking for ? regards, Rich. = (1) LoadModule access_module ...' --snip-- 218 httpdCALL read(0x5,0x3c0720c8,0x1000) 218 httpdGIO fd 5 read 314 bytes "# Apache 2 config ErrorLog logs/error_log LogLevel debug ServerRoot "/usr/local/apache2" User httpd Group httpd PidFile logs/httpd.pid LoadModule access_module modules/mod_access.so # Dynamic Shared Object (DSO) Support # LoadModule php4_modulemodules/libphp4.so Listen 192.168.0.2:80 # EOF " 218 httpdRET read 314/0x13a 218 httpdCALL sigprocmask(0x1,0x) 218 httpdRET sigprocmask 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x3) 218 httpdRET mprotect 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x1) 218 httpdRET mprotect 0 218 httpdCALL sigprocmask(0x3,0) 218 httpdRET sigprocmask -65793/0xfffefeff 218 httpdCALL sigprocmask(0x1,0x) 218 httpdRET sigprocmask 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x3) 218 httpdRET mprotect 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x1) 218 httpdRET mprotect 0 218 httpdCALL sigprocmask(0x3,0) 218 httpdRET sigprocmask -65793/0xfffefeff 218 httpdCALL sigprocmask(0x1,0x) 218 httpdRET sigprocmask 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x3) 218 httpdRET mprotect 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x1) 218 httpdRET mprotect 0 218 httpdCALL sigprocmask(0x3,0) 218 httpdRET sigprocmask -65793/0xfffefeff 218 httpdCALL sigprocmask(0x1,0x) 218 httpdRET sigprocmask 0 218 httpdCALL mprotect(0x2946f000,0x1000,0x3) 218 httpdRET mprotect 0 218 httpdCALL mprotect(0x2946f000,0x1000,0x1) 218 httpdRET mprotect 0 218 httpdCALL sigprocmask(0x3,0) 218 httpdRET sigprocmask -65793/0xfffefeff 218 httpdCALL stat(0x3c0731f0,0xcfbefc88) 218 httpdNAMI "/usr/local/apache2" 218 httpdRET stat 0 218 httpdCALL sigprocmask(0x1,0x) 218 httpdRET sigprocmask 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x3) 218 httpdRET mprotect 0 218 httpdCALL mprotect(0x3c01f000,0x1000,0x1) 218 httpdRET mprotect 0 218 httpdCALL sigprocmask(0x3,0) 218 httpdRET sigprocmask -65793/0xfffefeff 218 httpdCALL sigprocmask(0x1,0x) 218 httpdRET sigprocmask 0 218 httpdCALL mprotect(0x2946f000,0x1000,0x3) 218 httpdRET mprotect 0 218 httpdCALL mprotect(0x2946f000,0x1000,0x1) 218 httpdRET mprotect 0 218 httpdCALL sigprocmask(0x3,0) 218 httpdRET sigprocmask -65793/0xfffefeff 218 httpdCALL open(0x3c073330,0,0) 218 httpdNAMI "/usr/local/apache2/modules/mod_access.so" 218 httpdRET open 6 218 httpdCALL read(0x6,0xcfbeeb64,0x1000) 218 httpdGIO fd 6 read 4088 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0P --snip-- - binary image data \M-6\0\^A\0\0\M^KM\bQ\M-h\M-i\M-}\M^?\M^?\M^C\M-D\^P\M^E\M-@" 218 httpdGIO fd 6 read 8 bytes "t\^Z\M^C\M-D\M-|W\M^?\M-6" 218 httpdRET read 4096/0x1000 218 httpdCALL mquery(0,0x2000,0x5,0,0x6,0,0,0) 218 httpdRET mquery 123121664/0x756b000 218 httpdCALL mquery(0x2756b000,0x1000,0x1,0x10,0x,0,0,0) 218 httpdRET mquery 659992576/0x2756b000 218 httpdCALL mquery(0x2756c000,0x1000,0x3,0x10,0x,0,0,0) 218 httpdRET mquery 659996672/0x2756c000 218 httpdCALL mquery(0x2756d000,0x1000,0x3,0x10,0x,0,0,0) 218 httpdRET mquery 66768/0x2756d000 218 httpdCALL mquery(0x2756e000,0x1000,0x3,0x10,0x,0,0,0) 218 httpdRET mquery 660004864/0x2756e000 218 httpdCALL mmap(0x756b000,0x2000,0x5,0x12,0x6,0,0,0)
[PHP-INST] libphp4.so--> undefined symbol: uncompress
Hello all, I think I may have an easy to fix problem, but I'm stumped as to what needs to be done. I downloaded Apache 1.3.22 and PHP 4.1.0 today. Built Apache with "./configure --enable-module=so --prefix=/usr/local/apache", and after installing Apache, built PHP with "./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin /apxs". I've changed httpd.conf as needed, and when I start the server I get: [root@gorf lib]# /usr/local/apache/bin/apachectl start Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress /usr/local/apache/bin/apachectl start: httpd could not be started Simply because I saw it in some other postings, (not because I know what it does :) ), I ran: [root@gorf libexec]# ldd -r libphp4.so libdl.so.2 => /lib/libdl.so.2 (0x4013b000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x4013f000) libresolv.so.2 => /lib/libresolv.so.2 (0x4016d000) libpam.so.0 => /lib/libpam.so.0 (0x4017f000) libm.so.6 => /lib/libm.so.6 (0x40187000) libnsl.so.1 => /lib/libnsl.so.1 (0x401aa000) libc.so.6 => /lib/libc.so.6 (0x401c1000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000) undefined symbol: uncompress(./libphp4.so) undefined symbol: compress (./libphp4.so) undefined symbol: ap_block_alarms (./libphp4.so) undefined symbol: ap_unblock_alarms (./libphp4.so) undefined symbol: ap_user_id(./libphp4.so) undefined symbol: ap_server_root(./libphp4.so) undefined symbol: ap_group_id (./libphp4.so) It goes on and on with the 'undefined symbol' errors. Is this something that's missing from /etc/ld.so.conf? I need to add another path? Or something more? Thanks, Mark -- 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]
Re: [PHP-INST] libphp4.so--> undefined symbol: uncompress
That fixed the error. Thank you very much : ) "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote > Try adding --with-zlib to your configure line. -- 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]
[PHP-INSTALL] php_oci8.dll
I'm experiencing a disturbing problem with PHP 4.4.2, Win 2003 Server, Apache 2.0.58 and Oracle 9i. I've installed all the previously listed in a Web Server (though I've installed only the Net Client from Oracle 9i), but somehow there's a problem with the library php_oci8.dll Whenever I start the Apache2 service the following messages are written in Apache's error.log file: PHP Warning: Unknown(): Unable to load dynamic library 'C:\\php\\extensions\\php_oci8.dll' - N\xe3o foi poss\xedvel encontrar o m\xf3dulo especificado.\r\n in Unknown on line 0 [Thu Jul 27 14:49:55 2006] [notice] Apache/2.0.58 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8b PHP/4.4.2 configured -- resuming normal operations [Thu Jul 27 14:49:55 2006] [notice] Server built: Apr 29 2006 17:47:10 [Thu Jul 27 14:49:55 2006] [notice] Parent: Created child process 1460 PHP Warning: Unknown(): Unable to load dynamic library 'C:\\php\\extensions\\php_oci8.dll' - N\xe3o foi poss\xedvel encontrar o m\xf3dulo especificado.\r\n in Unknown on line 0 [Thu Jul 27 14:49:56 2006] [notice] Child 1460: Child process is running [Thu Jul 27 14:49:56 2006] [notice] Child 1460: Acquired the start mutex. [Thu Jul 27 14:49:56 2006] [notice] Child 1460: Starting 250 worker threads. *The message in portuguese means "It wasn't possible to find the specified module." In the php.ini file I've used the following settings: extension_dir = "C:\php\extensions" extension=php_gd2.dll extension=php_java.dll extension=php_ldap.dll extension=php_mbstring.dll extension=php_oci8.dll extension=php_openssl.dll extension=php_pdf.dll extension=php_zip.dll I've tried to copy the php_oci8.dll to the c:\windows\system32 folder but I had no success either. And the environment variable PATH contains the "c:\orant\bin" which contains the libraries used by Oracle to connect to the database. So, php_oci8.dll is the only library which is causing problems and I still couldn't find why. TIA -- Marcos R. Cardoso Seção de Processamento Técnico e Automação Sistema Integrado de Bibliotecas FURB - Blumenau (047) 3321-0660
[PHP-INSTALL] PHP 5.2.0 Setup Error
I get this error message half way through the install. I'm running Windows SBS2003. "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor." It has an OK button which rolls back the install. Please send any solutions or suggestions to [EMAIL PROTECTED]
[PHP-INSTALL] Win2k, IIS5 and PHP 5.2.4 Not working at all!!
Hi all, I’ve just made the mistake of trying to upgrade my PHP from 4.x to 5.2.4. All was working fine under v4, but I needed to install another component and I thought I may as well upgrade to the latest version while I was there. I have Win2k SP4 with IIS5 and I have removed the old version of PHP and have tried installing the latest manually and with the installer. However the installer didn’t work properly and insisted on trying to edit the httpd file (there IS NO httpd file for IIS!!). Now it appears that PHP won’t load at all and all I get from my PHP blog site is "The remote procedure call failed." Any and all help would be very much appreciated!! Thanks, Mark.
[PHP-INSTALL] Installation on XP
I tried for some hours last night to get Apache and PHP working together in a Windows XP machine. Apache 1.3 seems to work and PHP 4.3.4 seems to work, but I still can't open a PHP test file in my web browser. Believe me, I've tried to follow the instructions very carefully -- although the instructions that come with PHP seem *less than precise*. I then tried finding other guides online. They tend to vary but none of the variations seems to do the trick. Here's just one example of the potential for error in "install.txt" that comes with the PHP download: > Just add the following lines to your httpd.conf: > LoadModule php4_module c:/php/sapi/php4apache.dll > AddModule mod_php4.c > AddType application/x-httpd-php .php Where do you add them? Anywhere? Altogether, or each line in a separate location? Can anyone recommend an accurate set of instructions that will apply to XP? Thanks very much. Clive R Sweeney [EMAIL PROTECTED]
[PHP-INSTALL] Buy V�agra and many other medicines here.
No doctor visit needed. Remove. my made and memories for had and sure my You what look issues right guy. my to me been that's collar? a your someone you're although of that's feel someone to just want broke was can (I pot, thought to
[PHP-INSTALL] Installing PHP 4.4.0 on Win 98 with Apache 1.3.33
I had sent the following problem seeking a solution. I am happy to say I have found the solution. Actually, it was due to a foolish mistake - is there any other kind?! - in the HTML test file I had written. There was a hyperlink to the test PHP script: This should be: http://localhost/phpinfo.php>PHP Info And, after the correction, PHP 4.4.0 works fine with Apache 1.3.33 under Win 98. Sorry to have bothered you! m r rao I am trying to install PHP 4.4.0 (php-4.4.0-win32) as a server module under Win 98, to work in tandem with Apache 1.3.33. PHP works fine by itself, as tested by the command in a DOS window: php -i Apache also works fine as the default Apache server page is displayed through IE. But the problem is that they don't work together. A aimple PHP script, phpinfo.php: is displayed as it is i.e. the PHP source is displayed. This problem is described in your INSTALL.html as follows: "Common Problems * If you see the PHP source instead of the result the script should produce, you have probably forgot to edit /etc/conf.d/apache. Apache needs to be started with the -D PHP4 flag. To see if the flag is present, you should be able to see it when using ps ax | grep apache while Apache is running." The solution given is for Unix/Linux. I want a similar solution for Win 98. Can you please help? Thanks! m r rao P.S.: I am attaching the files: autoexec.bat, httpd.conf and php.ini
[PHP-INST] SNMP support not working
Greetings, I have downloaded and compiled the latest source for both UCD-SNMP and PHP. After a "successful" compile of both packages I can use the basic functions of both UCD-SNMP via the provided command line tools and I can get PHP to work with MySQL. When I attempt to run code that worked on PHP 4.0.6 and UCD-SNMP 4.2 I get a "Call to undefined function: snmpget()." Also when looking at phpinfo() I see at the top where it lists out what my configure statement was but down below I find no reference to SNMP anywhere. This also differs from my old PHP 4.0.6 install. I did find a reference on www.php.net to adding a #include to the top of the snmp.c file in the source tree. I did that as well and recompiled but to no avail. Any other ideas. Thanks. Sincerely, Timothy R. Robnett mailto:[EMAIL PROTECTED] http://www.robnett.net/~tim/ *** "Americans are so enamored of equality, that they would rather be equal in slavery than unequal in freedom." Alexis de Tocqueville - Democracy in America Vol. I, 1835 *** -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Bizarre problem.
Hi everybody! Some days ago, I asked about a problem making "configure" in PHP 4.1.1. When I try to configure PHP + Oracle: ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-openssl=/usr/local/ssl --with-zlib=/usr --with-curl=/usr/local --with-oci8=/usr/local/oracle/8.0.5 --with-gd this message appears: | *** ATTENTION ***| || | Something is likely to be messed up here, because the configure| | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | || and if I look the debug.log, the error is: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib conftest.c -lclntsh -lpsa -lcore4 -lnsl -lgd -lcurl -ldl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /usr/bin/ld: cannot find -lm collect2: ld returned 1 exit status Everything looks strange, because I know that libm is in my system (Linux RH 7.2) and the other test (if I look config.log) that used libm didn't have problems. BUT, the other day I used vi to see the debug.log, and the error appears like this: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -lm^M -lnsl -lgd -lcurl -ldl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /usr/bin/ld: cannot find -lm^M collect2: ld returned 1 exit status You will notice that there is a ^M after -lm ! And, of course, ld didn't find -lm^M . :-) Obviously, I edited the configure file, but there's no ^M. Now, the question: somebody had the same problem? Somebody had a solution for this? Somebody can help me?!?!?!? :-) Thanks in advance... -- Andres Plaza R. [EMAIL PROTECTED] http://la.mafia.cl/aplaza -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] RE: [PHP] Bizarre problem.
Hi Mike! On Thu, 21 Feb 2002, Ford, Mike [LSS] wrote: > Well, ^M is a representation of the carriage-return character -- the fact that it's >not being displayed by your editor suggests that, in fact, it *is* a carriage-return >which is being suppressed on the grounds that it's an "invisible" position-control >character. > > Look for an option in your editor to display "invisible" characters, or a handy >utility that will strip out unwanted characters. (Sorry, I'm not a UNIX guru so >can't suggest anything more concrete!) Yep, I know that. I edited the "configure" file in "vi" (the best editor in UNIX :-) ), but the character didn't appear! So I used the "dos2unix" program (that erase the ^M character from the files) but it didn't find nothing. Any other idea? I'm very surprised that the only person with that problem is me... And I don't think I'm soing something very particular. Thanks again... -- Andres Plaza R. [EMAIL PROTECTED] http://la.mafia.cl/aplaza -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Openssl with PHP
On Wed Feb 27, 2002 at 05:12:26PM -0500, Hunter, Ray wrote: > System: RedHat 7.2 > Openssl: openssl-0.9.6c and openssl-engine-0.9.6c > PHP: 4.1.2 > > Has anyone installed openssl with php. I am getting an error where it can > not find the evp.h file. I am wondering if there is a problem with openssl. > I am trying to install snmp with php and it needs openssl for snmp version > 3. > I did this last week on a Trustix 1.5 (think RedHat 6.2 w/security improvments). I also compiled my own version of OpenSSL from source which required updating my OpenSSH as well, from source. I don't know for sure if you will need to do all of this but the key for me was adding --with-openssl=/usr to my ./configure statement. Don't forget to install openssl-devel if you are using the RPM based copy of OpenSSL. Verify in /usr/include/openssl that evp.h exists if it does then the switch above should (cross your fingers) work. As always YMMV :-) Tim -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Newbie question: Version 4.1.2 doesn't show
On Thu Feb 28, 2002 at 09:13:20AM -0800, Michael Chinn wrote: > To all, > > I'm a little new to PHP (and Linux for that matter) so please bear with me. > > I have a current running version of PHP (4.0.4.) that shipped with RedHat > 7.1 > > I read about the security issue so I downloaded the new version (4.1.2), > (php-4.1.2.tar.gz). > > I performed an install (tar xzvf, ./configure, make, and make install) and > the package seemed to install with out any errors. > > However when I bring up the banner from "http://www.domain.com/phpinfo.php > I still get the old version (4.0.4). > > What am I missing? Any pointer would be appreciated. > Have you issued an /etc/rc.d/init.d/httpd restart ? Tim -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Newbie question: Version 4.1.2 doesn't show (still)
On Fri Mar 01, 2002 at 10:27:02AM -0800, Michael Chinn wrote: > Any further ideas? My guess is that you are didn't specify --prefix=/usr (of something along those lines) as a result you are placing your nice, shiny, new binary someplace that apache can't find. Apache then just blindly uses the old binary. Tim -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] why is my php code showing up in my browser?
On Sat Mar 09, 2002 at 01:37:09PM -0500, Allen Smith wrote: > I just got a new server and php isnt doing something right. I uploaded a > vbulletin to the server on a stie that I created there and it doesnt > show...what DOES show is all of the code that is in the hp file...can anyone > help? What does phpinfo() show. Sounds to me like PHP isn't running on the new server. Tim -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] GD/Zlib install problems
On Wed, 13 Mar 2002, [iso-8859-1] Jürgen Schoch wrote: > Date: Wed, 13 Mar 2002 18:54:35 +0100 > From: "[iso-8859-1] Jürgen Schoch" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-INST] GD/Zlib install problems > > Hi there, > I am trying to install GD1.8.4 on a DEC Alpha Tru64 v5.1 with PHP4.1.2 > and Apache 3.1.19 or 3.1.23 > I installed and compiled gd-1.84., zlib-1.1.3, libpng-1.2.1, > freetype-2.0.8. All works fine, gddemo produces nice output While you are at it, install zlib-1.1.4 instead; it fixes a potential security hole in previous versions. Regards, Joe -- _/ _/_/_/ _/ __o _/ _/ _/ _/ __ _-\<,_ _/ _/ _/_/_/ _/ _/ ..(_)/ (_) _/_/ oe _/ _/. _/_/ ah[EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] php.4.1.1 and ldapsdk - why doesn't it work
On Thu, 14 Mar 2002, ZILBER,LEONID (HP-NewJersey,ex1) wrote: > Date: Thu, 14 Mar 2002 08:37:06 -0800 > From: "ZILBER,LEONID (HP-NewJersey,ex1)" <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: [PHP-INST] php.4.1.1 and ldapsdk - why doesn't it work > > Hi guys, > > I am trying to compile php4.1.1 as a DSO module with LDAP support: 4.1.1 has a security hole. Upgrade to 4.1.2. Regards, Joe -- _/ _/_/_/ _/ __o _/ _/ _/ _/ __ _-\<,_ _/ _/ _/_/_/ _/ _/ ..(_)/ (_) _/_/ oe _/ _/. _/_/ ah[EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] prob install gd 1.8.4 jpeg-6b php 4.1.12
On Tue, 19 Mar 2002, Jonathan Ohlrich wrote: > Date: Tue, 19 Mar 2002 16:37:23 -0500 > From: Jonathan Ohlrich <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-INST] prob install gd 1.8.4 jpeg-6b php 4.1.12 > > Freebsd 4.3 > apache 1.3.23 > gd-1.8.4 > jpeg-6b > libpng-1.2.1 > zlib-1.1.3 There is a security risk in using zlib-1.1.3. Upgrade to zlib-1.1.4; it may not solve your immediate problem, but it will save your server in the long run. Regards, Joe -- _/ _/_/_/ _/ __o _/ _/ _/ _/ __ _-\<,_ _/ _/ _/_/_/ _/ _/ ..(_)/ (_) _/_/ oe _/ _/. _/_/ ah[EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] PHP, Apache and threads: very strange
Hi, guys. I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way I've been doing for years, but this time when I start Apache I get the following error message: == Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: Undefined symbol "pthread_getspecific" /apache/bin/apachectl start: httpd could not be started == httpd.conf, line 230 (automatically inserted during PHP build) is: LoadModule php4_modulemodules/libphp4.so PHP Configure command is: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable -ftp --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --enable-tr ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx --enable-debug=no -- enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5 Apache Configure command is: ./configure --enable-module=so --enable-module=unique_id --with-perl=/usr/bi n/perl The OS is: FreeBSD 4.5-RELEASE Could anybody help me? Thanks in advance. Wagner. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-INST] PHP, Apache and threads: very strange
Thanks for your time, Rich. The undefined symbol missing has to do with Posix Threads, not with zlib. Anyway, I installed Apache 1.3.24 and everything is OK now. I think it's because Apache 2 uses threads much more intenselly than older versions, and, as long as I know, Posix Threads are std only in API, not in implementation, and FreeBSD doesn't support then at kernel level... That's it. Cheers, Wagner. PS: thanks for the link. Very useful and probably will avoid some postings from me in the future ;-) > -Original Message- > From: Richard Anglin [mailto:[EMAIL PROTECTED]] > Sent: segunda-feira, 20 de maio de 2002 20:57 > To: Wagner R. Teixeira; [EMAIL PROTECTED] > Subject: Re: [PHP-INST] PHP, Apache and threads: very strange > > > download zlib, install and recompile: > > http://www.faqts.com/knowledge_base/view.phtml/aid/5087 > > -regards > > Rich > - Original Message - > From: "Wagner R. Teixeira" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, May 20, 2002 4:08 PM > Subject: [PHP-INST] PHP, Apache and threads: very strange > > > > Hi, guys. > > > > I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way > I've > > been doing for years, but this time when I start Apache I get the > following > > error message: > > > > == > > Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf: > > Cannot load /usr/local/apache2/modules/libphp4.so into server: > > /usr/local/apache2/modules/libphp4.so: Undefined symbol > > "pthread_getspecific" > > /apache/bin/apachectl start: httpd could not be started > > == > > > > httpd.conf, line 230 (automatically inserted during PHP build) is: > > LoadModule php4_modulemodules/libphp4.so > > > > PHP Configure command is: > > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > --enable-dbase --enable > > -ftp --with-mysql=/usr/local/mysql > --with-pgsql=/usr/local/pgsql --enable- > tr > > > ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx > --enable-debug=no -- > > enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5 > > > > Apache Configure command is: > > > ./configure --enable-module=so --enable-module=unique_id > --with-perl=/usr/bi > > n/perl > > > > The OS is: FreeBSD 4.5-RELEASE > > > > Could anybody help me? > > > > Thanks in advance. > > Wagner. > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Can't get URL or POST variables
i've installed PHP 4.2.1 as CGI with Apache 2.0.39 running under NT 4.0. It is working mostly, since i can run this script: But i can't get the variables passed in via a URL or POST to be set properly. When i run this test script, tst.php: via http://localhost/tst.php?tstvar=tstvalue i get this Notice: Notice: Undefined variable: tstvar in tst.php on line 1 instead of the expected output: tstvalue The same thing happens when i try to POST data into a .php script. Any help would be appreciated! Thanks, ted
Re: [PHP-INST] Re: Can't get URL or POST variables
Thanks Christian. Now i understand why a PHP script worked fine on my ISP but not on my local server. My ISP runs with register_globals=On (probably due to so much confusion in their user base about the 4.0 change). When i get time, i'll rewrite my scripts to handle the (more secure) register_globals=Off setting. --- At 01:43 AM 7/15/02 +0200, Christian Stadler wrote: >Hi, > >http://www.php.net/manual/en/reserved.variables.php >http://www.php.net/manual/en/security.registerglobals.php > >HTH > >Greetz, > >Christian Stadler > >"Ted R Lowe" <[EMAIL PROTECTED]> schrieb im Newsbeitrag >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > i've installed PHP 4.2.1 as CGI with Apache 2.0.39 running under NT 4.0. > > > > It is working mostly, since i can run this script: > > > > > > > > But i can't get the variables passed in via a URL or POST to be set >properly. > > > > When i run this test script, tst.php: > > > > > > > > via http://localhost/tst.php?tstvar=tstvalue > > > > i get this Notice: > > > > Notice: Undefined variable: tstvar in tst.php on line 1 > > > > instead of the expected output: > > > > tstvalue > > > > The same thing happens when i try to POST data into a .php script. > > > > Any help would be appreciated! > > > > Thanks, > > ted > > > > > >-- >PHP Install Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Re: error with pow() after upgrade
Hello Master of PhP, I am a perl hacker, so don´t yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It won´t work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Installing PHP as a CGI Interpreter RedHat7.3 apache 1.3.26
Hello Master of PhP, I am a perl hacker, so don´t yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It won´t work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Installing PHP as a CGI Interpreter RedHat7.3 apache 1.3.26
Hello Master of PhP, I am a perl hacker, so don´t yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It won´t work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] php as CGI and Module
Hello Masters of PhP, one of my clients wants to run php on his server as CGI and as a Module DSO. Who can help me compile How-To? Apache configuring How-To? Oliver Etzel -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Session Handling Issues
System : Freshly installed openBSD 3.2 PHP : 4.2.3 Apache : 1.3.26 Summary of questions asked: -Is the error due to permissions ? -Which user does php use in this case? -What can I do to give apache/php access to write to tmp besides what I have already done? -What service / file do I need to restart or run to activate changes in php.ini? -Is this a known error for Squirrelmail? Have others encountered this before? For reference, I am cross posting a previous post that details many of my php install issues, albeit that I think they are not relative to the problem, one might. That post can be found here (http://www.openbsdforums.org/forums/showthread.php?s=&threadid=5169) Throughout MUCH trial and error I have been succoming to this very very bad error when i access login.php Warning: open(/tmp/sess_7e58f5c69023993bb908c372240be17c, O_RDWR) failed: No such file or directory (2) in /htdocs/squirrelmail/src/global.php on line 134 Upon hitting login I get more, seeming to be more relative to the inital problem. Warning: open(/tmp/sess_18f7a0d772ec65f8b5e41af536ef797a, O_RDWR) failed: No such file or directory (2) in /htdocs/squirrelmail/src/redirect.php on line 47 Warning: open(/tmp/sess_18f7a0d772ec65f8b5e41af536ef797a, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 Now, after MUCH research and heartache and I believe I have isolated the problem to session handling and it seems as if php/www doesn't have access to write to /tmp. For reference, here is my session handling portion of php.ini: [Session] ; Handler used to store/retrieve data. session.save_handler = files ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session functions. session.save_path = /tmp ; Whether to use cookies. session.use_cookies = 1 ; Name of the session (used as cookie name). session.name = PHPSESSID ; Initialize session on request startup. session.auto_start = 0 There is more but in the interests of message size I will omit it. The permissions on /tmp are 777 and owned by root and grouped by wheel. My webuser is www and webgroup is www as well. I was not sure if www was the user/group used by php and if so able to write to /tmp with being owned by root, but for the sake of argument I changed ownership and group both to www. When that did not work, i returned it to normal. Another interesting point is that when i change the save path to something else the error still remains at /tmp, so what do i restart to make the changes take effect, even a reboot did not change it. Please advise! Page can be viewed at www.bezas.com/squirrelmail/ Thanks in advance, Stavros Bezas www.bezas.com
[PHP-INST] secure offerings
We are interested in offering PHP for our students in a secure way, but we also don't want to run PHP in CGI mode. We want to restrict users to use only their own files and probably those in the PEAR and other include directories, but we don't want them to be able to modify those files. Jacob Chandler Computer Services Sam Houston State University [EMAIL PROTECTED]
RE: [PHP-INST] secure offerings
Thanks for the response. However, it seems that Jail only works for users logging into the system through some terminal. We are wanting something that controls the access of their php scripts that are being executed. -Original Message- From: Andres L. Figari [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:37 PM To: Chandler, Jacob R Subject: Re: [PHP-INST] secure offerings you should look into jail this porject makes it easy for linux http://www.gsyc.inf.uc3m.es/~assman/jail/ - Original Message - From: "Chandler, Jacob R" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 31, 2003 12:30 PM Subject: [PHP-INST] secure offerings We are interested in offering PHP for our students in a secure way, but we also don't want to run PHP in CGI mode. We want to restrict users to use only their own files and probably those in the PEAR and other include directories, but we don't want them to be able to modify those files. Jacob Chandler Computer Services Sam Houston State University [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] php4-win32-STABLE-latest Installation Problems
Oddly enough on the first build of this box 6 months or so ago, PHP installed perfectly onto the C: drive. I rebuilt the network, but saved the C drive for later data retrieval and formatting, so another drive was placed into the system and rebuilt under the E: drive. This installation of PHP has been a complete failure. Win2k has been updated ONLY with all service packs from Microsoft. So its a CLEAN OS. The server is the PDC running active directory and IIS. My initial problems were similar to others on here, the php include files would repeat over and over, and I would get an application error of memory could not be read as defined in the current open issue that is still waiting feedback for three days. Your recommendation was to install the newer snapshot, and I did. If I may say the installation instructions are a tad ''confusing'' but I will define the steps I've followed upto now. Extracted all files to E:\PHP Copied php.ini-dist and renamed to php.ini modified extension_dir to extension_dir = e:\PHP Copied DLL's from the E:\PHP\DLLS to E:\WinNT\System32\ TURNED NO EXTENTIONS ON (Want basic running first) modified cgi.force_redirect to cgi.force_redirect = 0 In Internet Service Manager (ISM) made the following modifications to the master properties: Home > Configuration, added .php extension and utilized the e:\php\php.exe Set All Verbs Set Check for existence of file Set execute properties, as well as securities on the folder for the IUSR to have FULL control for the moment. Current Behavior: PHP seems to return NO ERRORS... I'm not even noticing the PHP.exe in the processes. In the source of the outputted page, it SEEMS as if PHP is parsing out everything between the Tags '' but not processing any of the code. All pages show up with HTML but no php execution not even a echo of 'THIS WORKS'. Server Configuration: Win2k Advanced Server OS Installation: Second Drive installation Labeled E:\ PHP Installation: E:\PHP Web server Installation: F:\ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Install Problem
Hello: Trying to install 4.0.4 and am getting the following after typing make: M -DXML_BYTE_ORDER=12 -g -O2 -c microtime.c && touch microtime.lo microtime.c: In function `php_if_getrusage': microtime.c:97: storage size of `usg' isn't known microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function) microtime.c:100: (Each undeclared identifier is reported only once microtime.c:100: for each function it appears in.) microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this function) make[3]: *** [microtime.lo] Error 1 make[3]: Leaving directory `/mnt/scsi-1/Linux/FP2K/www-src/php-4.0.4/ext/standar d' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/scsi-1/Linux/FP2K/www-src/php-4.0.4/ext/standar d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/scsi-1/Linux/FP2K/www-src/php-4.0.4/ext' make: *** [all-recursive] Error 1 How can I fix this to get it to compile?? Thanks, George George, MR. Tibbs & The Beast Kasica Waukesha, WI USA [EMAIL PROTECTED] http://www.netwrx1.com ICQ #12862186 Zz zZ |\ z_,,,---,,_ /,`.-'`'_ ;-;;,_ |,4- ) )-,_..;\ ( `'_' '---''(_/--' `-'\_) -- 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]
[PHP-INST] Install Problem - 2nd Request
Tried with 4.04pl1 and I still get the following after a make: How do I fix this?? George >On Fri, 12 Jan 2001 10:15:23 -0600, George R. Kasica <[EMAIL PROTECTED]> wrote: Hello: Trying to install 4.0.4 and am getting the following after typing make: M -DXML_BYTE_ORDER=12 -g -O2 -c microtime.c && touch microtime.lo microtime.c: In function `php_if_getrusage': microtime.c:97: storage size of `usg' isn't known microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function) microtime.c:100: (Each undeclared identifier is reported only once microtime.c:100: for each function it appears in.) microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this function) make[3]: *** [microtime.lo] Error 1 make[3]: Leaving directory `/mnt/scsi-1/Linux/FP2K/www-src/php-4.0.4/ext/standar d' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/scsi-1/Linux/FP2K/www-src/php-4.0.4/ext/standar d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/scsi-1/Linux/FP2K/www-src/php-4.0.4/ext' make: *** [all-recursive] Error 1 How can I fix this to get it to compile?? Thanks, George ===[George R. Kasica]===+1 262 513 8503 President +1 206 374 6482 FAX Netwrx Consulting Inc. Waukesha, WI USA http://www.netwrx1.com [EMAIL PROTECTED] ICQ #12862186 -- 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]
[PHP-INST] Compilation of 4.0.4pl1 on IRIX 6.5
renced b y .libs/libphp4.a(array.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_assoc_bool" -- 1st referenced by .li bs/libphp4.a(file.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_assoc_long" -- 1st referenced by .li bs/libphp4.a(file.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_assoc_double" -- 1st referenced by . libs/libphp4.a(pack.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "_object_init" -- 1st referenced by .libs /libphp4.a(browscap.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_index_bool" -- 1st referenced by .li bs/libphp4.a(reg.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_index_string" -- 1st referenced by . libs/libphp4.a(image.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_next_index_unset" -- 1st referenced by .libs/libphp4.a(scanf.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: ERROR 33: Unresolved text symbol "add_index_double" -- 1st referenced by . libs/libphp4.a(scanf.o). Use linker option -v to see when and which objects, archives and dsos ar e loaded. ld32: INFO 152: Output file removed because of error. *** Error code 2 (bu21) *** Error code 1 (bu21) -- Kyle R Maxwell [EMAIL PROTECTED] Superpages.com Sys Admin -- 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]
[PHP-INST] building php-4.0.4pl1 on Solaris
I've experienced a number of problems, and have a couple of points to raise: 1. Trying to build with --enable-sockets (Is this is even a good idea?) Solaris' msghdr structures don't normally contain msg_control, msg_controllen and msg_flags. This is a similar situation to that noted in ext/sockets/sockets.c about HP-UX, but requires defining _XPG4_2 for sys/socket.h. Unfortunately that changes many of the normal sockets calls (bind -> __xnet_bind, connect -> __xnet_connect) with a #pragma redefine_extname - meaning that many of the routines defined with PHP_FE() and PHP_FUNCTION() will end up with different names. I suspect this will affect their availability in php programs... Can anyone clarify that? Also, the use of hstrerror() - this function isn't "exported" from Solaris' libresolv.so, even though h_errlist[] is. I hacked in an equivalent function from BIND's code, but this isn't a great solution. 2. --with-mod-dav I've read in the archives of this list that the code doesn't currently work. It might be an idea to disable it in configure.in so that someone can't use it. (I think the reason I had it enabled initially was that "Apache Toolbox" tried to enable it.) James. -- 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]
Re: [PHP-INST] Linking error with Apache/PHP/GD
On Fri 16 Feb, 2001, Eli White <[EMAIL PROTECTED]> wrote: >http://marc.theaimsgroup.com/?l=php-install&m=97059704006322&w=2 no expert at compiling php, but that error looks like you're missing all the png functions yet png was included (-lpng) Perhaps ranlib wasn't run on the png library after copying it into place. (as one would naturally expect the library to contain function names that look like that) A quick check with 'nm' (/usr/ccs/bin/nm) on the libpng.a library (or libpng.so shared object) might give a clue. James. -- 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]
[PHP-INST] php4.0.4pl1 & pgsql7.1b4 compile error
hello. today i've been trying to compile apache 1.3.19, mod_ssl 2.8.1, php 4.0.4pl1, IMAP and pgsql 7.1b4 and have been getting the following error: Making all in pgsql make[2]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' make[3]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' /bin/sh /usr/local/src/TAR/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql -I/usr/local/src/TAR/php-4.0.4pl1/m ain -I/usr/local/src/TAR/php-4.0.4pl1 -I/usr/local/apache-1.3.19/include -I/usr/ local/src/TAR/php-4.0.4pl1/Zend -I/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150 052/c-client -I/usr/local/include -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expa t/xmltok -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/s rc/TAR/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c pgsql. c In file included from php_pgsql.h:33, from pgsql.c:29: /usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such file or directory make[3]: *** [pgsql.lo] Error 1 make[3]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext' make: *** [all-recursive] Error 1 bash$ i configured php using the following: ./configure --with-apxs=/usr/local/apache-1.3.19/bin/apxs --with-imap=/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150052 --with-mm=/usr/local/ --with-pgsql=/usr/local/pgsql --without-mysql i believe that possible adding the path to this ssl.h would help ex. -I/usr/local/ssl/include/openssl in the compile command. i attempted to add this to the line which failed but this threw even more errors. does anyone have any suggestions?? thx. -- mike hanulechttp://www.hanulec.com aol im: hanulec EFnet irc: hanulec -- 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]
Re: [PHP-INST] php4.0.4pl1 & pgsql7.1b4 compile error
i also failed to mention i'm attempting this compile on a linux box originally based on Red Hat 6.2 -- mike hanulechttp://www.hanulec.com aol im: hanulec EFnet irc: hanulec On Fri, 16 Mar 2001, Michael R Hanulec wrote: > hello. > > today i've been trying to compile apache 1.3.19, mod_ssl 2.8.1, php > 4.0.4pl1, IMAP and pgsql 7.1b4 and have been getting the following error: > > > Making all in pgsql > make[2]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > make[3]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > /bin/sh /usr/local/src/TAR/php-4.0.4pl1/libtool --silent --mode=compile > gcc -I. > -I/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql > -I/usr/local/src/TAR/php-4.0.4pl1/m > ain -I/usr/local/src/TAR/php-4.0.4pl1 -I/usr/local/apache-1.3.19/include > -I/usr/ > local/src/TAR/php-4.0.4pl1/Zend > -I/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150 > 052/c-client -I/usr/local/include > -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expa > t/xmltok -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expat/xmlparse > -I/usr/local/s > rc/TAR/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=22 > -DMOD_SSL=208101 > -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c > pgsql. > c > In file included from php_pgsql.h:33, > from pgsql.c:29: > /usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such file or > directory > make[3]: *** [pgsql.lo] Error 1 > make[3]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext' > make: *** [all-recursive] Error 1 > bash$ > > > i configured php using the following: > > > ./configure > --with-apxs=/usr/local/apache-1.3.19/bin/apxs > --with-imap=/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150052 > --with-mm=/usr/local/ --with-pgsql=/usr/local/pgsql --without-mysql > > > i believe that possible adding the path to this ssl.h would help > > ex. -I/usr/local/ssl/include/openssl > > in the compile command. i attempted to add this to the line which failed > but this threw even more errors. > > does anyone have any suggestions?? thx. > > -- > mike hanulec http://www.hanulec.com > aol im: hanulec EFnet irc: hanulec > > > > > -- > 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] > > -- 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]
Re: [PHP-INST] php4.0.4pl1 & pgsql7.1b4 compile error
i tried that.. but still no dice. i also tried build a static version of the php binary but i got the following error upon performing a 'make' on the apache 1.3.19 directory: ===> src/modules/php4 make[4]: *** No rule to make target `all'. Stop. make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/local/src/TAR/apache_1.3.19/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/src/TAR/apache_1.3.19' make: *** [build] Error 2 a 'make clean' on the apache directory also creates the following error: ===> src/modules/php4 make[4]: *** No rule to make target `clean'. Stop. make[3]: *** [clean] Error 1 make[2]: *** [clean] Error 1 make[2]: Leaving directory `/usr/local/src/TAR/apache_1.3.19/src' make[1]: *** [clean-std] Error 2 make[1]: Leaving directory `/usr/local/src/TAR/apache_1.3.19' make: *** [clean] Error 2 possibly my problem is that i have a previous install of php (4.0 beta) installed on this machine. for the record, the apache and the php directories are fresh from tar archives. also, more importantly, i would like to have the DSO install work which was outputting the following error upon 'apachectl startssl' (or even just 'apachectl start'): Syntax error on line 207 of /usr/local/apache-1.3.19/conf/httpd.conf: Cannot load /usr/local/apache-1.3.19/libexec/libphp4.so into server: /usr/local/apache-1.3.19/libexec/libphp4.so: undefined symbol: PQoidValue /usr/local/apache-1.3.19/bin/apachectl startssl: httpd could not be started pls help. -- mike hanulechttp://www.hanulec.com aol im: hanulec EFnet irc: hanulec On Sat, 17 Mar 2001, Jani Taskinen wrote: > > Try adding '--with-openssl=/path/to/openssl/' into your configure line. > > --Jani > > > On Fri, 16 Mar 2001, Michael R Hanulec wrote: > > > > >i also failed to mention i'm attempting this compile on a linux box > >originally based on Red Hat 6.2 > > > >-- > >mike hanulec http://www.hanulec.com > >aol im: hanulec EFnet irc: hanulec > > > >On Fri, 16 Mar 2001, Michael R Hanulec wrote: > > > >> hello. > >> > >> today i've been trying to compile apache 1.3.19, mod_ssl 2.8.1, php > >> 4.0.4pl1, IMAP and pgsql 7.1b4 and have been getting the following error: > >> > >> > >> Making all in pgsql > >> make[2]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > >> make[3]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > >> /bin/sh /usr/local/src/TAR/php-4.0.4pl1/libtool --silent --mode=compile > >> gcc -I. > >> -I/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql > >> -I/usr/local/src/TAR/php-4.0.4pl1/m > >> ain -I/usr/local/src/TAR/php-4.0.4pl1 -I/usr/local/apache-1.3.19/include > >> -I/usr/ > >> local/src/TAR/php-4.0.4pl1/Zend > >> -I/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150 > >> 052/c-client -I/usr/local/include > >> -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expa > >> t/xmltok -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expat/xmlparse > >> -I/usr/local/s > >> rc/TAR/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=22 > >> -DMOD_SSL=208101 > >> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c > >> pgsql. > >> c > >> In file included from php_pgsql.h:33, > >> from pgsql.c:29: > >> /usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such file or > >> directory > >> make[3]: *** [pgsql.lo] Error 1 > >> make[3]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > >> make[2]: *** [all-recursive] Error 1 > >> make[2]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext' > >> make: *** [all-recursive] Error 1 > >> bash$ > >> > >> > >> i configured php using the following: > >> > >> > >> ./configure > >> --with-apxs=/usr/local/apache-1.3.19/bin/apxs > >> --with-imap=/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150052 > >> --with-mm=/usr/local/ --with-pgsql=/usr/local/pgsql --without-mysql > >> > >> > >> i believe that possible adding the path to this ssl.h would help > >> > >> ex. -I/usr/local/ssl/include/openssl > >> > >> in the compile command
Re: [PHP-INST] php4.0.4pl1 & pgsql7.1b4 compile error
argh! i just figured it out. i build my latest pgsql beta in a different directory then /usr/local/pgsql thus after updating my ld.so.conf and running ldconfig things are working.. unfortunately this doesn't solve my static apache compile issues though. any thoughs?? -- mike hanulechttp://www.hanulec.com 516.410.4478 [EMAIL PROTECTED] aol im: hanulec EFnet irc: hanulec -- 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]
Re: [PHP-INST] php4.0.4pl1 & pgsql7.1b4 compile error
actually .. i was wrong.. it still doesn't work: sudo /usr/local/apache-1.3.19/bin/apachectl startssl Syntax error on line 207 of /usr/local/apache-1.3.19/conf/httpd.conf: Cannot load /usr/local/apache-1.3.19/libexec/libphp4.so into server: /usr/local/apache-1.3.19/libexec/libphp4.so: undefined symbol: PQoidValue /usr/local/apache-1.3.19/bin/apachectl startssl: httpd could not be started -- mike hanulechttp://www.hanulec.com 516.410.4478 [EMAIL PROTECTED] aol im: hanulec EFnet irc: hanulec On Sun, 18 Mar 2001, Michael R Hanulec wrote: > > argh! i just figured it out. i build my latest pgsql beta in a different > directory then /usr/local/pgsql thus after updating my ld.so.conf and > running ldconfig things are working.. > > unfortunately this doesn't solve my static apache compile issues though. > any thoughs?? > > -- > mike hanulec http://www.hanulec.com > 516.410.4478 [EMAIL PROTECTED] > aol im: hanulec EFnet irc: hanulec > > > > -- > 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] > > -- 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]
[PHP-INST] AIX problem - *.lo contains an incorrect file suffix
I've read through all the AIX problem posts on this site, but none help. I was hoping things would work for me as they did for Mr. Champagne, but alas I'm still having problems during the "make" command. AIX: 4.3.3 Apache 1.3.20 Perl 5.6.0 Tying to install PHP 4.0.6 make goes into "." with the message: "Making all in . " . . . and give me a few screens full of "...lo contains an incorrect file suffix" (all the dots are names of files that end in .lo) The last line says "Command option l is missing a subargument" Then there's a couple of error codes: 40 and 1 I'd appreciate any kind of help. -- 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]
[PHP-INST] Problem with ld and -lm option.
Hi everybody! I was looking the archive of this mailing list, and I think nobody has the same problem that I had, so here it is: I have a dual processor (Pentium III 1 GHz each) DELL Poweredge machine with 1Gb RAM. I installed RH 7.2 with a custom instalation, but generally speaking everything that is needed in a server is installed. I compiled Apache 1.3.22 + mod_ssl without problems, and now I'm trying to install PHP 4.1.1 with this configuration: ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-openssl=/usr/local/ssl --with-zlib=/usr --with-curl=/usr/local --with-oci8=/usr/local/oracle/8.0.5 --with-gd but this message appears: | *** ATTENTION ***| || | Something is likely to be messed up here, because the configure| | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | and if I look the debug.log : CONFIGURE: './configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--with-openssl=/usr/local/ssl' '--with-zlib=/usr' '--with-curl=/usr/local' '--with-oci8=/usr/local/oracle/8.0.5' '--with-gd' CC: gcc CFLAGS: -g -O2 CPPFLAGS:-DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI CXX: CXXFLAGS: INCLUDES:-I/usr/local/apache/include -I$(top_builddir)/Zend -I/usr/local/ssl/include -I/usr/local/include -I/home/apl/comp/php-4.1.1/ext/mysql/libmysql -I/usr/local/oracle/8.0.5/rdbms/public -I/usr/local/oracle/8.0.5/rdbms/demo -I/usr/local/oracle/8.0.5/network/public -I/usr/local/oracle/8.0.5/plsql/public LDFLAGS: -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib LIBS: -lclntsh -lpsa -lcore4 -lnlsrtl3 -lm -lnsl -lgd -lcurl -ldl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt DLIBS: SAPI: apache PHP_RPATHS: /usr/local/ssl/lib /usr/local/lib /usr/local/oracle/8.0.5/lib uname -a: Linux escuela.ing.uchile.cl 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -lm -lnsl -lgd -lcurl -ldl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /usr/bin/ld: cannot find -lm collect2: ld returned 1 exit status But if I look for libm.*, they are in /usr/lib (libm.a, and libm.so is a symbolic link to an existing file in /lib). Somebody have an idea about my problem, and how to solve it? Thanks in advance... -- Andres Plaza R. [EMAIL PROTECTED] http://la.mafia.cl/aplaza -- 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]
[PHP-INST] maybe trivial (?): apxs doesn't create libphp4.so under AIX 4.3.3
Hi php4-Installers, what reason might cause the subject above ? We have installed (and working well): o gcc version 2.95.3 20010315 (release) o perl, version 5.003 with EMBED built under aix o OpenSSL 0.9.6 o mm-1.1.3 o Apache-1.3.23 configured with: time CC=gcc CFLAGS=-O ./configure \ --prefix=/pd/apache_1.3.23 \ --enable-module=rewrite \ --enable-shared=rewrite (with compiled-in modules mod_so.c - and mod_ssl.c ...) o mod_ssl-2.8.6-1.3.23 configured with: CC=gcc CFLAGS=-O ./configure \ --prefix=/pd/apache_1.3.23 \ --with-apache=/pd/apache_1.3.23 \ --with-ssl=/pd/openssl \ --with-mm=/pd/mm-1.1.3 \ --with-crt=/pd/openssl/certs/mail_cert.pem \ --enable-module=most \ --enable-module=ssl \ --enable-shared=rewrite o gmake - GNU Make version 3.79.1 built for powerpc-ibm-aix4.3.3.0 o php-4.1.1 configured as: time CC=gcc CFLAGS=-O ./configure \ --prefix=/pd/php-4.1.1 \ --with-apxs=/pd/apache_1.3.23/bin/apxs ... done well: ++ |*** WARNING *** | | You chose to compile PHP with the built-in MySQL support. If you | are compiling a server module, and intend to use other server | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | instead build it with your local MySQL support files, by adding | --with-mysql=/path/to/mysql to your configure line. ++ | License: | This software is subject to the PHP License, available in this | distribution in the file LICENSE. By continuing this installation | process, you are bound by the terms of this license agreement. | If you do not agree with the terms of this license, you must abort | the installation process at this point. ++ Thank you for using PHP. real29m48.27s (!) user1m6.67s sys 4m10.69s o gmake ... ok o gmake install ... ending with: . . . Making install in . gmake[1]: Entering directory `/appl/pd/php-4.1.1' /pd/apache_1.3.23/bin/apxs -i -a -n php4 libs/libphp4.so [activating module `php4' in /pd/apache_1.3.23/conf/httpd.conf] cp libs/libphp4.so /pd/apache_1.3.23/libexec/libphp4.so cp: libs/libphp4.so: No such file or directory apxs:Break: Command failed with rc=1 gmake[1]: *** [install-sapi] Error 1 gmake[1]: Leaving directory `/appl/pd/php-4.1.1' gmake: *** [install-recursive] Error 1 root@mail:/pd/php-4.1.1# So, no libphp4.so on the system. Considering we have the products (in most cases the up-to-date versions) it must be some obvious problem - but I have no idea. Thanks for help in advance, Erwin -- Dipl.-Ing. Erwin SRUBAR Zentraler Informatikdienst, Bereich ,,Zentrale Services`` Technische Universitaet Wien, Wiedner Hauptstrasse 8-10 Turm C (Roter Trakt), 2.Stk., Zi.DC02O08 A-1040 Wien, OeSTERREICH Mail:[EMAIL PROTECTED] Tel: (++43 1) 588-01/42084, Fax: (++43 1) 588-01/42099 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php