Stand Alone Win98?
how would i get php running with mysql on a windows 98 machine with out a server so that i could test my scripts after i create them.?
View Complete Forum Thread with Replies
Related Forum Messages:
Stand Alone PHP
I want to use PHP as a stand alone scripting language. By that I mean without a web server present and without any HTML in the code. I have done this in a few tests on a Win 2000 platform and, with just PHP.exe and a DLL and the ADOdb stuff in a lone directory, I have successfully run some scripts to talk to a database. All fine and good. But the real goal is to make this into a tiny runtime environment that I can deliver to any machine ... Linux or Windows ... and run some performance tools on the local database engines ... all without any installations on those host machines (i.e. just copy the files ... run the analysis scripts and copy the results for post analysis . without changing the host system). Is there a discussion anywhere about: Keeping the runtime size to a minimum? Cross platform got-ya's ? (I read a couple of messages about this, just now in this group) If this is a topic that has been covered to death .. then I apologize and will continue my search of back news articles. However, if anyone else is interested in this or would care to shed some light on these issues for me, please contact me either here or directly.
View Replies !
What Does %something Stand For?
There is this line in a code I have to modify in order to be able to use: %response = $lperl->curl_process($myorder); And I can't find anywhere what does %response stand for nor what the % operator is used for in this line... It is clear that I'm not an OOP PHP programmer so I can't even begin to understand this line... Anyways it gives me a syntax error and I can't use it like this... I searched the PHP manual for % operator all I get is nothing since it is is somekind of wildcard sign and same situation on these forums... All I know is that % is used as modulo operator but that's clearly not the case here..
View Replies !
Stand Alone PHP Parser
I'm wondering if someone could give some direction on a problem I have or share their experiences. I'm wanting to create a little PHP application that will run on a local machine and use ODBC to connect to a Access database on that machine. A series of forms will interact with the database but if I understand correctly, I need some way to parse the PHP code. Is there a stand alone parser that could be used in place of a HTTP server?
View Replies !
PHP GTK Vs Every Other Stand-alone Language
It seems to me PHP-GTK has all those nifty PHP-features packed inside. I must say I am kindof a PHP-freak because te syntax and variant-types I like so much I really want to keep programming in PHP and PHP-GTK more and more. Does somebody have a different view on this? I am progamming this on a windows-machine and haven't seen any other language perform better after slamming programs together.
View Replies !
!= Code What Does It Stand For?
I googled around but couldnt find the meaning for the following code: if ($pass != $pass1) Im not sure if you'd need to see the rest of the code to explain this to me. If so just say so and I can post the entire script I found this on.
View Replies !
Stand Alone Script
Is it possible to have a script run on a client pc that does not have PHP or web server installed? The rationale here is that I am trying to script a page that will manipulate images for sizing and then ftp them to my host, and I want to keep the look and feel of the whole application. I have worked with PHP and Javascript so don’t have the skills to create this in any other languages. I have also searched to see if Javascipt would do this but no luck so far.
View Replies !
Compiling PHP To Stand Alone Executable In 64bit?
I know that there are easy ways to compile PHP into a stand alone executable in 32bit.. but does anybody know of a program that works for doing this in XP 64bit with 64bit PHP so that it will generate a 64bit executable? P.S. Yes I have searched but haven't been able to find any for 64bit it seems that most people who make software hate us 64bit users.
View Replies !
Win98 And PHP
I have windows 98 and I would like to run PHP, I have PWS to run ASP but I would like to work towards javascript. I would work with ASP and VBScript but the problem is that I only have VB2005 EX ED. I got no books for VB at my home, but I have books on C++, Java, C#, Javascript, and much more.
View Replies !
Apache 1.3.14, PHP 4.0, MYSQL And Win98
I have installed and working Apache and php 4.0. I would like to get mysql working too. I ran the phpinfo file using PHP 4.0 and I did not get the MYSQL extensions in the resulting table. I subsequently - after changing my http.conf file - ran the phpinfo file using PHP 3.0.16 and got the MYSQL extension showing up in the table. Why isn't the mysql extensions showing up under PHP 4.0?
View Replies !
PHP4+Win98 And Sessions
I've tried PHP4build4, RC1, RC2 and 4.0.0 with Win98 but sessions doesn't work: I've got 2 pages: first_page.php3 <? session_start(); $myvar="test"; session_register("myvar");?> second_page.php3 <? session_start(); echo $myvar; ?> I've launched first_page.php3, then I've launched second_page.php3: the browser doesn't display anything (it should display the world "test").
View Replies !
PHP4 Installation Win98 + PWS
I can't get to work php4 on my windows machine,l i have tryed all the things that came in the documentation and it doesn't work.The error that I recieve trying to run a php is HTTP 500 Internal Server Error.
View Replies !
File Permissions In Win98
I just wanted to know if there was any way I could change my file permissions so I can use the fopen function in windows 98 using Apache and PHP 4.04???? I know how to do it for Linux but I need it for Win 98.
View Replies !
Win98 + Apache 1.3.up + PHP 4.3.up Something Wrong
I been first times setup. So Who have experience the Win98 + Apache + php (not run PWS or IIS) I begin download and installed the Apache. I test the run is working on browser (http://localhost) show the apache page. But Apache Console Running under the DOS Window say :- ===================================== [Thu Nov 20 15:13:49 2003] [warn] (2)No such file or directory: exec() may not be safe Apache/1.3.29 (Win32) running... ===================================== I expect that it. So, I shall the php installer from download. I try changed the httpd.conf under the Apache directory. Restart Apaches Console. I testing the (http://localhost/test.php), show error page say "HTTP - Error 400 Bad Request" also "HTTP - Error 404 Not found" I have tried times.... But unknown.... Apaches Directory - c:apacheapaches*.* PHP Directory - c:apacheapachesphpwin32*.* httd.conf -: (was add the line) ScriptAlias /php/ "C:/Apache/Apache/phpwin32/" AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml Action application/x-httpd-php "/php.exe" I didn't change php.ini yet I copy and paste the "php4ts.dll" under to C:windowsystem from PHP What I have done that above ?
View Replies !
PHP5 With MySQL 4.1 On Apache 2 On Win98
I am in the process of learning php. I am particularly interested in its uses with MySQL. I have Apache 2 and PHP5 both installed and working fine. I pasted a MySQLi example for opening and connecting to a MySQL DB into "hello.php" <?php $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } printf("Host information: %s ", $mysqli->host_info); /* close connection */ $mysqli->close(); ?> For some reason when I get: Fatal error: Class 'mysqli' not found in D:Apache groupApache2htdocshello.php on line 7 I installed PHP in "d:php" and added it to my path in my autoexec.bat. in php.ini: .... extension_dir = "d:phpext" .... extension=php_mysqli.dll I read all the posts at the bottom of the pages on PHP.net website where someone says "I had a problem and I got...yada...yada and did everything each of those posts said you had to do and it still won't work. The only thing left is how PHP needs compiled with a "--with" statement or something like that but I'm using the windows binary so that shouldn't be a problem... Is there some other problem it could be besides a problem with finding a dll or ini?
View Replies !
Start Up / Shutdown Mysqld In Win98
I can start the mysqld fine by running the following command: C:mysqlbinmysqld --standalone and I can shut it down fine with the following command: c:mysqlbinmysqladmin shutdown But does anybody know how to set this up in win98 so that it will automatically startup mysqld on startup, and automatically shut it down on shutdown/restart?
View Replies !
Win98 Apache And Php Install Not Wokring.
I have installed the latest Apache and PHP binaries (the PHP CGI executable release - not the ISAPI). I then configured the httpd.conf sciprt using the install.txt file from the PHP install and 2 reference books as guides. This got me to the point where I BELIEVE the PHP interpretor is kicking in for .php scripts. But when I try and browse the following page : <? php_info() ?> I get the following error : Fatal error: Call to undefined function: php_info() in e:/apache/htdocs/phptest.php on line 1 Code:
View Replies !
Cannot Load Imap Extension In Win98
I removed the ; before "extension=php_imap.dll" in php.ini, and when I start Apache 1.3 I get the following error message: Unknown():Unable to load dynamic library 'c:phpextensionsphp_imap.dll". Uno de los dispositivos vinculados al sistema no funciona (Translation: one of the devices attached to the system doesn't work). I already checked the extension_dir directive, and copied php_imap.dll to c:windows just in case. I am using Windows98 SE with php 4.3.3 as module in Apache 1.3
View Replies !
Win98, Apache & Php4.3 Installation
I tried to install php as apache module. Previously it has been cgi. WIn 98 is not supported but cgi worked fine, anyway. I tried to everything according to instructions in php.net, but still it didn't work. - I put php4ts.dll to windows/system32 directory. - I configured http.conf: - I used the path where I had put php download (PHP 4.3.3 zip package [6,180Kb]). - I commented these three lines that were for the CGI-install: # ScriptAlias /php/ "c:/php/" # AddType application/x-httpd-php .php # Action application/x-httpd-php "/php/php.exe" But Apache didn't start. It died because of this line: LoadModule php4_module "c:/HERE_WAS_MYPATH/sapi/php4apache2.dll" http://fi2.php.net/manual/en/install.apache2.php If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP and Apache 2.0 as Module ; For PHP 4 do something like this: LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php ; For PHP 5 do something like this: LoadModule php5_module "c:/php/sapi/php5apache2.dll" AddType application/x-httpd-php .php Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x. Warning Don't mix up your installation with dll files from different PHP versions . You have the only choice to use the dll's and extensions that ship with your downloaded PHP version.
View Replies !
Installation Of Php/apache/mysql On Win98
I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me in the right directions about which versions of apache, mySql and PHp - or if there is a package suitable for Win98 that would be great.
View Replies !
|