Jump to content

Pop-ups On Server Run, Please Help...


Recommended Posts

Before I get down to my queries I must notify that I have already installed Apache Server 2.2, PHP 5.3.0, and MySQL 5.1. I've also configured the 'httpd.conf' and 'php.ini' files.

 

I have some questions regarding the 'php.ini' file. At first, I put the PHP.INI file in the WINDOWS directory. The server was running fine, but, I couldn't connect to MySQL, I kept receiving errors like 'undefined function, etc'. According to the instruction that I read, If I'm using Apache Server v2 or later I don't need to put the PHP.INI file in the WINDOWS directory. When I transferred the PHP.INI file from the WINDOWS dir to my PHP5 folder (C:\PHP5) I was able to connect and view queries. I think everything was running fine except that ERROR DIALOGS started to keep popping out.

 

The dialogs were all 'httpd.exe - Unable To Locate Component: This application has failed to start because <DLL> was not found. Re-installing...so on'. The dll's were, LIBEAY32.dll; php_mbstring.dll; icuuc36.dll; SSLEAY32.dll; OCI.dll; LIBPQ.dll; libcs.dll, which all of them are located inside my PHP5 directory together with the PHP.INI.

 

Everything is working well except these dialogs keep popping out every time the Apache server starts.

 

How do I fix this? Thank You.

Link to comment
Share on other sites

You should keep all files that come with PHP in C:/PHP5. Now add PHP to PATH Environment Variable.

 

Moveing files outside of PHP installation folder can cause more issues.

 

For extensions to load correctly you need to configure the extension_dir directive to point to the ext folder, eg

extension_dir = "C:/PHP5/ext"

 

Save php.ini and restart Apache for changes to take affect.

Link to comment
Share on other sites

You should keep all files that come with PHP in C:/PHP5. Now add PHP to PATH Environment Variable.

 

Moveing files outside of PHP installation folder can cause more issues.

 

For extensions to load correctly you need to configure the extension_dir directive to point to the ext folder, eg

extension_dir = "C:/PHP5/ext"

 

Save php.ini and restart Apache for changes to take affect.

 

Thank you, I'll take note of that and see if it's the cause. Although, the dll's that's been mentioned were not extensions. In the "httpd.conf" file, I put the line: PhpIniDir "C:/PHP5". This is correct right? I can't think of any reason why those pop ups show. I mean, the dll's that were mentioned are all inside "C:/PHP5".

 

And the fact that the server runs ok, I can communicate with MySQL with PHP is what confuses me more.

Link to comment
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.