koo_04 Posted November 30, 2009 Share Posted November 30, 2009 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! Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/ Share on other sites More sharing options...
MadTechie Posted November 30, 2009 Share Posted November 30, 2009 check the apache httpd.conf file check you have LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" and AddType application/x-httpd-php .php Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967927 Share on other sites More sharing options...
koo_04 Posted November 30, 2009 Author Share Posted November 30, 2009 I do have those set as well as # configure the path to php.ini PHPIniDir "C:/php" Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967934 Share on other sites More sharing options...
MadTechie Posted November 30, 2009 Share Posted November 30, 2009 1. Restart apache, 2. Check apache logs, 3. restore php.ini file Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967940 Share on other sites More sharing options...
koo_04 Posted November 30, 2009 Author Share Posted November 30, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967943 Share on other sites More sharing options...
koo_04 Posted November 30, 2009 Author Share Posted November 30, 2009 I found the problem... Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967951 Share on other sites More sharing options...
blueman378 Posted November 30, 2009 Share Posted November 30, 2009 care to share the solution? thats what forums are about, please don't disappear after you have the solution without sharing it. Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-967993 Share on other sites More sharing options...
MadTechie Posted November 30, 2009 Share Posted November 30, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/183374-stopped-working/#findComment-968025 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.