[PHP] php and mcrypt on windows
How I can use php and mcrypt on windows? I mean. What I have to do to turn php able to use mcrypt function on windows. Thanks
Re: [PHP] php and mcrypt on windows
Please RTFM before asking questions! http://php.net/mcrypt answers your question. Gilberto Garcia Jr. wrote: How I can use php and mcrypt on windows? I mean. What I have to do to turn php able to use mcrypt function on windows. Thanks -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php with mcrypt
Hey guys, How can I enable php to work with mcrypt functions? I´m using debian woody linux. I´ve had installed libmcrypt already, from debian cds. But I dont know how to make php understands this lib. thanks --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 25/03/03 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php and mcrypt
I'm trying to get mcrypt to work with php, but haven't been able to reconfigure php to work with it. I'm using the version of php that came with Mandrake 8.0 and I have downloaded and installed the 2.5.7-1 mdk rpm of mcrypt. So now I should cd into my php directory and reconfigure php to work with mcrypt like this: ./ configure --with-mcrypt make make install Right? But this isn't working and I think the problem may be something as dumb as that I don't have the right directory. All I get is a message that there is no such directory when I run the command. As far as I can tell php is installed in /usr/bin and that is the directory I tried. There is not a php directory there though, but a php executable file. How do I find the right directory? Anything else I have to do to get this working? Thanks SW -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php and mcrypt
Hi Scott, @ 4:13:46 PM on 11/2/2001, Scott wrote: I'm trying to get mcrypt to work with php, but haven't been able to reconfigure php to work with it. I'm using the version of php that came with Mandrake 8.0 and I have downloaded and installed the 2.5.7-1 mdk rpm of mcrypt. So now I should cd into my php directory and reconfigure php to work with mcrypt like this: ./ configure --with-mcrypt ^^ is there really a space between ./ and configure? Try ./configure And for mcrypt, try either --with-mcrypt=/usr or --with-mcrypt=/usr/local make make install -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php and mcrypt
Hi Scott, @ 4:13:46 PM on 11/2/2001, Scott wrote: As far as I can tell php is installed in /usr/bin and that is the directory I tried. There is not a php directory there though, but a php executable file. How do I find the right directory? Anything else I have to do to get this working? D'oh, ignore my last message. Does /usr/bin/php exist? $ ls /usr/bin/php or $ ls `which php` If not you may have it installed as an apache module, too. Try this: $ updatedb $ locate *php*so If that gets you nothing try: $ `which httpd` -l | grep php In any case, in order to build php yourself (ie. ./configure) you need to download the source tarball (tar.gz) from php.net. You're using KMail so I'm assuming your web server is running Linux. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] php and mcrypt
This is my output from $ locate *php*so: /usr/lib/apache-extramodules/libphp4.so /usr/lib/php/extensions/dba_gdbm_db3.so /usr/lib/php/extensions/gd.so /usr/lib/php/extensions/imap.so /usr/lib/php/extensions/ldap.so /usr/lib/php/extensions/mysql.so /usr/lib/php/extensions/pgsql.so /usr/lib/php/extensions/readline.so /usr/lib/php/extensions/tclink.so /usr/lib/libphp_common.so This is the rpm install of php that came with M8.0. Which is the real php directory? Can it be reconfigured with mcrypt? Thanks, SW -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php and mcrypt
Hi Scott, @ 5:01:43 PM on 11/2/2001, Scott wrote: This is my output from $ locate *php*so: /usr/lib/apache-extramodules/libphp4.so /usr/lib/php/extensions/dba_gdbm_db3.so /usr/lib/php/extensions/gd.so /usr/lib/php/extensions/imap.so /usr/lib/php/extensions/ldap.so /usr/lib/php/extensions/mysql.so /usr/lib/php/extensions/pgsql.so /usr/lib/php/extensions/readline.so /usr/lib/php/extensions/tclink.so /usr/lib/libphp_common.so This is the rpm install of php that came with M8.0. Which is the real php directory? Can it be reconfigured with mcrypt? Locate your Apache httpd.conf file and look for the LoadModule entry for libphp4. If that is in fact enabled (uncommented) and PHP is working (In other words, ?php phpinfo(); ? in a .php file works) then you should be able to download the source for PHP 4 and build it using $ apachectl stop $ mv /usr/lib/apache-extramodules/libphp4.so \ /usr/lib/apache-extramodules/libphp4.so.bak $ ./configure --with-apxs [other options here] $ make $ make install $ apachectl start to upgrade the module located in /usr/lib/apache-extramodules If apache fails to start then revert to your old libphp4: $ mv /usr/lib/apache-extramodules/libphp4.bak \ /usr/lib/apache-extramodules/libphp4.so -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php and mcrypt
@ 6:28:08 PM on 11/2/2001, Brian Clark wrote: If apache fails to start then revert to your old libphp4: $ mv /usr/lib/apache-extramodules/libphp4.bak \ /usr/lib/apache-extramodules/libphp4.so Sorry, make that: $ mv /usr/lib/apache-extramodules/libphp4.so.bak \ /usr/lib/apache-extramodules/libphp4.so In case you cut and paste.. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]