Jump to content

<?php phpinfo()?> Stopped working!


koo_04

Recommended Posts

So I had to change some stuff, none of it major. Stuff like the extension_dir and such. BEFORE I did much, I had that code working fine. Then I did some changed... well a lot of changes that I cant remember, now it stopped working. I just get "<?php phpinfo()?>" in text.

I was origanlly trying to make the mysql DB stuff to connect.

Please help!

Link to comment
https://forums.phpfreaks.com/topic/183374-stopped-working/
Share on other sites

I get this in the error (before I restore it)

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0

[sun Nov 29 20:01:23 2009] [notice] Apache/2.2.14 (Win64) PHP/5.2.5 (x64) configured -- resuming normal operations

[sun Nov 29 20:01:23 2009] [notice] Server built: Oct 10 2009 15:18:16

[sun Nov 29 20:01:23 2009] [notice] Parent: Created child process 2000

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0

[sun Nov 29 20:01:24 2009] [notice] Child 2000: Child process is running

[sun Nov 29 20:01:24 2009] [notice] Child 2000: Acquired the start mutex.

[sun Nov 29 20:01:24 2009] [notice] Child 2000: Starting 64 worker threads.

[sun Nov 29 20:01:24 2009] [notice] Child 2000: Starting thread to listen on port 80.

 

Link to comment
https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967943
Share on other sites

The problem was probably missing a library file for example the libmysql.dll file which is required by php_mysql.dll, your need to update your environment path or copy lib* from php to apache/bin.

 

Note to Win32 Users: In order to enable this module on a Windows

environment, you must copy several files from the DLL folder of the

PHP/Win32 binary package to the SYSTEM folder of your windows machine. (Ex:

C:\WINNT\SYSTEM32, or C:\WINDOWS\SYSTEM). For PHP <= 4.2.0 copy libsasl.dll,

for PHP >= 4.3.0 copy libeay32.dll and ssleay32.dll to your SYSTEM folder.

Link to comment
https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-968025
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.