php-windows Digest 30 Nov 2005 00:05:00 -0000 Issue 2839
Topics (messages 26545 through 26550):
Re: Changes to php.ini file have no effect
26545 by: Jim McDonald
26548 by: Charlie Wong
Custom PHP extensions not woring on windows 2003 server
26546 by: David Felton
26547 by: David Felton
26549 by: Charlie Wong
Re: Decryption
26550 by: DvDmanDT
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]
----------------------------------------------------------------------
--- Begin Message ---
Definitely check the phpinfo() to verify that your path to the php.ini
file is valid. PHP loads with default values in the event it cannot
find php.ini. In windows, it looks in C:\Windows as the default
directory. If, like me, you don't like moving your PHP files around,
then you will need to set an Environment Variable PHPRC with the correct
path -- especially useful if you have your web site on a different
drive.
-jim
-----Original Message-----
From: Wayne Khan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 4:19 AM
To: [email protected]
Subject: RE: [PHP-WIN] Changes to php.ini file have no effect
You can use phpinfo() and look for the entry "Configuration File
(php.ini) Path"... Not sure if an error or hacker can do so, but maybe
its possible.
Windows Apache runs PHP as as a module; have you tried simply restarting
the webserver?
Wayne
-----Original Message-----
From: Charlie Wong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 29 November 2005 8:44 AM
To: [email protected]
Subject: [PHP-WIN] Changes to php.ini file have no effect
Hi Everyone, please excuse me if this post breaks protocols in any way,
since I'm new to this.
I've been running a php-nuke site for some time, but recently it started
acting funny. I made some changes to my php.ini, but discovered that
changes have no effect. Even if I delete the php.ini from my windows
directory and the php directory, there is no effect. Is there some
chance that a variable somewhere, possibly changed by an error or a
hacker, now points to a hidden php.ini file somewhere?
I'm running Apache and PHP 4.3 on Windows XP Pro.
Thanks, Charlie
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Thank you.
I checked, and my phpinfo says my ini file should be in c:\php and
that's where it is. Furthermore, and this is confusing me, when I look
at PHP info it says for example that Display_Errors is on, but when I
look in the ini file it is clearly off. Restarting Apache and restarting
the whole machine has no effect on this. Also, it says sendmail_from is
not set, and it definitely is set.
Any further suggestions?
Jim McDonald wrote:
Definitely check the phpinfo() to verify that your path to the php.ini
file is valid. PHP loads with default values in the event it cannot
find php.ini. In windows, it looks in C:\Windows as the default
directory. If, like me, you don't like moving your PHP files around,
then you will need to set an Environment Variable PHPRC with the correct
path -- especially useful if you have your web site on a different
drive.
-jim
-----Original Message-----
From: Wayne Khan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 4:19 AM
To: [email protected]
Subject: RE: [PHP-WIN] Changes to php.ini file have no effect
You can use phpinfo() and look for the entry "Configuration File
(php.ini) Path"... Not sure if an error or hacker can do so, but maybe
its possible.
Windows Apache runs PHP as as a module; have you tried simply restarting
the webserver?
Wayne
-----Original Message-----
From: Charlie Wong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 29 November 2005 8:44 AM
To: [email protected]
Subject: [PHP-WIN] Changes to php.ini file have no effect
Hi Everyone, please excuse me if this post breaks protocols in any way,
since I'm new to this.
I've been running a php-nuke site for some time, but recently it started
acting funny. I made some changes to my php.ini, but discovered that
changes have no effect. Even if I delete the php.ini from my windows
directory and the php directory, there is no effect. Is there some
chance that a variable somewhere, possibly changed by an error or a
hacker, now points to a hidden php.ini file somewhere?
I'm running Apache and PHP 4.3 on Windows XP Pro.
Thanks, Charlie
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi guys. I have a custom-written PHP extension which is working great on my
windows 2000 test server. When I try and run it on the windows 2003 server
production server the extension faisl to load. I get a message along the lines
of
Application popup: Warning : Unknown(): Unable to load dynamic library
'c:\php\extensions\php_SCOGPAAK.dll' - The specified module could not be found.
In the event viewer. The standard extensions that come with PHP work fine
however.
Can anyone shed any light on this?
Many thanks.
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
--- End Message ---
--- Begin Message ---
During my Googling I've read a lot about people having problems with Mysql and
PHP 5, due to the built in support for MySQl being removed. I don't think this
is the same issue. Thanks.
-----Original Message-----
From: Nico [mailto:[EMAIL PROTECTED]
Sent: 29 November 2005 4:21
To: David Felton
Subject: Re: [PHP-WIN] Custom PHP extensions not woring on windows 2003
server
2005/11/29, David Felton <[EMAIL PROTECTED]>:
> Application popup: Warning : Unknown(): Unable to load dynamic library
> 'c:\php\extensions\php_SCOGPAAK.dll' - The specified module could not be
> found.
It's not your specific extensions. It happens me too with my XP with
some standart dll (but not with all !!!)
i.e. mail of S. Kang at 28/10 :
"PHP-WIN] PHP 5.1 no longer connect to MySQL 5.0.15 using php_mysql.dll?"
I dont have the solution yet, but if someone have it, i'm interesting too ;-)
Maybe your version of Apache AND/OR PHP ?
i tried with Apache 2.0.54 and PHP4.41, 5.0.5, and since this morning
with 5.1.1 the same...
--
nico
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
--- End Message ---
--- Begin Message ---
I experimented with an install of PHP 5.1 and had the same problem. It
would not load the mysql extension. I had to revert back to PHP 4.3
(which is having it's own problems).
David Felton wrote:
During my Googling I've read a lot about people having problems with Mysql and
PHP 5, due to the built in support for MySQl being removed. I don't think this
is the same issue. Thanks.
-----Original Message-----
From: Nico [mailto:[EMAIL PROTECTED]
Sent: 29 November 2005 4:21
To: David Felton
Subject: Re: [PHP-WIN] Custom PHP extensions not woring on windows 2003
server
2005/11/29, David Felton <[EMAIL PROTECTED]>:
Application popup: Warning : Unknown(): Unable to load dynamic library
'c:\php\extensions\php_SCOGPAAK.dll' - The specified module could not be found.
It's not your specific extensions. It happens me too with my XP with
some standart dll (but not with all !!!)
i.e. mail of S. Kang at 28/10 :
"PHP-WIN] PHP 5.1 no longer connect to MySQL 5.0.15 using php_mysql.dll?"
I dont have the solution yet, but if someone have it, i'm interesting too ;-)
Maybe your version of Apache AND/OR PHP ?
i tried with Apache 2.0.54 and PHP4.41, 5.0.5, and since this morning
with 5.1.1 the same...
--
nico
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
--- End Message ---
--- Begin Message ---
.. What exactly are you trying to do? If you are trying to decrypt user
input, then no, it's not going to work.. You'll have to read the input
first, then pass that to mcrypt_decrypt, then write that to your outfile..
--
// DvDmanDT
mail: dvdmandt¤telia.com
msn: dvdmandt¤hotmail.com
"kumar kumar" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi
>
> Is this Code will work for Decryption
>
> $key = md5($_REQUEST['KEY'});
> $fp = fopen($fname,"w");
> $getdata = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key,
> fopen("php://input", "r"),MCRYPT_MODE_ECB);
>
> while(!feof($getdata)){
>
> $data = fread($getdata, 2048);
> fwrite($fp,$data);
>
> }
> Any Modifications Needed
> With Regards
> Kumar
>
>
>
>
>
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
--- End Message ---