Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

command line errors
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Programming
View previous topic :: View next topic  
Author Message
markme



Joined: 07 Jun 2006
Posts: 2

Posted: Wed Jun 07, 2006 9:46 am    Post subject: command line errors  

Hi, im rather new to this program and every time i try to load a php file in the apache2triad directory i get these error messages. it loads a command window, flashes through the code at a fast speed and then the command window shuts(this happens after the errors show up and ive clicked ok). do you guys have any suggestions on how to fix or get around this error. here are the error msg box contents.

i have checked out other posts about these sort of errors... they didnt work out for me still got exact same errors.
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\apache2triad\PHP\bin\PHP.exe

R6034

An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.


---------------------------
OK
---------------------------


and the one that comes straight after that is this.
---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'C:\apache2triad\php\extensions\php_curl.dll' - A dynamic link library (DLL) initialization routine failed.


---------------------------
OK
---------------------------


do i need to upgrade.. i have 1.5.4 i think.
Back to top  
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 785
Location: S.E. Kansas

Posted: Wed Jun 07, 2006 10:38 pm    Post subject:  

What version are you using?

Are you writing a php script, and then double-clicking the file? If so you need to access it through your http://localhost/ address, or if it is a command line script then open a command window change to the directory your php file is in and then type the php file command.
Back to top  
markme



Joined: 07 Jun 2006
Posts: 2

Posted: Thu Jun 08, 2006 1:44 am    Post subject:  

im using version 1.5.4 of apache2triad.. um im not writing im just trying to view the file.. i double click onit and it opens a command windows gives me though errors and then flickers through the code the file contains and shuts the command window. i will try the local host thing, i will get back to you if it works or not.
Back to top  
fodde



Joined: 10 Jan 2007
Posts: 2

Posted: Wed Jan 10, 2007 10:26 am    Post subject: double clicking .php file  

The same happens to me. If I access any php file through localhost, no problem. But if I double click a .php extension file, the same 2 errors pops up. The first one says
Quote: Runtime error R6034 ...
and immediately later
Quote: the curl_dll. error.

I've done (by chance really) what jkliza suggested on page to of topic http://apache2triad.net/forums/viewtopic.php?t=4002 and it worked.

I needed it for a scheduled task for a php application.

Thanks
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Programming
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group