Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- From: "Philip Olson" <philipolson@xxxxxxxxx>
- Date: 26 Apr 2005 12:54:43 -0700
The manual explains how to set the location of php.ini so have another
look.
* http://php.net/manual/en/install.windows.manual.php
I suggest you set PHPRC. The docs do not say php.ini is looked for in
PATH, so, this is indeed the main issue here.
Regarding that user comment, it was read wrong. They did not mean set
the extension directive. To make things simple, ignore that user
comment (in fact, I just deleted it ;-)
I can't fully decipher your php.ini but you do want this:
extension_dir = "c:\php\ext"
The fact that the php.ini location says "C:\WINDOWS" is telling us that
php.ini is not being read at all. It looked in the various places as
mentioned in the documentation and could not find a php.ini and
C:\WINDOWS is the last location it looked. So, all default values are
used as no php.ini is being read.
.
- Follow-Ups:
- Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- From: Clifford Racz
- Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- References:
- Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- From: Clifford Racz
- Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- From: Philip Olson
- Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- From: Clifford Racz
- Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- Prev by Date: Re: PHP vs. Perl
- Next by Date: Re: PHP variables are always empty
- Previous by thread: Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- Next by thread: Re: Call to undefined function mcrypt_module_open() in PHP5 on Windows 2003
- Index(es):