| | |
missing php folder
Thread Solved |
•
•
Join Date: Sep 2006
Posts: 37
Reputation:
Solved Threads: 1
Hello all,
A few days ago I tried to use a mail script and recieved an error:
"Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....."
Which was wierd because I had set the smtp server to my isp's mailserver.
When I changed the smtp_port to 30, it kept saying 25 in the errormessage.
Later I had installed the mySQL database and tried to connect with phpMyAdmin, but it greeted me with the following error:
"Cannot load mysql extension. Please check your PHP configuration."
Which was again wierd because php had the extention loaded and the db was running fine.
Then i loaded up phpinfo to look at the config path for php, and this was set to f:\windows.
This was just impossible, I have both apache & php located on a seperate drive wich is L:\
And thier location is appended to windows' path. In httpd.conf, the PHPIniDir directive is thus set as L:\php5.
Yesterday I have removed the entire php5 folder, when i restarted apache it complained that it could not load the php extention, which was presumable. But When I copied php5apache2.dll and php5ts.dll to f:\windows, apache was able to start again and php seemed to work just like before.
I have performed several desktop searches on php.ini, with the option to look for hidden files & systemfolders. It turned up nothing, except for the ini files in the php archive I have on my pc (which is also located on a different drive).
I hope that someone can help me with this problem, because i am clueless.
A few days ago I tried to use a mail script and recieved an error:
"Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....."
Which was wierd because I had set the smtp server to my isp's mailserver.
When I changed the smtp_port to 30, it kept saying 25 in the errormessage.
Later I had installed the mySQL database and tried to connect with phpMyAdmin, but it greeted me with the following error:
"Cannot load mysql extension. Please check your PHP configuration."
Which was again wierd because php had the extention loaded and the db was running fine.
Then i loaded up phpinfo to look at the config path for php, and this was set to f:\windows.
This was just impossible, I have both apache & php located on a seperate drive wich is L:\
And thier location is appended to windows' path. In httpd.conf, the PHPIniDir directive is thus set as L:\php5.
Yesterday I have removed the entire php5 folder, when i restarted apache it complained that it could not load the php extention, which was presumable. But When I copied php5apache2.dll and php5ts.dll to f:\windows, apache was able to start again and php seemed to work just like before.
I have performed several desktop searches on php.ini, with the option to look for hidden files & systemfolders. It turned up nothing, except for the ini files in the php archive I have on my pc (which is also located on a different drive).
I hope that someone can help me with this problem, because i am clueless.
Is this for a local test system or are you deploying this to real world?
JRSofty Programming | .NET Dreaming | GalahTech
If your question is solved then mark the thread solved. If someone gives you good advice then give them some rep.
If your question is solved then mark the thread solved. If someone gives you good advice then give them some rep.
•
•
Join Date: Sep 2006
Posts: 37
Reputation:
Solved Threads: 1
I run apache only as a local webserver, shut off from the outer world. And also use it in conjunction with php as a testing environment, mainly for educational purpouses.
It is only recently that I reïnstalled windows, and only had to make some changes in the win path since the apache & php folders were still in place on a seperate drive.
It is only recently that I reïnstalled windows, and only had to make some changes in the win path since the apache & php folders were still in place on a seperate drive.
Last edited by ¤| battousai |¤; Mar 18th, 2008 at 3:55 pm.
![]() |
Similar Threads
- Folder Option missing! (Windows NT / 2000 / XP)
- System32/Config/ System missing on XP PRO and Home dual boot system (Windows NT / 2000 / XP)
- error C2447: '{' : missing function header (old-style formal list?) (C++)
- Missing Folder Options problem but the regedit values is normal (Viruses, Spyware and other Nasties)
- missing rundll file (Viruses, Spyware and other Nasties)
- Missing bridge.dll error and automatic shutdown (Viruses, Spyware and other Nasties)
- important file ccl30.dll missing????? (Viruses, Spyware and other Nasties)
- Desktop folder shortcuts quit, can't double-click & launch media files (Viruses, Spyware and other Nasties)
- Missing Shortcuts on Startup (With Hijack Log) (Viruses, Spyware and other Nasties)
- pegged CPU, possible peper? (Web Browsers)
Other Threads in the PHP Forum
- Previous Thread: MySQL Connection Class not working
- Next Thread: Reporting with php
Views: 765 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache archive array arrays binary box buttons cakephp cart check checkbox class classes cms code database date delete development directory display download dropdown dropdownlist drupal dynamic echo email error file files form forms functions header hosting href htaccess html image include insert ip java javascript joomla jquery limit link login loop mail menu mlm mod_rewrite multiple mysql order parse password paypal php post problem query radio redirect regex remote rewrite script search select server session sort source sql storage string structure syntax system table tutorial update updates upload url user validation validator variable video web website wordpress xml





