php-windows Digest 14 Apr 2005 04:34:19 -0000 Issue 2632

Topics (messages 25835 through 25841):

php's performance on an inclusion inside an inclusion...
        25835 by: ���������� �����

Re: Optimize php code
        25836 by: Gerdus van Zyl

Unable to load dynamic library 'C:\PHP\php_mssql.dll'
        25837 by: Ross
        25838 by: Ross
        25839 by: Huebel, Jens
        25840 by: Flint Doungchak

Re: PEAR Installation path
        25841 by: Leo G. Divinagracia III

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 ---
HI 2 All.

 

This one got be me all worked out and well on my way to the loony bin!

 

The following code worked out fine on a WinXP + Apache 1.3 + PHP ver 4.3.11
box, up until I changed my php.ini setting [register_globals] from Off  to
ON and back to Off with the necessary Apache restarts of course. After the
second restart it just stopped working ..  ;(

 

<?

            include ("common.php");

            include ("eMS/messaging_class.php");

            include ("eDB/DB_class.php");

            include ("eLG/logger_class.php");

 

            $CM = new messaging;

            $LG = new Logger;

            $DB = new eDB;

            

            $DB->DBconnect($host,$user,$pass,$db_name);

            $sock = $DB;

?>

 

This file named sock.php is included in almost every page in my project.
After the second restart, php just ignores the include statements, therefore
I'm short the common.php and rest classes;

 

Case here being php's performance on an inclusion inside an inclusion
situation (I think).

 

Any heads up ?

 

Thanks in advance.

 


--- End Message ---
--- Begin Message ---
http://phplens.com/lens/php-book/optimizing-debugging-php.php

I learnt most of what I know of PHP tuning from that, plus read this regularly: http://phplens.com/phpeverywhere/

Try using xDebug or some such tool for profiling.

Most of my big speed improvements have however come from intelligent caching.

GvZ

Martin Hochreiter wrote:
Hi there!

I'm not the experienced php user, but I've been using
php for a while and I've already written some bigger
applications with it.

These bigger applications are the 'problem', I know
how to optimize database access but I have no idea
how to optimize php code ... what makes php slow,
what constructions, commands whatever I have to
avoid.

Can someone please give me a hint?

lg
martin

--- End Message ---
--- Begin Message ---
I get the follwing message whrn trying to install tyhe mysql modules

PHP Warning: Unknown(): Unable to load dynamic library 
'C:\PHP\php_mssql.dll' - The specified module could not be found. in Unknown 
on line 0 PHP Warning:


The path is correct. What could be wrong? 

--- End Message ---
--- Begin Message ---
I get the follwing message whrn trying to install tyhe mysql modules

PHP Warning: Unknown(): Unable to load dynamic library
'C:\PHP\php_mssql.dll' - The specified module could not be found. in Unknown
on line 0 PHP Warning:


The path is correct. What could be wrong?

--- End Message ---
--- Begin Message ---
Php_mssql.dll (php mssql client lib) probably couldnt load the required
ntwdblib.DLL (this is the ms client lib for mssql)(you need both libs...
php's one and ms' one). Check if this file is in your php path. Your php
path also must be in the windows %path% environment variable... 

But note, the ntwdblib.DLL equipped with php 5 is for mssql 7.0! if you
wanna use it with mssql 2000 you have to copy the ntwdblib.DLL from your
\x86\system path of your mssql 2000 cd to your php path...

Hmmm or do you wanna use mysql?

Sry for my English =)

-----Urspr�ngliche Nachricht-----
Von: Ross [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 13. April 2005 15:52
An: [email protected]
Betreff: [PHP-WIN] Unable to load dynamic library 'C:\PHP\php_mssql.dll'

I get the follwing message whrn trying to install tyhe mysql modules

PHP Warning: Unknown(): Unable to load dynamic library
'C:\PHP\php_mssql.dll' - The specified module could not be found. in Unknown
on line 0 PHP Warning:


The path is correct. What could be wrong?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Ross,

Have you installed the MS SQL libraries. You need to install a client
install of the Microsoft SQL libraries on the machine that PHP is
installed. Generally, you can accommplish this by installing Enterprise
Manager on that machine or you can install the libraries manually.

-Flint
 

-----Original Message-----
From: Ross [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 6:52 AM
To: [email protected]
Subject: [PHP-WIN] Unable to load dynamic library 'C:\PHP\php_mssql.dll'

I get the follwing message whrn trying to install tyhe mysql modules

PHP Warning: Unknown(): Unable to load dynamic library
'C:\PHP\php_mssql.dll' - The specified module could not be found. in
Unknown
on line 0 PHP Warning:


The path is correct. What could be wrong?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
all of my pear installs have been in the c:\php tree.

so it's like c:\php\pear.

i just leave it at that and all of the pear commands work like a charm.

go to the pear site and download the "go-pear.bat" to download and install it at the default php location...

Patrick Roane wrote:

Hello,

I am trying to install PEAR on WinXP and I only get so
far. In the installation notes, it says:

To use PEAR without any problems you need to add your
PEAR Installation path (c:\wamp\www\bonds\libs/PEAR)
to your include_path.

Using a .htaccess file or directly edit httpd.conf
would be working solutions
for Apache running servers, too.

Do I need to go into my php.ini-recommended, or just
the php.ini?

First, I opened my php.ini-recommended and added the
following line after the ones that were already
commented out, but I don't think this worked.

;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes" include_path = ".;c:\wamp\www\bonds\libs/PEAR"


any help on this would be great!

P

Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.


-- Leo G. Divinagracia III [EMAIL PROTECTED]

zzzzz
--- End Message ---

Reply via email to