Jump to content

<?php phpinfo()?> Stopped working!


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.