Re: [PHP] Problem Loading Extension
On Friday 11 August 2006 18:15, Michael B Allen wrote: > On Fri, 11 Aug 2006 17:50:12 -0500 > > Ray Hauge <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > > > I successfully compiled PHP 4.4.3 and PHP 5.1.4 today. I'm having a > > problem with loading the PDFLib extension (pdflib_php.so). It works fine > > in PHP 4, but PHP5 is not loading it. I do know that I have the file in > > the correct location (same as the mysql.so file), and when I take out > > mysql.so, then mysql functions are not available. I am not sure why this > > module is not loading. > > > > I checked the error_log, and I didn't get any error messages at all. > > STFW didn't give me a whole lot of information. Anyone have any ideas of > > where to look to find out why it's not loading? > > Was the module compiled for 5? Check the apache error.log. If the .so > can't resolve a symbol or similar, usually that type of error appears in > the apache error log. Also, of course the .so needs to be in the right > location and the php.ini needs the appropriate extension directive. > > Mike Thanks for the info. I found out I had to download the latest version of PDFlib to support PHP 5.1.X. It's working fine now. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem Loading Extension
On Fri, 11 Aug 2006 17:50:12 -0500 Ray Hauge <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I successfully compiled PHP 4.4.3 and PHP 5.1.4 today. I'm having a problem > with loading the PDFLib extension (pdflib_php.so). It works fine in PHP 4, > but PHP5 is not loading it. I do know that I have the file in the correct > location (same as the mysql.so file), and when I take out mysql.so, then > mysql functions are not available. I am not sure why this module is not > loading. > > I checked the error_log, and I didn't get any error messages at all. STFW > didn't give me a whole lot of information. Anyone have any ideas of where to > look to find out why it's not loading? Was the module compiled for 5? Check the apache error.log. If the .so can't resolve a symbol or similar, usually that type of error appears in the apache error log. Also, of course the .so needs to be in the right location and the php.ini needs the appropriate extension directive. Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problem Loading Extension
Hello everyone, I successfully compiled PHP 4.4.3 and PHP 5.1.4 today. I'm having a problem with loading the PDFLib extension (pdflib_php.so). It works fine in PHP 4, but PHP5 is not loading it. I do know that I have the file in the correct location (same as the mysql.so file), and when I take out mysql.so, then mysql functions are not available. I am not sure why this module is not loading. I checked the error_log, and I didn't get any error messages at all. STFW didn't give me a whole lot of information. Anyone have any ideas of where to look to find out why it's not loading? Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem loading extension
there should be something like: extension_dir = "C:\PHP\extensions" in your php.ini Simon Taylor wrote: > Hi All, > I have just been trying to add some more extensions to my site, I have > copied the dll's for the extensions I wish to add to my extensions dir and > uncommented them in my php.ini. > This worked fine for all of them which include ctype, gd etc. , except for > the xslt extension which will just not work for me... I am getting this > message. > PHP Warning: Unable to load dynamic library 'C:\PHP\dll\./php_xslt.dll' - > The specified module could not be found. in Unknown on line 0 > The file is most definitely there and if I move one of the other extension > files I get the same message for them, not sure what I am doing wrong. > Any ideas appreciated. > Thanks > _ > Simon Taylor > AfriTol (Pty) Ltd. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem loading extension
don't know much about windows, but isn't the problem in the "./" part? Can you remove it? Simon Taylor wrote: Hi All, I have just been trying to add some more extensions to my site, I have copied the dll's for the extensions I wish to add to my extensions dir and uncommented them in my php.ini. This worked fine for all of them which include ctype, gd etc. , except for the xslt extension which will just not work for me... I am getting this message. PHP Warning: Unable to load dynamic library 'C:\PHP\dll\./php_xslt.dll' - The specified module could not be found. in Unknown on line 0 The file is most definitely there and if I move one of the other extension files I get the same message for them, not sure what I am doing wrong. Any ideas appreciated. Thanks _ Simon Taylor AfriTol (Pty) Ltd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem loading extension
Hi All, I have just been trying to add some more extensions to my site, I have copied the dll's for the extensions I wish to add to my extensions dir and uncommented them in my php.ini. This worked fine for all of them which include ctype, gd etc. , except for the xslt extension which will just not work for me... I am getting this message. PHP Warning: Unable to load dynamic library 'C:\PHP\dll\./php_xslt.dll' - The specified module could not be found. in Unknown on line 0 The file is most definitely there and if I move one of the other extension files I get the same message for them, not sure what I am doing wrong. Any ideas appreciated. Thanks _ Simon Taylor AfriTol (Pty) Ltd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem loading extension
How about take a look at notes (PHP Manual)? http://www.php.net/manual/en/install-windows.php You might need to change \ to /, or / to \, or get rid of drive letter in extension_dir, as I needed to load extension for PHP for Windows. Regards, -- Yasuo Ohgaki "Christian Dechery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I posted a message a while ago about having trouble loading php_mssql.dll > extension. > It gave me that error: 'can't find ...'. So I was stuppid enough to realize > I didn't have MS SQL 7 installed here. > > Somone here told me to download a proggie called Dependency Walker, that > lists all the dependencies of a DLL. > So I did it, and it really was missing a DLL (MS SQL). > > So I installed MS SQL 7 here, and now Dependency Walker doesn't give me any > error, but PHP still gives me the message and still does not load > php_mssql.dll. Why? MSSQL is started, working perfectly, PHP is working fine... > > what may be wrong? > > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer > > > -- > 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 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] problem loading extension
ahh, ok, misread your post...don't know what it could be..don't have experience with php and dlls... best of luck! -jack Christian Dechery wrote: > > of course... > it's while loading apache that the error message appears... > > >restart apache/php? > > > >-jack > > > >Christian Dechery wrote: > > > > > > I posted a message a while ago about having trouble loading php_mssql.dll > > > extension. > > > It gave me that error: 'can't find ...'. So I was stuppid enough to realize > > > I didn't have MS SQL 7 installed here. > > > > > > Somone here told me to download a proggie called Dependency Walker, that > > > lists all the dependencies of a DLL. > > > So I did it, and it really was missing a DLL (MS SQL). > > > > > > So I installed MS SQL 7 here, and now Dependency Walker doesn't give me any > > > error, but PHP still gives me the message and still does not load > > > php_mssql.dll. Why? MSSQL is started, working perfectly, PHP is working > > fine... > > > > > > what may be wrong? > > > > > > . Christian Dechery (lemming) > > > . http://www.tanamesa.com.br > > > . Gaita-L Owner / Web Developer > > > > > > -- > > > 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] > > > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer -- 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] problem loading extension
of course... it's while loading apache that the error message appears... >restart apache/php? > >-jack > >Christian Dechery wrote: > > > > I posted a message a while ago about having trouble loading php_mssql.dll > > extension. > > It gave me that error: 'can't find ...'. So I was stuppid enough to realize > > I didn't have MS SQL 7 installed here. > > > > Somone here told me to download a proggie called Dependency Walker, that > > lists all the dependencies of a DLL. > > So I did it, and it really was missing a DLL (MS SQL). > > > > So I installed MS SQL 7 here, and now Dependency Walker doesn't give me any > > error, but PHP still gives me the message and still does not load > > php_mssql.dll. Why? MSSQL is started, working perfectly, PHP is working > fine... > > > > what may be wrong? > > > > . Christian Dechery (lemming) > > . http://www.tanamesa.com.br > > . Gaita-L Owner / Web Developer > > > > -- > > 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] . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- 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] problem loading extension
restart apache/php? -jack Christian Dechery wrote: > > I posted a message a while ago about having trouble loading php_mssql.dll > extension. > It gave me that error: 'can't find ...'. So I was stuppid enough to realize > I didn't have MS SQL 7 installed here. > > Somone here told me to download a proggie called Dependency Walker, that > lists all the dependencies of a DLL. > So I did it, and it really was missing a DLL (MS SQL). > > So I installed MS SQL 7 here, and now Dependency Walker doesn't give me any > error, but PHP still gives me the message and still does not load > php_mssql.dll. Why? MSSQL is started, working perfectly, PHP is working fine... > > what may be wrong? > > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer > > -- > 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 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] problem loading extension
I posted a message a while ago about having trouble loading php_mssql.dll extension. It gave me that error: 'can't find ...'. So I was stuppid enough to realize I didn't have MS SQL 7 installed here. Somone here told me to download a proggie called Dependency Walker, that lists all the dependencies of a DLL. So I did it, and it really was missing a DLL (MS SQL). So I installed MS SQL 7 here, and now Dependency Walker doesn't give me any error, but PHP still gives me the message and still does not load php_mssql.dll. Why? MSSQL is started, working perfectly, PHP is working fine... what may be wrong? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- 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]