php-windows Digest 4 Nov 2004 03:11:18 -0000 Issue 2453
Topics (messages 24873 through 24880):
Re: apache config question
24873 by: Luis Moreira
Cannot load the mysql library
24874 by: Rafael Soares
24875 by: Rafael Soares
24876 by: Murray . PlanetThoughtful
24877 by: Rafael Soares
24878 by: Murray . PlanetThoughtful
24879 by: Rafael Soares
Headers Already Sent - How To Overcome????
24880 by: MikeA
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 ---
phpWalter wrote:
How do I set up permission to access folders and not only specific files
in these folders with apache...? I can't find the correct line in
httpd.conf
Folder and file access is controled at the OS level.
Walter
No it isn't.
Or better, it is, but that is not relevant here.
You can set permissions for files and directories with APACHE, using
"allow/deny" directives, and using "require user" directives.
With this one, if set up, when someone tries to access a directory (for
example) they will be asked to give a username and password, that you
previously define, and access if they get it right.
Only thing is, this is an APACHE issue, not a PHP one.
Luis
--- End Message ---
--- Begin Message ---
Hello people!
I�m using PHP 5.0.2, IIS 5.1 running on WinXP Pro.
But the installer for IIS don�t install the MySQL functions library and,
after installing the MYSQLX.exe
(http://dev.mysql.com/get/Downloads/Contrib/MYSQLX.EXE/from/pick), I copied
the php_mysql.dll from the PHP 5.0.2 ZIP file to the extensions directory
(php/ext/) and uncommented the line �extension=php_mysql.dll� in php.ini.
When I open the page, I receive the message: �PHP Startup: Unable to load
dynamic library �./ext/php/_mysql.dll� � Can�t find the specified module�. I
don�t know if this is the exact message, because the original is in
Portuguese: �(�) � N�o foi poss�vel encontrar o m�dulo especificado�.
Note: I have the php_gd2.ddl library installed in the same place and it�s
working well, so the path is correct.
I�ve exhausted my possibilities and can�t wonder what is wrong� Please
somebody help me!
Tks
Rafael | Ag�nciaM
Fone: +55 |11| 4616-1394
--- End Message ---
--- Begin Message ---
Restarted IIS, restarted the computer and so on... And many times!
-----Mensagem original-----
De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 3 de novembro de 2004 12:13
Para: 'Rafael Soares'; [EMAIL PROTECTED]
Assunto: RE: [PHP-WIN] Cannot load the mysql library
> When I open the page, I receive the message: �PHP Startup: Unable to load
> dynamic library �./ext/php/_mysql.dll� � Can�t find the specified module�.
> I
> don�t know if this is the exact message, because the original is in
> Portuguese: �(�) � N�o foi poss�vel encontrar o m�dulo especificado�.
It's probably a little obvious, but just to make sure: did you restart IIS
after copying the dll and uncommenting the line in the ini file?
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.
--- End Message ---
--- Begin Message ---
> Restarted IIS, restarted the computer and so on... And many times!
>
> > When I open the page, I receive the message: �PHP Startup: Unable to
> load
> > dynamic library �./ext/php/_mysql.dll� � Can�t find the specified
> module�.
> > I
> > don�t know if this is the exact message, because the original is in
> > Portuguese: �(�) � N�o foi poss�vel encontrar o m�dulo especificado�.
>
> It's probably a little obvious, but just to make sure: did you restart IIS
> after copying the dll and uncommenting the line in the ini file?
Hi Rafael -- hmmm, is it a typing error that you have an extra "/" character
in the dll name?
Can you make sure that in your php.ini file you have it as "php_mysql.dll"
and not "php/_mysql.dll" as it appears above in your message?
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.
--- End Message ---
--- Begin Message ---
I�m sorry, it was a typing error in the e-mail. :]
Here is the error message *as it appears in the page*:
PHP Warning: PHP Startup: Unable to load dynamic library
'./ext/php_mysql.dll' - N�o foi poss�vel encontrar o m�dulo especificado. in
Unknown on line 0
-----Mensagem original-----
De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 3 de novembro de 2004 12:54
Para: 'Rafael Soares'; [EMAIL PROTECTED]
Assunto: RE: [PHP-WIN] Cannot load the mysql library
> Restarted IIS, restarted the computer and so on... And many times!
>
> > When I open the page, I receive the message: �PHP Startup: Unable to
> load
> > dynamic library �./ext/php/_mysql.dll� � Can�t find the specified
> module�.
> > I
> > don�t know if this is the exact message, because the original is in
> > Portuguese: �(�) � N�o foi poss�vel encontrar o m�dulo especificado�.
>
> It's probably a little obvious, but just to make sure: did you restart IIS
> after copying the dll and uncommenting the line in the ini file?
Hi Rafael -- hmmm, is it a typing error that you have an extra "/" character
in the dll name?
Can you make sure that in your php.ini file you have it as "php_mysql.dll"
and not "php/_mysql.dll" as it appears above in your message?
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.
--- End Message ---
--- Begin Message ---
> I�m sorry, it was a typing error in the e-mail. :]
>
> Here is the error message *as it appears in the page*:
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> './ext/php_mysql.dll' - N�o foi poss�vel encontrar o m�dulo especificado.
> in
> Unknown on line 0
Hi Rafael,
A Google search on your error message turned up the following suggestions:
<quote>
I've copyed the file libmysql.dll from the main php folder to
\windows\system32 and the error went away and I could use the mysql
functionality in PHP.
</quote>
Note: remember to restart IIS after doing this.
See the following link for the full (and rather long) thread:
http://www.sitepoint.com/forums/showthread.php?t=203521
Hope this helps.
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.
--- End Message ---
--- Begin Message ---
I tried it and I had no results.
Now, I installed MySQL 4.1.7, reinstalled MYSQLX and put the libmysql.dll
into the PHP install path.
The error chaged to: (...) The specified *procedure* could not be found.
-----Mensagem original-----
De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 3 de novembro de 2004 13:30
Para: 'Rafael Soares'; [EMAIL PROTECTED]
Assunto: RE: [PHP-WIN] Cannot load the mysql library
> I�m sorry, it was a typing error in the e-mail. :]
>
> Here is the error message *as it appears in the page*:
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> './ext/php_mysql.dll' - N�o foi poss�vel encontrar o m�dulo especificado.
> in
> Unknown on line 0
Hi Rafael,
A Google search on your error message turned up the following suggestions:
<quote>
I've copyed the file libmysql.dll from the main php folder to
\windows\system32 and the error went away and I could use the mysql
functionality in PHP.
</quote>
Note: remember to restart IIS after doing this.
See the following link for the full (and rather long) thread:
http://www.sitepoint.com/forums/showthread.php?t=203521
Hope this helps.
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I am trying to do the following
header ("Location: wlserver/index.php?userKey=$userKey&show=$userKey");
but I keep getting
Warning: Cannot modify header information - headers already sent by ...
The code on the header line above is not executing so I am assuming the
previous headers being sent is causing this command to not execute. Part of
the problem is that I am modifying software written by someone else to fit
my needs. I do not want to make a lot of alterations because I don't want
to pull my hair out when the next release shows up.
Is there a command or someway to get around this problem without hacking out
all of the other header sending code?
I appreciate any help.
Thank you.
Mike
--- End Message ---