Jump to content

savaries

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

savaries's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. yep i found it and i think i might have finally found my problem. For some reason i cant get php 5.4.2 to recognize my Mysql database installed. it only have the MsSql one for our Warehouse site. If it would help at all i could post some info shots from the server, but so far if i run this script <?php $mysql = function_exists('mysql_connect') ? "mysql is here2" : "mysql NOT here2"; $mysqli = (function_exists('mysqli_init') || extension_loaded('mysqli')) ? "mysqli is here" : "mysqli NOT here"; $pgsql = function_exists('pg_connect') ? "pgsql is here" : "pgsql NOT here"; print "$mysql<br />"; print "$mysqli<br />"; print "$pgsql<br />"; return; ?> they all come back as not there.
  2. i figured out what i was doing wrong with two of them but, and i know this is a really noob question, i don't know what file its referring to when it asks for the php interpretor.
  3. This software is said to work on windows and the majority of the page works. how would i make if ( file_exists(\"/usr/bin/X11/mogrify\") ) return \"/usr/bin/X11/mogrify\"; point to d:/Website/usr/local/bin/mogrify they way i tried if ( file_exists(\"D:/Website/usr/local/bin/mogrify\") ) return \"D:/Website/usr/local/bin/mogrify\"; dose not seam to work.
  4. dolphin its a community software but i think my problem may lie in this bit of code. $confFirst['dir_mogrify'] = array( name => "Path to mogrify", ex => "/usr/local/bin/mogrify", desc => "If mogrify binary doesn't exist please install <a href='http://www.imagemagick.org/'>ImageMagick</a>", def => "/usr/local/bin/mogrify", def_exp => " if ( file_exists(\"/usr/X11R6/bin/mogrify\") ) return \"/usr/X11R6/bin/mogrify\"; if ( file_exists(\"/usr/local/bin/mogrify\") ) return \"/usr/local/bin/mogrify\"; if ( file_exists(\"/usr/bin/mogrify\") ) return \"/usr/bin/mogrify\"; if ( file_exists(\"/usr/local/X11R6/bin/mogrify\") ) return \"/usr/local/X11R6/bin/mogrify\"; if ( file_exists(\"/usr/bin/X11/mogrify\") ) return \"/usr/bin/X11/mogrify\"; return '';", check => 'return strlen($arg0) >= 7 ? true : false;' ); i think its actually asking me where these files are but im not sure what the full path its checking is. here is some info that might help you to figure out if i am right or not. my website directory is D:\websites\<sitename> anyway in the site i have the /usr/bin/mogrify file but im not sure if that code is looking there or not like is it just checking d:/usr/bin/mogrify or the d:\websites\<sitename>/usr/bin/mogrify. is there a way i can change that code to check that spacific location maby that would fix it? sorry agian for the strange question im new to php
  5. Im new to php and am having some trouble that i am hoping you will all be able to help me with. I have installed php on a windows 2003 server and set it up correctly(i believe) to run becuse i can make this test page http://www.blogofshadows.net/test.php work. The problem starts there, im trying to install some php software and im getting this strange message at the top of the page. Warning: popen(whereis php,r) [function.popen]: No such file or directory in D:\Websites\Blog Of Shadows\install\index.php(1561) : runtime-created function on line 3 being new to this im totally at a loss on what is needed here. Any help would be greatly appreciated.
×
×
  • 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.